Lines Matching refs:cpu_to_le32
201 req->header.result = cpu_to_le32(IOP_RESULT_SUCCESS); in hptiop_request_callback_mv()
335 reqhdr->flags |= cpu_to_le32(IOP_REQUEST_FLAG_SYNC_REQUEST); in iop_send_sync_request_mv()
356 reqhdr->flags |= cpu_to_le32(IOP_REQUEST_FLAG_SYNC_REQUEST); in iop_send_sync_request_mvfrey()
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()
444 cpu_to_le32(sizeof(struct hpt_iop_request_get_config)); 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()
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()
521 cpu_to_le32(sizeof(struct hpt_iop_request_set_config)); 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()
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()
544 cpu_to_le32(sizeof(struct hpt_iop_request_set_config)); 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()
735 BUG_ON(req->header.type != cpu_to_le32(IOP_REQUEST_TYPE_SCSI_COMMAND)); in hptiop_finish_scsi_req()
794 req->header.result = cpu_to_le32(IOP_RESULT_SUCCESS); in hptiop_host_request_callback_itl()
875 psg[idx].size = cpu_to_le32(sg_dma_len(sg)); in hptiop_buildsgl()
877 cpu_to_le32(1) : 0; in hptiop_buildsgl()
887 reqhdr->context = cpu_to_le32(IOPMU_QUEUE_ADDR_HOST_BIT | in hptiop_post_req_itl()
915 reqhdr->context = cpu_to_le32(_req->index<<8 | in hptiop_post_req_mv()
939 reqhdr->flags |= cpu_to_le32(IOP_REQUEST_FLAG_OUTPUT_CONTEXT | in hptiop_post_req_mvfrey()
942 reqhdr->context = cpu_to_le32(IOPMU_QUEUE_ADDR_HOST_BIT | in hptiop_post_req_mvfrey()
944 reqhdr->context_hi32 = cpu_to_le32((_req->req_shifted_phy << 5) & in hptiop_post_req_mvfrey()
984 writel(cpu_to_le32(hba->u.mvfrey.inlist_phy & 0xffffffff), in hptiop_reset_comm_mvfrey()
986 writel(cpu_to_le32((hba->u.mvfrey.inlist_phy >> 16) >> 16), in hptiop_reset_comm_mvfrey()
989 writel(cpu_to_le32(hba->u.mvfrey.outlist_phy & 0xffffffff), in hptiop_reset_comm_mvfrey()
991 writel(cpu_to_le32((hba->u.mvfrey.outlist_phy >> 16) >> 16), in hptiop_reset_comm_mvfrey()
994 writel(cpu_to_le32(hba->u.mvfrey.outlist_cptr_phy & 0xffffffff), in hptiop_reset_comm_mvfrey()
996 writel(cpu_to_le32((hba->u.mvfrey.outlist_cptr_phy >> 16) >> 16), in hptiop_reset_comm_mvfrey()
1053 req->header.flags = cpu_to_le32(IOP_REQUEST_FLAG_OUTPUT_CONTEXT); in hptiop_queuecommand_lck()
1054 req->header.type = cpu_to_le32(IOP_REQUEST_TYPE_SCSI_COMMAND); in hptiop_queuecommand_lck()
1055 req->header.result = cpu_to_le32(IOP_RESULT_PENDING); in hptiop_queuecommand_lck()
1056 req->dataxfer_length = cpu_to_le32(scsi_bufflen(scp)); in hptiop_queuecommand_lck()
1060 req->header.size = cpu_to_le32( in hptiop_queuecommand_lck()
1416 set_config.iop_id = cpu_to_le32(host->host_no); in hptiop_probe()