/Linux-v5.4/drivers/usb/storage/ |
D | sddr09.c | 391 int use_sg) { in sddr09_readX() argument 418 buf, bulklen, use_sg, NULL); in sddr09_readX() 439 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read20() argument 444 buf, use_sg); in sddr09_read20() 462 int count, int controlshift, unsigned char *buf, int use_sg) { in sddr09_read21() argument 466 buf, use_sg); in sddr09_read21() 480 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read22() argument 485 buf, use_sg); in sddr09_read22() 504 int count, int controlshift, unsigned char *buf, int use_sg) { 508 buf, use_sg); [all …]
|
D | shuttle_usbat.c | 261 int use_sg) in usbat_bulk_read() argument 267 return usb_stor_bulk_transfer_sg(us, us->recv_bulk_pipe, buf, len, use_sg, NULL); in usbat_bulk_read() 276 int use_sg) in usbat_bulk_write() argument 282 return usb_stor_bulk_transfer_sg(us, us->send_bulk_pipe, buf, len, use_sg, NULL); in usbat_bulk_write() 446 int use_sg) in usbat_read_block() argument 467 result = usbat_bulk_read(us, buf, len, use_sg); in usbat_read_block() 480 int use_sg) in usbat_write_block() argument 502 result = usbat_bulk_write(us, buf, len, use_sg); in usbat_write_block() 524 int use_sg, in usbat_hp8200e_rw_block_test() argument 602 pipe, buf, len, use_sg, NULL); in usbat_hp8200e_rw_block_test() [all …]
|
D | transport.h | 83 void *buf, unsigned int length, int use_sg, int *residual);
|
D | transport.c | 484 void *buf, unsigned int length_left, int use_sg, int *residual) in usb_stor_bulk_transfer_sg() argument 490 if (use_sg) { in usb_stor_bulk_transfer_sg() 493 (struct scatterlist *) buf, use_sg, in usb_stor_bulk_transfer_sg()
|
/Linux-v5.4/drivers/staging/rts5208/ |
D | rtsx_transport.h | 49 int use_sg, enum dma_data_direction dma_dir, 53 size_t len, int use_sg, unsigned int *index,
|
D | rtsx_transport.c | 711 void *buf, size_t len, int use_sg, in rtsx_transfer_data_partial() argument 721 if (use_sg) { in rtsx_transfer_data_partial() 724 err = rtsx_transfer_sglist_adma_partial(chip, card, sg, use_sg, in rtsx_transfer_data_partial() 743 int use_sg, enum dma_data_direction dma_dir, int timeout) in rtsx_transfer_data() argument 747 dev_dbg(rtsx_dev(chip), "use_sg = %d\n", use_sg); in rtsx_transfer_data() 753 if (use_sg) { in rtsx_transfer_data() 755 use_sg, dma_dir, timeout); in rtsx_transfer_data()
|
/Linux-v5.4/drivers/target/tcm_fc/ |
D | tfc_io.c | 59 int use_sg; in ft_queue_data_in() local 89 use_sg = !(remaining % 4); in ft_queue_data_in() 114 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); in ft_queue_data_in() 130 if (use_sg) { in ft_queue_data_in()
|
/Linux-v5.4/drivers/usb/usbip/ |
D | stub_rx.c | 465 int use_sg = pdu->u.cmd_submit.transfer_flags & URB_DMA_MAP_SG; in stub_recv_cmd_submit() local 481 if (use_sg) { in stub_recv_cmd_submit() 493 if (use_sg && !udev->bus->sg_tablesize) { in stub_recv_cmd_submit() 526 if (use_sg) { in stub_recv_cmd_submit()
|
/Linux-v5.4/drivers/usb/musb/ |
D | musb_host.h | 42 bool use_sg; /* to track urb using sglist */ member
|
D | musb_host.c | 1466 qh->use_sg = true; in musb_host_tx() 1468 if (qh->use_sg) { in musb_host_tx() 1487 if (qh->use_sg) { in musb_host_tx() 1489 qh->use_sg = false; in musb_host_tx() 1971 qh->use_sg = true; in musb_host_rx() 1976 if (qh->use_sg) { in musb_host_rx() 2006 if (qh->use_sg) in musb_host_rx() 2007 qh->use_sg = false; in musb_host_rx()
|
/Linux-v5.4/drivers/scsi/ |
D | st.h | 54 unsigned short use_sg; /* zero or max number of s/g segments for this adapter */ member
|
D | hpsa.c | 4549 int use_sg, i, sg_limit, chained, last_sg; in hpsa_scatter_gather() local 4554 use_sg = scsi_dma_map(cmd); in hpsa_scatter_gather() 4555 if (use_sg < 0) in hpsa_scatter_gather() 4556 return use_sg; in hpsa_scatter_gather() 4558 if (!use_sg) in hpsa_scatter_gather() 4569 chained = use_sg > h->max_cmd_sg_entries; in hpsa_scatter_gather() 4570 sg_limit = chained ? h->max_cmd_sg_entries - 1 : use_sg; in hpsa_scatter_gather() 4585 sg_limit = use_sg - sg_limit; in hpsa_scatter_gather() 4595 if (use_sg + chained > h->maxSG) in hpsa_scatter_gather() 4596 h->maxSG = use_sg + chained; in hpsa_scatter_gather() [all …]
|
D | advansys.c | 7512 int use_sg; in asc_build_req() local 7557 use_sg = scsi_dma_map(scp); in asc_build_req() 7558 if (use_sg < 0) { in asc_build_req() 7561 } else if (use_sg > 0) { in asc_build_req() 7566 if (use_sg > scp->device->host->sg_tablesize) { in asc_build_req() 7568 "sg_tablesize %d\n", use_sg, in asc_build_req() 7576 use_sg * sizeof(struct asc_sg_list), GFP_ATOMIC); in asc_build_req() 7588 asc_sg_head->entry_cnt = asc_scsi_q->q1.sg_queue_cnt = use_sg; in asc_build_req() 7595 scsi_for_each_sg(scp, slp, use_sg, sgcnt) { in asc_build_req() 7627 ADV_SCSI_REQ_Q *scsiqp, struct scsi_cmnd *scp, int use_sg) in adv_get_sglist() argument [all …]
|
D | ncr53c8xx.c | 528 int use_sg; in __map_scsi_sg_data() local 530 use_sg = scsi_dma_map(cmd); in __map_scsi_sg_data() 531 if (!use_sg) in __map_scsi_sg_data() 535 cmd->__data_mapping = use_sg; in __map_scsi_sg_data() 537 return use_sg; in __map_scsi_sg_data() 7642 int use_sg = scsi_sg_count(cmd); in ncr_scatter() local 7646 use_sg = map_scsi_sg_data(np, cmd); in ncr_scatter() 7647 if (use_sg > 0) { in ncr_scatter() 7651 if (use_sg > MAX_SCATTER) { in ncr_scatter() 7656 data = &cp->phys.data[MAX_SCATTER - use_sg]; in ncr_scatter() [all …]
|
D | 3w-xxxx.c | 1702 int i, use_sg; in tw_scsiop_read_write() local 1757 use_sg = scsi_dma_map(srb); in tw_scsiop_read_write() 1758 if (use_sg <= 0) in tw_scsiop_read_write() 1761 scsi_for_each_sg(tw_dev->srb[request_id], sg, use_sg, i) { in tw_scsiop_read_write()
|
D | 3w-9xxx.c | 147 unsigned char *cdb, int use_sg, 1804 unsigned char *cdb, int use_sg, in DEF_SCSI_QCMD() 1879 for (i = 0; i < use_sg; i++) { in DEF_SCSI_QCMD() 1887 command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN(0, use_sg)); in DEF_SCSI_QCMD()
|
D | 3w-sas.c | 291 unsigned char *cdb, int use_sg, in twl_scsiop_execute_scsi() argument 350 for (i = 0; i < use_sg; i++) { in twl_scsiop_execute_scsi() 354 command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN(0, use_sg)); in twl_scsiop_execute_scsi()
|
/Linux-v5.4/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.c | 248 int use_sg; in sym_scatter() local 252 use_sg = scsi_dma_map(cmd); in sym_scatter() 253 if (use_sg > 0) { in sym_scatter() 258 if (use_sg > SYM_CONF_MAX_SG) { in sym_scatter() 263 data = &cp->phys.data[SYM_CONF_MAX_SG - use_sg]; in sym_scatter() 265 scsi_for_each_sg(cmd, sg, use_sg, segment) { in sym_scatter()
|
/Linux-v5.4/drivers/mmc/host/ |
D | cavium-thunderx.c | 105 host->use_sg = true; in thunder_mmc_probe()
|
D | cavium.h | 70 bool use_sg; member
|
D | cavium.c | 403 if (host->use_sg && data->sg_len > 1) in finish_dma() 620 if (host->use_sg && data->sg_len > 1) in prepare_dma() 1044 if (host->use_sg) in cvm_mmc_of_slot_probe()
|
D | cavium-octeon.c | 181 host->use_sg = true; in octeon_mmc_probe()
|
/Linux-v5.4/drivers/usb/core/ |
D | message.c | 373 int use_sg; in usb_sg_init() local 386 use_sg = true; in usb_sg_init() 389 use_sg = false; in usb_sg_init() 421 if (use_sg) { in usb_sg_init()
|
/Linux-v5.4/include/linux/ |
D | rtsx_usb.h | 84 void *buf, unsigned int len, int use_sg,
|
/Linux-v5.4/drivers/usb/gadget/function/ |
D | f_fs.c | 227 bool use_sg; member 799 if (io_data->use_sg) in ffs_alloc_buffer() 810 if (io_data->use_sg) { in ffs_free_buffer() 1016 io_data->use_sg = gadget->sg_supported && data_len > PAGE_SIZE; in ffs_epfile_io() 1059 if (io_data->use_sg) { in ffs_epfile_io() 1102 if (io_data->use_sg) { in ffs_epfile_io()
|