/kernel/linux/linux-6.6/drivers/usb/musb/ |
H A D | musb_host.h | 42 bool use_sg; /* to track urb using sglist */ member
|
H A D | musb_host.c | 1942 qh->use_sg = true; in musb_host_rx() 1947 if (qh->use_sg) { in musb_host_rx() 1977 if (qh->use_sg) { in musb_host_rx() 1978 qh->use_sg = false; in musb_host_rx()
|
/kernel/linux/linux-5.10/drivers/usb/storage/ |
H A D | transport.c | 484 void *buf, unsigned int length_left, int use_sg, int *residual) in usb_stor_bulk_transfer_sg() 490 if (use_sg) { in usb_stor_bulk_transfer_sg() 493 (struct scatterlist *) buf, use_sg, in usb_stor_bulk_transfer_sg() 483 usb_stor_bulk_transfer_sg(struct us_data* us, unsigned int pipe, void *buf, unsigned int length_left, int use_sg, int *residual) usb_stor_bulk_transfer_sg() argument
|
/kernel/linux/linux-6.6/drivers/usb/storage/ |
H A D | transport.c | 489 void *buf, unsigned int length_left, int use_sg, int *residual) in usb_stor_bulk_transfer_sg() 495 if (use_sg) { in usb_stor_bulk_transfer_sg() 498 (struct scatterlist *) buf, use_sg, in usb_stor_bulk_transfer_sg() 488 usb_stor_bulk_transfer_sg(struct us_data* us, unsigned int pipe, void *buf, unsigned int length_left, int use_sg, int *residual) usb_stor_bulk_transfer_sg() argument
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | hpsa.c | 4583 int use_sg, i, sg_limit, chained, last_sg; in hpsa_scatter_gather() local 4588 use_sg = scsi_dma_map(cmd); in hpsa_scatter_gather() 4589 if (use_sg < 0) in hpsa_scatter_gather() 4590 return use_sg; in hpsa_scatter_gather() 4592 if (!use_sg) in hpsa_scatter_gather() 4603 chained = use_sg > h->max_cmd_sg_entries; in hpsa_scatter_gather() 4604 sg_limit = chained ? h->max_cmd_sg_entries - 1 : use_sg; in hpsa_scatter_gather() 4619 sg_limit = use_sg - sg_limit; in hpsa_scatter_gather() 4629 if (use_sg + chained > h->maxSG) in hpsa_scatter_gather() 4630 h->maxSG = use_sg in hpsa_scatter_gather() 4745 int use_sg, i; hpsa_scsi_ioaccel1_queue_command() local 4916 int use_sg, i; hpsa_scsi_ioaccel2_queue_command() local [all...] |
H A 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...] |
H A D | 3w-9xxx.c | 61 2.26.02.003 - Correctly handle single sgl's with use_sg=1. 63 2.26.02.005 - Fix use_sg == 0 mapping on systems with 4GB or higher. 147 unsigned char *cdb, int use_sg, 1804 unsigned char *cdb, int use_sg, in twa_scsiop_execute_scsi() 1879 for (i = 0; i < use_sg; i++) { in twa_scsiop_execute_scsi() 1887 command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN(0, use_sg)); in twa_scsiop_execute_scsi() 1803 twa_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id, unsigned char *cdb, int use_sg, TW_SG_Entry *sglistarg) twa_scsiop_execute_scsi() argument
|
H A D | 3w-xxxx.c | 82 Fix use_sg = 1 calculation bug. 1700 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()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | hpsa.c | 4580 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 in hpsa_scatter_gather() 4741 int use_sg, i; hpsa_scsi_ioaccel1_queue_command() local 4912 int use_sg, i; hpsa_scsi_ioaccel2_queue_command() local [all...] |
H A D | ncr53c8xx.c | 532 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 D | 3w-xxxx.c | 82 Fix use_sg = 1 calculation bug. 1700 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 D | 3w-9xxx.c | 61 2.26.02.003 - Correctly handle single sgl's with use_sg=1. 63 2.26.02.005 - Fix use_sg == 0 mapping on systems with 4GB or higher. 147 unsigned char *cdb, int use_sg, 1799 unsigned char *cdb, int use_sg, in twa_scsiop_execute_scsi() 1871 for (i = 0; i < use_sg; i++) { in twa_scsiop_execute_scsi() 1879 command_packet->sgl_entries__lunh = TW_REQ_LUN_IN(0, use_sg); in twa_scsiop_execute_scsi() 1798 twa_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id, unsigned char *cdb, int use_sg, TW_SG_Entry *sglistarg) twa_scsiop_execute_scsi() argument
|
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/ |
H A D | sym_glue.c | 244 int use_sg; in sym_scatter() local 248 use_sg = scsi_dma_map(cmd); in sym_scatter() 249 if (use_sg > 0) { in sym_scatter() 254 if (use_sg > SYM_CONF_MAX_SG) { in sym_scatter() 259 data = &cp->phys.data[SYM_CONF_MAX_SG - use_sg]; in sym_scatter() 261 scsi_for_each_sg(cmd, sg, use_sg, segment) { in sym_scatter()
|
/kernel/linux/linux-6.6/drivers/scsi/sym53c8xx_2/ |
H A D | sym_glue.c | 241 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()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | cavium-thunderx.c | 109 host->use_sg = true; in thunder_mmc_probe()
|
H A D | cavium.h | 70 bool use_sg; member
|
H A D | cavium-octeon.c | 180 host->use_sg = true; in octeon_mmc_probe()
|
H A 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() 1043 if (host->use_sg) in cvm_mmc_of_slot_probe()
|
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | cavium.h | 70 bool use_sg; member
|
H A D | cavium-thunderx.c | 110 host->use_sg = true; in thunder_mmc_probe()
|
H A D | cavium-octeon.c | 182 host->use_sg = true; in octeon_mmc_probe()
|
H A D | cavium.c | 403 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()
|
/kernel/linux/linux-5.10/drivers/usb/core/ |
H A D | message.c | 511 int use_sg; in usb_sg_init() local 524 use_sg = true; in usb_sg_init() 527 use_sg = false; in usb_sg_init() 559 if (use_sg) { in usb_sg_init()
|
/kernel/linux/linux-5.10/drivers/usb/musb/ |
H A D | musb_host.c | 1948 qh->use_sg = true; in musb_host_rx() 1953 if (qh->use_sg) { in musb_host_rx() 1983 if (qh->use_sg) { in musb_host_rx() 1984 qh->use_sg = false; in musb_host_rx()
|
/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | message.c | 508 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()
|