Home
last modified time | relevance | path

Searched refs:scsi_sglist (Results 1 – 25 of 67) 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 Dmac53c94.c81 scsi_sg_count(cmd), scsi_bufflen(cmd), scsi_sglist(cmd)); in mac53c94_queue_lck()
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 Dqlogicpti.c908 sg = scsi_sglist(Cmnd); in load_cmd()
1190 scsi_sglist(Cmnd), scsi_sg_count(Cmnd), in qlogicpti_intr_handler()
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 Daha152x.c962 if ((phase & resetting) || !scsi_sglist(SCpnt)) { in aha152x_internal_queue()
969 acp->buffer = scsi_sglist(SCpnt); in aha152x_internal_queue()
2197 struct scatterlist *sg = scsi_sglist(CURRENT_SC); in datao_end()
H A Dppa.c771 scsi_pointer->buffer = scsi_sglist(cmd); in ppa_engine()
/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/scsi/arm/
H A Darm_scsi.h97 scsi_pointer->buffer = scsi_sglist(SCpnt); in init_SCp()
/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()
H A Dtransport.c470 int result = usb_stor_bulk_transfer_sglist(us, pipe, scsi_sglist(srb), in usb_stor_bulk_srb()
/linux/drivers/ata/
H A Dlibata-scsi.c770 qc->sg = scsi_sglist(cmd); in ata_scsi_qc_new()
1744 ata_sg_init(qc, scsi_sglist(cmd), scsi_sg_count(cmd)); in ata_scsi_translate()
1817 sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in ata_scsi_rbuf_fill()
2622 sg_copy_to_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), buf, 4); in atapi_fixup_inquiry()
2627 sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), buf, 4); in atapi_fixup_inquiry()
3194 r = sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), buf, len); in ata_format_dsm_trim_descr()
3423 sg_miter_start(&miter, scsi_sglist(scmd), scsi_sg_count(scmd), in ata_scsi_report_zones_complete()
3864 if (!scsi_sg_count(scmd) || scsi_sglist(scmd)->length < len) in ata_scsi_mode_select_xlat()
3871 if (!sg_copy_to_buffer(scsi_sglist(scmd), scsi_sg_count(scmd), in ata_scsi_mode_select_xlat()
/linux/drivers/staging/rts5208/
H A Drtsx_transport.c49 sgbuffer = (unsigned char *)scsi_sglist(srb) + *offset; in rtsx_stor_access_xfer_buf()
64 (struct scatterlist *)scsi_sglist(srb) in rtsx_stor_access_xfer_buf()
/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/scsi/lpfc/
H A Dlpfc_scsi.c834 nseg = dma_map_sg(&phba->pcidev->dev, scsi_sglist(scsi_cmnd), in lpfc_scsi_prep_dma_buf_s3()
1701 sgde = scsi_sglist(sc); in lpfc_bg_setup_bpl_prot()
1997 sgde = scsi_sglist(sc); in lpfc_bg_setup_sgl()
2128 sgde = scsi_sglist(sc); in lpfc_bg_setup_sgl_prot()
2517 scsi_sglist(scsi_cmnd), in lpfc_bg_scsi_prep_dma_buf_s3()
2725 sgde = scsi_sglist(cmd); in lpfc_calc_bg_err()
3110 sgel = scsi_sglist(scsi_cmnd); in lpfc_scsi_prep_dma_buf_s4()
3317 scsi_sglist(scsi_cmnd), in lpfc_bg_scsi_prep_dma_buf_s4()
/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()

123