/linux-2.6.39/drivers/scsi/ |
D | scsi_lib_dma.c | 28 nseg = dma_map_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_dma_map() 46 dma_unmap_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_dma_unmap()
|
D | libsrp.c | 198 sg = scsi_sglist(sc); in srp_direct_data() 235 sg = scsi_sglist(sc); in srp_indirect_data()
|
D | NCR53c406a.c | 873 NCR53c406a_dma_write(scsi_sglist(current_SC), in NCR53c406a_intr() 895 NCR53c406a_dma_read(scsi_sglist(current_SC), in NCR53c406a_intr()
|
D | fdomain.c | 1373 char *buf = scsi_sglist(current_SC); in do_fdomain_16x0_intr() 1444 current_SC->SCp.buffer = scsi_sglist(current_SC); in fdomain_16x0_queue_lck()
|
D | tmscsim.c | 463 pSRB->pSegmentList = scsi_sglist(pcmd); in dc390_pci_map() 470 __func__, scsi_sglist(pcmd), nseg, scsi_sg_count(pcmd))); in dc390_pci_map() 491 __func__, scsi_sglist(pcmd), scsi_sg_count(pcmd))); in dc390_pci_unmap() 1147 pSRB->pSegmentList = scsi_sglist(pcmd); in dc390_restore_ptr()
|
D | mac53c94.c | 81 scsi_sg_count(cmd), scsi_bufflen(cmd), scsi_sglist(cmd)); in mac53c94_queue_lck()
|
D | eata.c | 1634 count = pci_map_sg(ha->pdev, scsi_sglist(SCpnt), scsi_sg_count(SCpnt), in map_dma() 1666 pci_unmap_sg(ha->pdev, scsi_sglist(SCpnt), scsi_sg_count(SCpnt), in unmap_dma() 1693 pci_dma_sync_sg_for_cpu(ha->pdev, scsi_sglist(SCpnt), in sync_dma()
|
D | dc395x.c | 1011 cmd->bufflen, scsi_sglist(cmd), scsi_sg_count(cmd), in build_srb() 1023 reqlen, scsi_sglist(cmd), scsi_sg_count(cmd), in build_srb() 2284 base = scsi_kmap_atomic_sg(scsi_sglist(srb->cmd), in data_in_phase0() 2501 base = scsi_kmap_atomic_sg(scsi_sglist(srb->cmd), in data_io_transfer() 3455 pci_dma_sync_sg_for_cpu(acb->dev, scsi_sglist(cmd), in srb_done() 3466 struct scatterlist* sg = scsi_sglist(cmd); in srb_done()
|
/linux-2.6.39/include/scsi/ |
D | scsi_cmnd.h | 159 static inline struct scatterlist *scsi_sglist(struct scsi_cmnd *cmd) in scsi_sglist() function 180 for_each_sg(scsi_sglist(cmd), sg, nseg, __i) 202 return sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_sg_copy_from_buffer() 209 return sg_copy_to_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_sg_copy_to_buffer()
|
/linux-2.6.39/drivers/staging/hv/ |
D | storvsc_drv.c | 357 copy_from_bounce_buffer(scsi_sglist(scmnd), in storvsc_commmand_completion() 603 scsi_sg_count(scmnd), scsi_sglist(scmnd), in storvsc_queuecommand_lck() 681 sgl = (struct scatterlist *)scsi_sglist(scmnd); in storvsc_queuecommand_lck() 728 } else if (scsi_sglist(scmnd)) { in storvsc_queuecommand_lck() 731 virt_to_phys(scsi_sglist(scmnd)) & (PAGE_SIZE-1); in storvsc_queuecommand_lck() 733 virt_to_phys(scsi_sglist(scmnd)) >> PAGE_SHIFT; in storvsc_queuecommand_lck() 751 copy_from_bounce_buffer(scsi_sglist(scmnd), in storvsc_queuecommand_lck()
|
/linux-2.6.39/drivers/scsi/arm/ |
D | scsi.h | 89 SCpnt->SCp.buffer = scsi_sglist(SCpnt); in init_SCp()
|
/linux-2.6.39/drivers/usb/storage/ |
D | protocol.c | 151 sg = scsi_sglist(srb); in usb_stor_access_xfer_buf()
|
D | ene_ub6250.c | 390 result = ene_send_scsi_cmd(us, FDIR_READ, scsi_sglist(srb), 1); in sd_scsi_read() 430 result = ene_send_scsi_cmd(us, FDIR_WRITE, scsi_sglist(srb), 1); in sd_scsi_write()
|
D | shuttle_usbat.c | 1314 scsi_sglist(srb), in usbat_hp8200e_handle_read10() 1608 scsi_sglist(srb), in usbat_hp8200e_transport() 1675 result = usbat_read_block(us, scsi_sglist(srb), len, in usbat_hp8200e_transport()
|
/linux-2.6.39/drivers/staging/keucr/ |
D | msscsi.c | 159 result = ENE_SendScsiCmd(us, FDIR_READ, scsi_sglist(srb), 1); in MS_SCSI_Read() 264 result = ENE_SendScsiCmd(us, FDIR_WRITE, scsi_sglist(srb), 1); in MS_SCSI_Write()
|
D | scsiglue.c | 390 sg = scsi_sglist(srb); in usb_stor_access_xfer_buf()
|
/linux-2.6.39/drivers/staging/rts_pstor/ |
D | rtsx_transport.c | 59 memcpy((unsigned char *) scsi_sglist(srb) + *offset, in rtsx_stor_access_xfer_buf() 62 memcpy(buffer, (unsigned char *) scsi_sglist(srb) + in rtsx_stor_access_xfer_buf() 75 (struct scatterlist *) scsi_sglist(srb) in rtsx_stor_access_xfer_buf()
|
/linux-2.6.39/drivers/usb/image/ |
D | microtek.c | 509 sg = scsi_sglist(context->srb); in mts_do_sg() 548 sg = scsi_sglist(srb); in mts_build_transfer_context()
|
/linux-2.6.39/drivers/firewire/ |
D | sbp2.c | 1311 dma_unmap_sg(card_device, scsi_sglist(orb->cmd), in sbp2_unmap_scatterlist() 1407 struct scatterlist *sg = scsi_sglist(orb->cmd); in sbp2_map_scatterlist() 1458 dma_unmap_sg(device->card->device, scsi_sglist(orb->cmd), in sbp2_map_scatterlist()
|
/linux-2.6.39/drivers/ata/ |
D | libata-scsi.c | 746 qc->sg = scsi_sglist(cmd); in ata_scsi_qc_new() 1791 ata_sg_init(qc, scsi_sglist(cmd), scsi_sg_count(cmd)); in ata_scsi_translate() 1856 sg_copy_to_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in ata_scsi_rbuf_get() 1877 sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in ata_scsi_rbuf_put() 3043 buf = page_address(sg_page(scsi_sglist(scmd))); in ata_scsi_write_same_xlat()
|
/linux-2.6.39/drivers/message/i2o/ |
D | i2o_scsi.c | 667 if (!i2o_dma_map_sg(c, scsi_sglist(SCpnt), in i2o_scsi_queuecommand_lck()
|
/linux-2.6.39/drivers/scsi/libfc/ |
D | fc_fcp.c | 307 if (lport->tt.ddp_setup(lport, xid, scsi_sglist(fsp->cmd), in fc_fcp_ddp_setup() 480 sg = scsi_sglist(sc); in fc_fcp_recv_data() 605 sg = scsi_sglist(sc); in fc_fcp_send_data()
|
/linux-2.6.39/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 558 if (!scsi_sglist(scmnd) || in srp_unmap_data() 567 ib_dma_unmap_sg(ibdev, scsi_sglist(scmnd), scsi_sg_count(scmnd), in srp_unmap_data() 813 if (!scsi_sglist(scmnd) || scmnd->sc_data_direction == DMA_NONE) in srp_map_data() 825 scat = scsi_sglist(scmnd); in srp_map_data()
|
/linux-2.6.39/drivers/infiniband/ulp/iser/ |
D | iser_initiator.c | 290 data_buf->buf = scsi_sglist(sc); in iser_send_command()
|
/linux-2.6.39/drivers/scsi/megaraid/ |
D | megaraid_mbox.c | 1461 scsi_sglist(scb->scp), in mbox_post_cmd() 1592 sgl = scsi_sglist(scp); in DEF_SCSI_QCMD() 2227 scsi_sglist(scb->scp), in megaraid_mbox_sync_scb() 2334 sgl = scsi_sglist(scp); in megaraid_mbox_dpc()
|