Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/usb/storage/
H A Dsddr09.c391 int use_sg) { in sddr09_readX() argument
418 buf, bulklen, use_sg, NULL); in sddr09_readX()
444 buf, use_sg); in sddr09_read20()
466 buf, use_sg); in sddr09_read21()
485 buf, use_sg); in sddr09_read22()
508 buf, use_sg);
603 buf, bulklen, use_sg, NULL); in sddr09_writeX()
617 int use_sg) { in sddr09_write_inplace() argument
620 buf, use_sg); in sddr09_write_inplace()
1051 int use_sg) { in sddr09_read_control() argument
[all …]
H A Dshuttle_usbat.c262 int use_sg) in usbat_bulk_read() argument
277 int use_sg) in usbat_bulk_write() argument
447 int use_sg) in usbat_read_block() argument
468 result = usbat_bulk_read(us, buf, len, use_sg); in usbat_read_block()
481 int use_sg) in usbat_write_block() argument
503 result = usbat_bulk_write(us, buf, len, use_sg); in usbat_write_block()
525 int use_sg, in usbat_hp8200e_rw_block_test() argument
603 pipe, buf, len, use_sg, NULL); in usbat_hp8200e_rw_block_test()
739 int use_sg) in usbat_read_blocks() argument
759 result = usbat_bulk_read(us, buffer, len, use_sg); in usbat_read_blocks()
[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-6.15/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-6.15/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-6.15/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-6.15/drivers/usb/gadget/function/
H A Duvc_queue.h57 bool use_sg; member
H A Duvc_queue.c78 if (queue->use_sg) { in uvc_buffer_prepare()
142 queue->use_sg = 1; in uvcg_queue_init()
/linux-6.15/drivers/usb/musb/
H A Dmusb_host.h42 bool use_sg; /* to track urb using sglist */ member
/linux-6.15/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 if (use_sg < 0) in hpsa_scatter_gather()
4581 return use_sg; in hpsa_scatter_gather()
4583 if (!use_sg) in hpsa_scatter_gather()
4735 int use_sg, i; in hpsa_scsi_ioaccel1_queue_command() local
4766 if (use_sg < 0) { in hpsa_scsi_ioaccel1_queue_command()
4768 return use_sg; in hpsa_scsi_ioaccel1_queue_command()
4771 if (use_sg) { in hpsa_scsi_ioaccel1_queue_command()
4906 int use_sg, i; in hpsa_scsi_ioaccel2_queue_command() local
4941 if (use_sg < 0) { in hpsa_scsi_ioaccel2_queue_command()
4943 return use_sg; in hpsa_scsi_ioaccel2_queue_command()
[all …]
H A Dadvansys.c7427 int use_sg; in asc_build_req() local
7472 use_sg = scsi_dma_map(scp); in asc_build_req()
7473 if (use_sg < 0) { in asc_build_req()
7476 } else if (use_sg > 0) { in asc_build_req()
7483 "sg_tablesize %d\n", use_sg, in asc_build_req()
7552 sg_elem_cnt = use_sg; in adv_get_sglist()
7654 int use_sg; in adv_build_req() local
7718 use_sg = scsi_dma_map(scp); in adv_build_req()
7719 if (use_sg < 0) { in adv_build_req()
7723 } else if (use_sg == 0) { in adv_build_req()
[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()
H A D3w-9xxx.c147 unsigned char *cdb, int use_sg,
1799 unsigned char *cdb, int use_sg, in DEF_SCSI_QCMD()
1871 for (i = 0; i < use_sg; i++) { in DEF_SCSI_QCMD()
1879 command_packet->sgl_entries__lunh = TW_REQ_LUN_IN(0, use_sg); in DEF_SCSI_QCMD()
H A D3w-sas.c293 unsigned char *cdb, int use_sg, in twl_scsiop_execute_scsi() argument
349 for (i = 0; i < use_sg; i++) { in twl_scsiop_execute_scsi()
353 command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN(0, use_sg)); in twl_scsiop_execute_scsi()
/linux-6.15/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-6.15/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-6.15/include/linux/
H A Drtsx_usb.h86 void *buf, unsigned int len, int use_sg,
/linux-6.15/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()

12