Home
last modified time | relevance | path

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

123

/linux/drivers/scsi/
H A Dscsi_lib_dma.c30 nseg = dma_map_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_dma_map()
48 dma_unmap_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_dma_unmap()
H A Dfdomain.c226 virt = scsi_kmap_atomic_sg(scsi_sglist(cmd), scsi_sg_count(cmd), in fdomain_read_data()
253 virt = scsi_kmap_atomic_sg(scsi_sglist(cmd), scsi_sg_count(cmd), in fdomain_write_data()
H A Dmvumi.c198 *sg_count = dma_map_sg(&mhba->pdev->dev, scsi_sglist(scmd), sgnum, in mvumi_make_sgl()
204 dma_unmap_sg(&mhba->pdev->dev, scsi_sglist(scmd), sgnum, in mvumi_make_sgl()
1328 dma_unmap_sg(&mhba->pdev->dev, scsi_sglist(scmd), in mvumi_complete_cmd()
2133 dma_unmap_sg(&mhba->pdev->dev, scsi_sglist(scmd), in mvumi_timed_out()
H A Dmac53c94.c81 scsi_sg_count(cmd), scsi_bufflen(cmd), scsi_sglist(cmd)); in mac53c94_queue_lck()
H A Ddc395x.c893 cmd->bufflen, scsi_sglist(cmd), scsi_sg_count(cmd), in build_srb()
905 reqlen, scsi_sglist(cmd), scsi_sg_count(cmd), in build_srb()
2125 base = scsi_kmap_atomic_sg(scsi_sglist(srb->cmd), in data_in_phase0()
2342 base = scsi_kmap_atomic_sg(scsi_sglist(srb->cmd), in data_io_transfer()
3289 struct scatterlist* sg = scsi_sglist(cmd); in srb_done()
H A Dips.c1072 pt = (ips_passthru_t *) scsi_sglist(SC); in ips_queue_lck()
1480 (SC->device->lun == 0) && scsi_sglist(SC)) { in ips_is_passthru()
1481 struct scatterlist *sg = scsi_sglist(SC); in ips_is_passthru()
1547 struct scatterlist *sg = scsi_sglist(SC); in ips_make_passthru()
1976 if ((!scb) || (!scb->scsi_cmd) || (!scsi_sglist(scb->scsi_cmd))) { in ips_cleanup_passthru()
3148 sg = scsi_sglist(scb->scsi_cmd); in ips_done()
H A Dppa.c771 scsi_pointer->buffer = scsi_sglist(cmd); in ppa_engine()
H A Dmegaraid.c664 sg = scsi_sglist(cmd); in mega_build_cmd()
1552 sgl = scsi_sglist(cmd); in mega_cmd_done()
1732 sg = scsi_sglist(cmd); in mega_build_sglist()
H A Dimm.c841 scsi_pointer->buffer = scsi_sglist(cmd); in imm_engine()
H A Dqla1280.c2851 sg = scsi_sglist(cmd); in qla1280_64bit_start_scsi()
3106 sg = scsi_sglist(cmd); in qla1280_32bit_start_scsi()
3967 scsi_sglist(cmd), scsi_bufflen(cmd)); in __qla1280_print_scsi_cmd()
/linux/include/scsi/
H A Dscsi_cmnd.h186 static inline struct scatterlist *scsi_sglist(struct scsi_cmnd *cmd) in scsi_sglist() function
207 for_each_sg(scsi_sglist(cmd), sg, nseg, __i)
212 return sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_sg_copy_from_buffer()
219 return sg_copy_to_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_sg_copy_to_buffer()
/linux/drivers/usb/storage/
H A Dprotocol.c133 sg = scsi_sglist(srb); in usb_stor_access_xfer_buf()
H A Dshuttle_usbat.c1309 scsi_sglist(srb), in usbat_hp8200e_handle_read10()
1603 scsi_sglist(srb), in usbat_hp8200e_transport()
1670 result = usbat_read_block(us, scsi_sglist(srb), len, in usbat_hp8200e_transport()
H A Dene_ub6250.c707 result = ene_send_scsi_cmd(us, FDIR_READ, scsi_sglist(srb), 1); in sd_scsi_read()
747 result = ene_send_scsi_cmd(us, FDIR_WRITE, scsi_sglist(srb), 1); in sd_scsi_write()
1669 result = ene_send_scsi_cmd(us, FDIR_READ, scsi_sglist(srb), 1); in ms_scsi_read()
1770 result = ene_send_scsi_cmd(us, FDIR_WRITE, scsi_sglist(srb), 1); in ms_scsi_write()
/linux/drivers/scsi/arm/
H A Darm_scsi.h97 scsi_pointer->buffer = scsi_sglist(SCpnt); in init_SCp()
/linux/drivers/ata/
H A Dlibata-scsi.c770 qc->sg = scsi_sglist(cmd); in ata_scsi_qc_new()
1735 ata_sg_init(qc, scsi_sglist(cmd), scsi_sg_count(cmd)); in ata_scsi_translate()
1803 sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in ata_scsi_rbuf_fill()
2769 sg_copy_to_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), buf, 4); in atapi_fixup_inquiry()
2774 sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), buf, 4); in atapi_fixup_inquiry()
3341 r = sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), buf, len); in ata_format_dsm_trim_descr()
3576 sg_miter_start(&miter, scsi_sglist(scmd), scsi_sg_count(scmd), in ata_scsi_report_zones_complete()
4017 if (!scsi_sg_count(scmd) || scsi_sglist(scmd)->length < len) in ata_scsi_mode_select_xlat()
4024 if (!sg_copy_to_buffer(scsi_sglist(scmd), scsi_sg_count(scmd), in ata_scsi_mode_select_xlat()
/linux/drivers/scsi/qla2xxx/
H A Dqla_iocb.c369 nseg = dma_map_sg(&ha->pdev->dev, scsi_sglist(cmd), in qla2x00_start_scsi()
626 cur_seg = scsi_sglist(cmd); in qla24xx_build_scsi_type_6_iocbs()
858 sgx.cur_sg = scsi_sglist(cmd); in qla24xx_walk_and_build_sglist_no_difb()
964 sgl = scsi_sglist(cmd); in qla24xx_walk_and_build_sglist()
1582 nseg = dma_map_sg(&ha->pdev->dev, scsi_sglist(cmd), in qla24xx_start_scsi()
1749 nseg = dma_map_sg(&ha->pdev->dev, scsi_sglist(cmd), in qla24xx_dif_start_scsi()
1763 sgx.cur_sg = scsi_sglist(cmd); in qla24xx_dif_start_scsi()
1949 nseg = dma_map_sg(&ha->pdev->dev, scsi_sglist(cmd), in qla2xxx_start_scsi_mq()
2131 nseg = dma_map_sg(&ha->pdev->dev, scsi_sglist(cmd), in qla2xxx_dif_start_scsi_mq()
2145 sgx.cur_sg = scsi_sglist(cmd); in qla2xxx_dif_start_scsi_mq()
[all …]
/linux/drivers/scsi/libfc/
H A Dfc_fcp.c323 if (lport->tt.ddp_setup(lport, xid, scsi_sglist(fsp->cmd), in fc_fcp_ddp_setup()
521 sg = scsi_sglist(sc); in fc_fcp_recv_data()
646 sg = scsi_sglist(sc); in fc_fcp_send_data()
/linux/drivers/usb/image/
H A Dmicrotek.c536 desc->context.curr_sg = scsi_sglist(srb); in mts_build_transfer_context()
/linux/drivers/scsi/pcmcia/
H A Dnsp_cs.c201 SCpnt, target, SCpnt->device->lun, scsi_sglist(SCpnt), in nsp_queuecommand_lck()
241 scsi_pointer->buffer = scsi_sglist(SCpnt); in nsp_queuecommand_lck()
/linux/drivers/scsi/qedf/
H A Dqedf_io.c486 sg_count = dma_map_sg(&qedf->pdev->dev, scsi_sglist(sc), in qedf_map_sg()
488 sg = scsi_sglist(sc); in qedf_map_sg()
1115 dma_unmap_sg(&qedf->pdev->dev, scsi_sglist(sc), in qedf_unmap_sg_list()
/linux/drivers/infiniband/ulp/iser/
H A Diser_initiator.c368 data_buf->sg = scsi_sglist(sc); in iser_send_command()
/linux/drivers/target/loopback/
H A Dtcm_loop.c151 if (target_submit_prep(se_cmd, sc->cmnd, scsi_sglist(sc), in tcm_loop_target_queue_cmd()
/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_io.c1671 sg_count = dma_map_sg(&hba->pcidev->dev, scsi_sglist(sc), in bnx2fc_map_sg()
1738 dma_unmap_sg(&hba->pcidev->dev, scsi_sglist(sc), in bnx2fc_unmap_sg_list()
/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.c1185 if (!scsi_sglist(scmnd) || in srp_unmap_data()
1208 ib_dma_unmap_sg(ibdev, scsi_sglist(scmnd), scsi_sg_count(scmnd), in srp_unmap_data()
1638 if (!scsi_sglist(scmnd) || scmnd->sc_data_direction == DMA_NONE) in srp_map_data()
1650 scat = scsi_sglist(scmnd); in srp_map_data()

123