Home
last modified time | relevance | path

Searched refs:scsi_sglist (Results 1 – 25 of 73) sorted by relevance

123

/linux-2.6.39/drivers/scsi/
Dscsi_lib_dma.c28 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()
Dlibsrp.c198 sg = scsi_sglist(sc); in srp_direct_data()
235 sg = scsi_sglist(sc); in srp_indirect_data()
DNCR53c406a.c873 NCR53c406a_dma_write(scsi_sglist(current_SC), in NCR53c406a_intr()
895 NCR53c406a_dma_read(scsi_sglist(current_SC), in NCR53c406a_intr()
Dfdomain.c1373 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()
Dtmscsim.c463 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()
Dmac53c94.c81 scsi_sg_count(cmd), scsi_bufflen(cmd), scsi_sglist(cmd)); in mac53c94_queue_lck()
Deata.c1634 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()
Ddc395x.c1011 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/
Dscsi_cmnd.h159 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/
Dstorvsc_drv.c357 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/
Dscsi.h89 SCpnt->SCp.buffer = scsi_sglist(SCpnt); in init_SCp()
/linux-2.6.39/drivers/usb/storage/
Dprotocol.c151 sg = scsi_sglist(srb); in usb_stor_access_xfer_buf()
Dene_ub6250.c390 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()
Dshuttle_usbat.c1314 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/
Dmsscsi.c159 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()
Dscsiglue.c390 sg = scsi_sglist(srb); in usb_stor_access_xfer_buf()
/linux-2.6.39/drivers/staging/rts_pstor/
Drtsx_transport.c59 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/
Dmicrotek.c509 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/
Dsbp2.c1311 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/
Dlibata-scsi.c746 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/
Di2o_scsi.c667 if (!i2o_dma_map_sg(c, scsi_sglist(SCpnt), in i2o_scsi_queuecommand_lck()
/linux-2.6.39/drivers/scsi/libfc/
Dfc_fcp.c307 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/
Dib_srp.c558 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/
Diser_initiator.c290 data_buf->buf = scsi_sglist(sc); in iser_send_command()
/linux-2.6.39/drivers/scsi/megaraid/
Dmegaraid_mbox.c1461 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()

123