/linux-4.4.14/drivers/usb/storage/ |
D | sddr09.c | 402 int use_sg) { in sddr09_readX() argument 429 buf, bulklen, use_sg, NULL); in sddr09_readX() 450 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read20() argument 455 buf, use_sg); in sddr09_read20() 473 int count, int controlshift, unsigned char *buf, int use_sg) { in sddr09_read21() argument 477 buf, use_sg); in sddr09_read21() 491 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read22() argument 496 buf, use_sg); in sddr09_read22() 515 int count, int controlshift, unsigned char *buf, int use_sg) { 519 buf, use_sg); [all …]
|
D | shuttle_usbat.c | 272 int use_sg) in usbat_bulk_read() argument 278 return usb_stor_bulk_transfer_sg(us, us->recv_bulk_pipe, buf, len, use_sg, NULL); in usbat_bulk_read() 287 int use_sg) in usbat_bulk_write() argument 293 return usb_stor_bulk_transfer_sg(us, us->send_bulk_pipe, buf, len, use_sg, NULL); in usbat_bulk_write() 456 int use_sg) in usbat_read_block() argument 477 result = usbat_bulk_read(us, buf, len, use_sg); in usbat_read_block() 490 int use_sg) in usbat_write_block() argument 512 result = usbat_bulk_write(us, buf, len, use_sg); in usbat_write_block() 534 int use_sg, in usbat_hp8200e_rw_block_test() argument 612 pipe, buf, len, use_sg, NULL); in usbat_hp8200e_rw_block_test() [all …]
|
D | transport.h | 98 void *buf, unsigned int length, int use_sg, int *residual);
|
D | transport.c | 488 void *buf, unsigned int length_left, int use_sg, int *residual) in usb_stor_bulk_transfer_sg() argument 494 if (use_sg) { in usb_stor_bulk_transfer_sg() 497 (struct scatterlist *) buf, use_sg, in usb_stor_bulk_transfer_sg()
|
D | ene_ub6250.c | 500 static int ene_send_scsi_cmd(struct us_data *us, u8 fDir, void *buf, int use_sg) in ene_send_scsi_cmd() argument 528 if (use_sg) { in ene_send_scsi_cmd()
|
/linux-4.4.14/drivers/staging/rts5208/ |
D | rtsx_transport.h | 59 int use_sg, enum dma_data_direction dma_dir, int timeout); 63 int use_sg, unsigned int *index, unsigned int *offset,
|
D | rtsx_transport.c | 718 void *buf, size_t len, int use_sg, unsigned int *index, in rtsx_transfer_data_partial() argument 728 if (use_sg) in rtsx_transfer_data_partial() 730 (struct scatterlist *)buf, use_sg, in rtsx_transfer_data_partial() 747 int use_sg, enum dma_data_direction dma_dir, int timeout) in rtsx_transfer_data() argument 751 dev_dbg(rtsx_dev(chip), "use_sg = %d\n", use_sg); in rtsx_transfer_data() 757 if (use_sg) { in rtsx_transfer_data() 760 use_sg, dma_dir, timeout); in rtsx_transfer_data()
|
D | ms.c | 113 int use_sg, void *buf, int buf_len) in ms_transfer_data() argument 160 use_sg, dir, chip->mspro_timeout); in ms_transfer_data()
|
/linux-4.4.14/drivers/target/tcm_fc/ |
D | tfc_io.c | 71 int use_sg; in ft_queue_data_in() local 101 use_sg = !(remaining % 4); in ft_queue_data_in() 126 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); in ft_queue_data_in() 142 if (use_sg) { in ft_queue_data_in()
|
/linux-4.4.14/drivers/usb/musb/ |
D | musb_host.h | 67 bool use_sg; /* to track urb using sglist */ member
|
D | musb_host.c | 1515 qh->use_sg = true; in musb_host_tx() 1517 if (qh->use_sg) { in musb_host_tx() 1536 if (qh->use_sg) { in musb_host_tx() 1538 qh->use_sg = false; in musb_host_tx() 2026 qh->use_sg = true; in musb_host_rx() 2031 if (qh->use_sg) { in musb_host_rx() 2061 if (qh->use_sg) in musb_host_rx() 2062 qh->use_sg = false; in musb_host_rx()
|
/linux-4.4.14/drivers/scsi/ |
D | st.h | 53 unsigned short use_sg; /* zero or max number of s/g segments for this adapter */ member
|
D | hpsa.c | 4183 int use_sg, i, sg_limit, chained, last_sg; in hpsa_scatter_gather() local 4188 use_sg = scsi_dma_map(cmd); in hpsa_scatter_gather() 4189 if (use_sg < 0) in hpsa_scatter_gather() 4190 return use_sg; in hpsa_scatter_gather() 4192 if (!use_sg) in hpsa_scatter_gather() 4203 chained = use_sg > h->max_cmd_sg_entries; in hpsa_scatter_gather() 4204 sg_limit = chained ? h->max_cmd_sg_entries - 1 : use_sg; in hpsa_scatter_gather() 4219 sg_limit = use_sg - sg_limit; in hpsa_scatter_gather() 4229 if (use_sg + chained > h->maxSG) in hpsa_scatter_gather() 4230 h->maxSG = use_sg + chained; in hpsa_scatter_gather() [all …]
|
D | osst.h | 526 unsigned short use_sg; /* zero or number of s/g segments for this adapter */ member
|
D | advansys.c | 7519 int use_sg; in asc_build_req() local 7564 use_sg = scsi_dma_map(scp); in asc_build_req() 7565 if (use_sg < 0) { in asc_build_req() 7568 } else if (use_sg > 0) { in asc_build_req() 7573 if (use_sg > scp->device->host->sg_tablesize) { in asc_build_req() 7575 "sg_tablesize %d\n", use_sg, in asc_build_req() 7583 use_sg * sizeof(struct asc_sg_list), GFP_ATOMIC); in asc_build_req() 7595 asc_sg_head->entry_cnt = asc_scsi_q->q1.sg_queue_cnt = use_sg; in asc_build_req() 7602 scsi_for_each_sg(scp, slp, use_sg, sgcnt) { in asc_build_req() 7634 ADV_SCSI_REQ_Q *scsiqp, struct scsi_cmnd *scp, int use_sg) in adv_get_sglist() argument [all …]
|
D | ncr53c8xx.c | 540 int use_sg; in __map_scsi_sg_data() local 542 use_sg = scsi_dma_map(cmd); in __map_scsi_sg_data() 543 if (!use_sg) in __map_scsi_sg_data() 547 cmd->__data_mapping = use_sg; in __map_scsi_sg_data() 549 return use_sg; in __map_scsi_sg_data() 7650 int use_sg = scsi_sg_count(cmd); in ncr_scatter() local 7654 use_sg = map_scsi_sg_data(np, cmd); in ncr_scatter() 7655 if (use_sg > 0) { in ncr_scatter() 7659 if (use_sg > MAX_SCATTER) { in ncr_scatter() 7664 data = &cp->phys.data[MAX_SCATTER - use_sg]; in ncr_scatter() [all …]
|
D | osst.c | 357 int use_sg, int timeout, int retries) in osst_execute() argument 375 if (use_sg) { in osst_execute() 379 pages = kzalloc(use_sg * sizeof(struct page *), GFP_KERNEL); in osst_execute() 383 for_each_sg(sgl, sg, use_sg, i) in osst_execute() 430 unsigned short use_sg; in osst_do_scsi() local 471 use_sg = (bytes > STp->buffer->sg[0].length) ? STp->buffer->use_sg : 0; in osst_do_scsi() 472 if (use_sg) { in osst_do_scsi() 474 if (STp->buffer->sg_segs < use_sg) in osst_do_scsi() 475 use_sg = STp->buffer->sg_segs; in osst_do_scsi() 485 use_sg, timeout, retries)) in osst_do_scsi() [all …]
|
D | 3w-xxxx.c | 1689 int i, use_sg; in tw_scsiop_read_write() local 1744 use_sg = scsi_dma_map(srb); in tw_scsiop_read_write() 1745 if (use_sg <= 0) in tw_scsiop_read_write() 1748 scsi_for_each_sg(tw_dev->srb[request_id], sg, use_sg, i) { in tw_scsiop_read_write()
|
D | 3w-9xxx.c | 149 …execute_scsi(TW_Device_Extension *tw_dev, int request_id, char *cdb, int use_sg, TW_SG_Entry *sgli… 1801 …execute_scsi(TW_Device_Extension *tw_dev, int request_id, char *cdb, int use_sg, TW_SG_Entry *sgli… in DEF_SCSI_QCMD() 1875 for (i = 0; i < use_sg; i++) { in DEF_SCSI_QCMD() 1883 command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN(0, use_sg)); in DEF_SCSI_QCMD()
|
D | 3w-sas.c | 294 …execute_scsi(TW_Device_Extension *tw_dev, int request_id, char *cdb, int use_sg, TW_SG_Entry_ISO *… in twl_scsiop_execute_scsi() argument 352 for (i = 0; i < use_sg; i++) { in twl_scsiop_execute_scsi() 356 command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN(0, use_sg)); in twl_scsiop_execute_scsi()
|
D | u14-34f.c | 570 unsigned char use_sg; /* (if sg is set) 8 bytes per list */ member 1140 cpp->use_sg = scsi_sg_count(SCpnt); in map_dma() 1143 cpp->use_sg * sizeof(struct sg_list), in map_dma()
|
D | st.c | 1556 i = sgl_map_user_pages(STbp, STbp->use_sg, (unsigned long)buf, in setup_buffering() 3783 tb->use_sg = max_sg; in new_tape_buffer() 3812 max_segs = STbuffer->use_sg; in enlarge_buffer()
|
/linux-4.4.14/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.c | 261 int use_sg; in sym_scatter() local 265 use_sg = scsi_dma_map(cmd); in sym_scatter() 266 if (use_sg > 0) { in sym_scatter() 271 if (use_sg > SYM_CONF_MAX_SG) { in sym_scatter() 276 data = &cp->phys.data[SYM_CONF_MAX_SG - use_sg]; in sym_scatter() 278 scsi_for_each_sg(cmd, sg, use_sg, segment) { in sym_scatter()
|
/linux-4.4.14/drivers/usb/core/ |
D | message.c | 365 int use_sg; in usb_sg_init() local 378 use_sg = true; in usb_sg_init() 381 use_sg = false; in usb_sg_init() 413 if (use_sg) { in usb_sg_init()
|
/linux-4.4.14/include/linux/mfd/ |
D | rtsx_usb.h | 95 void *buf, unsigned int len, int use_sg,
|
/linux-4.4.14/drivers/scsi/arcmsr/ |
D | arcmsr_hba.c | 2224 unsigned short use_sg; in arcmsr_iop_message_xfer() local 2234 use_sg = scsi_sg_count(cmd); in arcmsr_iop_message_xfer() 2237 if (use_sg > 1) { in arcmsr_iop_message_xfer() 2459 if (use_sg) { in arcmsr_iop_message_xfer()
|
/linux-4.4.14/Documentation/scsi/ |
D | scsi_mid_low_api.txt | 1265 use_sg - ==0 -> no scatter gather list, hence transfer data 1268 request_buffer with use_sg elements 1270 depending on the setting of use_sg. Scatter gather
|
D | ChangeLog.megaraid | 72 > use_sg is 4
|
D | ChangeLog.1992-1997 | 698 * scsi.c (scsi_done): Restore cmd_len, use_sg here. 1800 * scsi.c: Minor changes here and there with datatypes. Save use_sg
|
D | ChangeLog.sym53c8xx | 405 happen, we just discard the data if use_sg is not zero.
|