Lines Matching refs:TW_CPU_TO_SGL
343 command_packet->sg_list[i].address = TW_CPU_TO_SGL(sg_dma_address(sg));
344 command_packet->sg_list[i].length = TW_CPU_TO_SGL(sg_dma_len(sg));
351 command_packet->sg_list[i].address = TW_CPU_TO_SGL(sglistarg[i].address);
352 command_packet->sg_list[i].length = TW_CPU_TO_SGL(sglistarg[i].length);
423 command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]);
424 command_packet->byte8_offset.param.sgl[0].length = TW_CPU_TO_SGL(TW_SECTOR_SIZE);
694 newcommand->sg_list[0].address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache) - 1);
695 newcommand->sg_list[0].length = TW_CPU_TO_SGL(length);
706 sgl->address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache) - 1);
707 sgl->length = TW_CPU_TO_SGL(length);
951 command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]);
952 command_packet->byte8_offset.param.sgl[0].length = TW_CPU_TO_SGL(TW_SECTOR_SIZE);