Lines Matching refs:sg_list
1350 if (full_command_packet->command.newcommand.sg_list[0].length < scsi_bufflen(tw_dev->srb[request_id]))
1351 scsi_set_resid(cmd, scsi_bufflen(cmd) - full_command_packet->command.newcommand.sg_list[0].length);
1394 newcommand->sg_list[0].address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache) - 1);
1395 newcommand->sg_list[0].length = cpu_to_le32(length);
1871 command_packet->sg_list[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]);
1872 command_packet->sg_list[0].length = cpu_to_le32(TW_MIN_SGL_LENGTH);
1879 command_packet->sg_list[i].address = TW_CPU_TO_SGL(sg_dma_address(sg));
1880 command_packet->sg_list[i].length = cpu_to_le32(sg_dma_len(sg));
1881 if (command_packet->sg_list[i].address & TW_CPU_TO_SGL(TW_ALIGNMENT_9000_SGL)) {
1892 command_packet->sg_list[i].address = TW_CPU_TO_SGL(sglistarg[i].address);
1893 command_packet->sg_list[i].length = cpu_to_le32(sglistarg[i].length);
1894 if (command_packet->sg_list[i].address & TW_CPU_TO_SGL(TW_ALIGNMENT_9000_SGL)) {