Home
last modified time | relevance | path

Searched refs:use_sg (Results 1 – 25 of 36) sorted by relevance

12

/linux/drivers/usb/storage/
H A Dsddr09.c391 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 …]
H A Dshuttle_usbat.c261 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 …]
H A Dtransport.h83 void *buf, unsigned int length, int use_sg, int *residual);
H A Dtransport.c489 void *buf, unsigned int length_left, int use_sg, int *residual) in usb_stor_bulk_transfer_sg() argument
495 if (use_sg) { in usb_stor_bulk_transfer_sg()
498 (struct scatterlist *) buf, use_sg, in usb_stor_bulk_transfer_sg()
/linux/drivers/staging/rts5208/
H A Drtsx_transport.h49 int use_sg, enum dma_data_direction dma_dir,
53 size_t len, int use_sg, unsigned int *index,
H A Drtsx_transport.c709 void *buf, size_t len, int use_sg, in rtsx_transfer_data_partial() argument
719 if (use_sg) { in rtsx_transfer_data_partial()
722 err = rtsx_transfer_sglist_adma_partial(chip, card, sg, use_sg, in rtsx_transfer_data_partial()
741 int use_sg, enum dma_data_direction dma_dir, int timeout) in rtsx_transfer_data() argument
745 dev_dbg(rtsx_dev(chip), "use_sg = %d\n", use_sg); in rtsx_transfer_data()
751 if (use_sg) { in rtsx_transfer_data()
753 use_sg, dma_dir, timeout); in rtsx_transfer_data()
/linux/drivers/soc/samsung/
H A Dexynos5422-asv.c346 if (asv->use_sg) { in exynos5422_asv_get_group()
464 asv->use_sg = false; in exynos5422_asv_init()
466 asv->use_sg = exynos5422_asv_parse_sg(pkg_id); in exynos5422_asv_init()
H A Dexynos-asv.h48 bool use_sg; member
/linux/drivers/target/tcm_fc/
H A Dtfc_io.c58 int use_sg; in ft_queue_data_in() local
88 use_sg = !(remaining % 4); in ft_queue_data_in()
113 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); in ft_queue_data_in()
129 if (use_sg) { in ft_queue_data_in()
/linux/drivers/usb/usbip/
H A Dstub_rx.c476 int use_sg = pdu->u.cmd_submit.transfer_flags & USBIP_URB_DMA_MAP_SG; in stub_recv_cmd_submit() local
496 if (use_sg && !buf_len) { in stub_recv_cmd_submit()
503 if (use_sg) { in stub_recv_cmd_submit()
552 if (use_sg) { in stub_recv_cmd_submit()
/linux/drivers/usb/gadget/function/
H A Duvc_queue.h55 bool use_sg; member
H A Duvc_queue.c87 if (queue->use_sg) { in uvc_buffer_prepare()
148 queue->use_sg = 1; in uvcg_queue_init()
/linux/drivers/usb/musb/
H A Dmusb_host.h42 bool use_sg; /* to track urb using sglist */ member
/linux/drivers/scsi/
H A Dst.h53 unsigned short use_sg; /* zero or max number of s/g segments for this adapter */ member
H A Dhpsa.c4580 int use_sg, i, sg_limit, chained; in hpsa_scatter_gather() local
4585 use_sg = scsi_dma_map(cmd); in hpsa_scatter_gather()
4586 if (use_sg < 0) in hpsa_scatter_gather()
4587 return use_sg; in hpsa_scatter_gather()
4589 if (!use_sg) in hpsa_scatter_gather()
4600 chained = use_sg > h->max_cmd_sg_entries; in hpsa_scatter_gather()
4601 sg_limit = chained ? h->max_cmd_sg_entries - 1 : use_sg; in hpsa_scatter_gather()
4615 sg_limit = use_sg - sg_limit; in hpsa_scatter_gather()
4625 if (use_sg + chained > h->maxSG) in hpsa_scatter_gather()
4626 h->maxSG = use_sg + chained; in hpsa_scatter_gather()
[all …]
H A Dadvansys.c7426 int use_sg; in asc_build_req() local
7471 use_sg = scsi_dma_map(scp); in asc_build_req()
7472 if (use_sg < 0) { in asc_build_req()
7475 } else if (use_sg > 0) { in asc_build_req()
7480 if (use_sg > scp->device->host->sg_tablesize) { in asc_build_req()
7482 "sg_tablesize %d\n", use_sg, in asc_build_req()
7489 asc_sg_head = kzalloc(struct_size(asc_sg_head, sg_list, use_sg), in asc_build_req()
7502 asc_sg_head->entry_cnt = asc_scsi_q->q1.sg_queue_cnt = use_sg; in asc_build_req()
7509 scsi_for_each_sg(scp, slp, use_sg, sgcnt) { in asc_build_req()
7541 ADV_SCSI_REQ_Q *scsiqp, struct scsi_cmnd *scp, int use_sg) in adv_get_sglist() argument
[all …]
H A Dncr53c8xx.c532 int use_sg; in __map_scsi_sg_data() local
534 use_sg = scsi_dma_map(cmd); in __map_scsi_sg_data()
535 if (!use_sg) in __map_scsi_sg_data()
539 cmd_priv->data_mapping = use_sg; in __map_scsi_sg_data()
541 return use_sg; in __map_scsi_sg_data()
7476 int use_sg = scsi_sg_count(cmd); in ncr_scatter() local
7480 use_sg = map_scsi_sg_data(np, cmd); in ncr_scatter()
7481 if (use_sg > 0) { in ncr_scatter()
7485 if (use_sg > MAX_SCATTER) { in ncr_scatter()
7490 data = &cp->phys.data[MAX_SCATTER - use_sg]; in ncr_scatter()
[all …]
H A D3w-xxxx.c1700 int i, use_sg; in tw_scsiop_read_write() local
1755 use_sg = scsi_dma_map(srb); in tw_scsiop_read_write()
1756 if (use_sg <= 0) in tw_scsiop_read_write()
1759 scsi_for_each_sg(tw_dev->srb[request_id], sg, use_sg, i) { in tw_scsiop_read_write()
/linux/drivers/mmc/host/
H A Dcavium-thunderx.c110 host->use_sg = true; in thunder_mmc_probe()
H A Dcavium.h70 bool use_sg; member
H A Dcavium.c403 if (host->use_sg && data->sg_len > 1) in finish_dma()
619 if (host->use_sg && data->sg_len > 1) in prepare_dma()
1041 if (host->use_sg) in cvm_mmc_of_slot_probe()
H A Dcavium-octeon.c182 host->use_sg = true; in octeon_mmc_probe()
/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.c241 int use_sg; in sym_scatter() local
245 use_sg = scsi_dma_map(cmd); in sym_scatter()
246 if (use_sg > 0) { in sym_scatter()
251 if (use_sg > SYM_CONF_MAX_SG) { in sym_scatter()
256 data = &cp->phys.data[SYM_CONF_MAX_SG - use_sg]; in sym_scatter()
258 scsi_for_each_sg(cmd, sg, use_sg, segment) { in sym_scatter()
/linux/drivers/usb/core/
H A Dmessage.c508 int use_sg; in usb_sg_init() local
521 use_sg = true; in usb_sg_init()
524 use_sg = false; in usb_sg_init()
556 if (use_sg) { in usb_sg_init()
/linux/include/linux/
H A Drtsx_usb.h82 void *buf, unsigned int len, int use_sg,

12