Searched refs:TW_CPU_TO_SGL (Results 1 – 4 of 4) sorted by relevance
340 command_packet->sg_list[i].address = TW_CPU_TO_SGL(sg_dma_address(sg)); in twl_scsiop_execute_scsi()341 command_packet->sg_list[i].length = TW_CPU_TO_SGL(sg_dma_len(sg)); in twl_scsiop_execute_scsi()348 command_packet->sg_list[i].address = TW_CPU_TO_SGL(sglistarg[i].address); in twl_scsiop_execute_scsi()349 command_packet->sg_list[i].length = TW_CPU_TO_SGL(sglistarg[i].length); in twl_scsiop_execute_scsi()420 …command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[requ… in twl_aen_sync_time()421 command_packet->byte8_offset.param.sgl[0].length = TW_CPU_TO_SGL(TW_SECTOR_SIZE); in twl_aen_sync_time()691 newcommand->sg_list[0].address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache) - 1); in twl_load_sgl()692 newcommand->sg_list[0].length = TW_CPU_TO_SGL(length); in twl_load_sgl()703 sgl->address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache) - 1); in twl_load_sgl()704 sgl->length = TW_CPU_TO_SGL(length); in twl_load_sgl()[all …]
489 #define TW_CPU_TO_SGL(x) cpu_to_le64(x) macro492 #define TW_CPU_TO_SGL(x) cpu_to_le32(x) macro
307 sglist[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]); in twa_aen_drain_queue()444 sglist[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]); in twa_aen_read_queue()488 …command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[requ… in twa_aen_sync_time()1078 …command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[requ… in twa_get_param()1393 newcommand->sg_list[0].address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache)); in twa_load_sgl()1408 sgl->address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache)); in twa_load_sgl()1851 command_packet->sg_list[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]); in DEF_SCSI_QCMD()1859 command_packet->sg_list[i].address = TW_CPU_TO_SGL(sg_dma_address(sg)); in DEF_SCSI_QCMD()1861 if (command_packet->sg_list[i].address & TW_CPU_TO_SGL(TW_ALIGNMENT_9000_SGL)) { in DEF_SCSI_QCMD()1874 if (command_packet->sg_list[i].address & TW_CPU_TO_SGL(TW_ALIGNMENT_9000_SGL)) { in DEF_SCSI_QCMD()
219 #define TW_CPU_TO_SGL(x) (sizeof(dma_addr_t) > 4 ? cpu_to_le64(x) : cpu_to_le32(x)) macro