Lines Matching refs:header

201 			req->header.result = cpu_to_le32(IOP_RESULT_SUCCESS);  in hptiop_request_callback_mv()
252 req->header.result = IOP_RESULT_SUCCESS; in hptiop_request_callback_mvfrey()
421 writel(0, &req->header.flags); in iop_get_config_itl()
422 writel(IOP_REQUEST_TYPE_GET_CONFIG, &req->header.type); in iop_get_config_itl()
423 writel(sizeof(struct hpt_iop_request_get_config), &req->header.size); in iop_get_config_itl()
424 writel(IOP_RESULT_PENDING, &req->header.result); in iop_get_config_itl()
441 req->header.flags = cpu_to_le32(IOP_REQUEST_FLAG_OUTPUT_CONTEXT); in iop_get_config_mv()
442 req->header.type = cpu_to_le32(IOP_REQUEST_TYPE_GET_CONFIG); in iop_get_config_mv()
443 req->header.size = in iop_get_config_mv()
445 req->header.result = cpu_to_le32(IOP_RESULT_PENDING); in iop_get_config_mv()
446 req->header.context = cpu_to_le32(IOP_REQUEST_TYPE_GET_CONFIG<<5); in iop_get_config_mv()
447 req->header.context_hi32 = 0; in iop_get_config_mv()
463 if (info->header.size != sizeof(struct hpt_iop_request_get_config) || in iop_get_config_mvfrey()
464 info->header.type != IOP_REQUEST_TYPE_GET_CONFIG) in iop_get_config_mvfrey()
498 writel(0, &req->header.flags); in iop_set_config_itl()
499 writel(IOP_REQUEST_TYPE_SET_CONFIG, &req->header.type); in iop_set_config_itl()
500 writel(sizeof(struct hpt_iop_request_set_config), &req->header.size); in iop_set_config_itl()
501 writel(IOP_RESULT_PENDING, &req->header.result); in iop_set_config_itl()
518 req->header.flags = cpu_to_le32(IOP_REQUEST_FLAG_OUTPUT_CONTEXT); in iop_set_config_mv()
519 req->header.type = cpu_to_le32(IOP_REQUEST_TYPE_SET_CONFIG); in iop_set_config_mv()
520 req->header.size = in iop_set_config_mv()
522 req->header.result = cpu_to_le32(IOP_RESULT_PENDING); in iop_set_config_mv()
523 req->header.context = cpu_to_le32(IOP_REQUEST_TYPE_SET_CONFIG<<5); in iop_set_config_mv()
524 req->header.context_hi32 = 0; in iop_set_config_mv()
541 req->header.flags = cpu_to_le32(IOP_REQUEST_FLAG_OUTPUT_CONTEXT); in iop_set_config_mvfrey()
542 req->header.type = cpu_to_le32(IOP_REQUEST_TYPE_SET_CONFIG); in iop_set_config_mvfrey()
543 req->header.size = in iop_set_config_mvfrey()
545 req->header.result = cpu_to_le32(IOP_RESULT_PENDING); in iop_set_config_mvfrey()
546 req->header.context = cpu_to_le32(IOP_REQUEST_TYPE_SET_CONFIG<<5); in iop_set_config_mvfrey()
547 req->header.context_hi32 = 0; in iop_set_config_mvfrey()
731 req, req->header.type, req->header.result, in hptiop_finish_scsi_req()
732 req->header.context, tag); in hptiop_finish_scsi_req()
734 BUG_ON(!req->header.result); in hptiop_finish_scsi_req()
735 BUG_ON(req->header.type != cpu_to_le32(IOP_REQUEST_TYPE_SCSI_COMMAND)); in hptiop_finish_scsi_req()
742 switch (le32_to_cpu(req->header.result)) { in hptiop_finish_scsi_req()
796 req->header.result = cpu_to_le32(IOP_RESULT_SUCCESS); in hptiop_host_request_callback_itl()
1054 req->header.flags = cpu_to_le32(IOP_REQUEST_FLAG_OUTPUT_CONTEXT); in hptiop_queuecommand_lck()
1055 req->header.type = cpu_to_le32(IOP_REQUEST_TYPE_SCSI_COMMAND); in hptiop_queuecommand_lck()
1056 req->header.result = cpu_to_le32(IOP_RESULT_PENDING); in hptiop_queuecommand_lck()
1061 req->header.size = cpu_to_le32( in hptiop_queuecommand_lck()