Lines Matching refs:cpu_to_le32
240 *cur_dsd++ = cpu_to_le32(sg_dma_address(sg));
241 *cur_dsd++ = cpu_to_le32(sg_dma_len(sg));
300 *cur_dsd++ = cpu_to_le32(LSD(sle_dma));
301 *cur_dsd++ = cpu_to_le32(MSD(sle_dma));
302 *cur_dsd++ = cpu_to_le32(sg_dma_len(sg));
413 cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd));
676 *cur_dsd++ = cpu_to_le32(LSD(sle_dma));
677 *cur_dsd++ = cpu_to_le32(MSD(sle_dma));
678 *cur_dsd++ = cpu_to_le32(sg_dma_len(sg));
726 pkt->ref_tag = cpu_to_le32((uint32_t)
762 pkt->ref_tag = cpu_to_le32((uint32_t)
834 *cur_dsd++ = cpu_to_le32(LSD(dsd_ptr->dsd_list_dma));
835 *cur_dsd++ = cpu_to_le32(MSD(dsd_ptr->dsd_list_dma));
843 *cur_dsd++ = cpu_to_le32(LSD(sle_dma));
844 *cur_dsd++ = cpu_to_le32(MSD(sle_dma));
845 *cur_dsd++ = cpu_to_le32(sg_dma_len(sg));
915 *cur_dsd++ = cpu_to_le32(LSD(dsd_ptr->dsd_list_dma));
916 *cur_dsd++ = cpu_to_le32(MSD(dsd_ptr->dsd_list_dma));
927 *cur_dsd++ = cpu_to_le32(LSD(sle_dma));
928 *cur_dsd++ = cpu_to_le32(MSD(sle_dma));
929 *cur_dsd++ = cpu_to_le32(sg_dma_len(sg));
1036 cmd_pkt->crc_context_address[0] = cpu_to_le32(LSD(crc_ctx_dma));
1037 cmd_pkt->crc_context_address[1] = cpu_to_le32(MSD(crc_ctx_dma));
1067 cmd_pkt->fcp_cmnd_dseg_address[0] = cpu_to_le32(
1069 cmd_pkt->fcp_cmnd_dseg_address[1] = cpu_to_le32(
1101 crc_ctx_pkt->u.bundling.dif_byte_count = cpu_to_le32(dif_bytes);
1110 crc_ctx_pkt->byte_count = cpu_to_le32(data_bytes);
1113 cmd_pkt->byte_count = cpu_to_le32(total_bytes);
1267 cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd));
1738 tsk->control_flags = cpu_to_le32(flags);
1776 cpu_to_le32(bsg_job->reply_payload.payload_len);
1778 cpu_to_le32(bsg_job->request_payload.payload_len);
1780 els_iocb->tx_address[0] = cpu_to_le32(LSD(sg_dma_address
1782 els_iocb->tx_address[1] = cpu_to_le32(MSD(sg_dma_address
1784 els_iocb->tx_len = cpu_to_le32(sg_dma_len
1787 els_iocb->rx_address[0] = cpu_to_le32(LSD(sg_dma_address
1789 els_iocb->rx_address[1] = cpu_to_le32(MSD(sg_dma_address
1791 els_iocb->rx_len = cpu_to_le32(sg_dma_len
1823 cpu_to_le32(bsg_job->request_payload.payload_len);
1825 cpu_to_le32(bsg_job->reply_payload.payload_len);
1827 ct_iocb->dseg_req_address[0] = cpu_to_le32(LSD(sg_dma_address
1829 ct_iocb->dseg_req_address[1] = cpu_to_le32(MSD(sg_dma_address
1833 ct_iocb->dseg_rsp_address[0] = cpu_to_le32(LSD(sg_dma_address
1835 ct_iocb->dseg_rsp_address[1] = cpu_to_le32(MSD(sg_dma_address
1862 *cur_dsd++ = cpu_to_le32(LSD(sle_dma));
1863 *cur_dsd++ = cpu_to_le32(MSD(sle_dma));
1864 *cur_dsd++ = cpu_to_le32(sg_dma_len(sg));
1900 cpu_to_le32(bsg_job->reply_payload.payload_len);
1902 cpu_to_le32(bsg_job->request_payload.payload_len);
1903 ct_iocb->dseg_0_address[0] = cpu_to_le32(LSD(sg_dma_address
1905 ct_iocb->dseg_0_address[1] = cpu_to_le32(MSD(sg_dma_address
1907 ct_iocb->dseg_0_len = cpu_to_le32(sg_dma_len
1933 *cur_dsd++ = cpu_to_le32(LSD(sle_dma));
1934 *cur_dsd++ = cpu_to_le32(MSD(sle_dma));
1935 *cur_dsd++ = cpu_to_le32(sg_dma_len(sg));