/linux-4.1.27/drivers/usb/storage/ |
D | sddr09.c | 399 int use_sg) { in sddr09_readX() argument 426 buf, bulklen, use_sg, NULL); in sddr09_readX() 447 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read20() argument 452 buf, use_sg); in sddr09_read20() 470 int count, int controlshift, unsigned char *buf, int use_sg) { in sddr09_read21() argument 474 buf, use_sg); in sddr09_read21() 488 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read22() argument 493 buf, use_sg); in sddr09_read22() 512 int count, int controlshift, unsigned char *buf, int use_sg) { 516 buf, use_sg); [all …]
|
D | shuttle_usbat.c | 269 int use_sg) in usbat_bulk_read() argument 275 return usb_stor_bulk_transfer_sg(us, us->recv_bulk_pipe, buf, len, use_sg, NULL); in usbat_bulk_read() 284 int use_sg) in usbat_bulk_write() argument 290 return usb_stor_bulk_transfer_sg(us, us->send_bulk_pipe, buf, len, use_sg, NULL); in usbat_bulk_write() 453 int use_sg) in usbat_read_block() argument 474 result = usbat_bulk_read(us, buf, len, use_sg); in usbat_read_block() 487 int use_sg) in usbat_write_block() argument 509 result = usbat_bulk_write(us, buf, len, use_sg); in usbat_write_block() 531 int use_sg, in usbat_hp8200e_rw_block_test() argument 609 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 | 497 static int ene_send_scsi_cmd(struct us_data *us, u8 fDir, void *buf, int use_sg) in ene_send_scsi_cmd() argument 525 if (use_sg) { in ene_send_scsi_cmd()
|
/linux-4.1.27/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.1.27/drivers/target/tcm_fc/ |
D | tfc_io.c | 77 int use_sg; in ft_queue_data_in() local 107 use_sg = !(remaining % 4); in ft_queue_data_in() 132 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); in ft_queue_data_in() 148 if (use_sg) { in ft_queue_data_in()
|
/linux-4.1.27/drivers/usb/musb/ |
D | musb_host.h | 67 bool use_sg; /* to track urb using sglist */ member
|
D | musb_host.c | 1470 qh->use_sg = true; in musb_host_tx() 1472 if (qh->use_sg) { in musb_host_tx() 1491 if (qh->use_sg) { in musb_host_tx() 1493 qh->use_sg = false; in musb_host_tx() 1907 qh->use_sg = true; in musb_host_rx() 1912 if (qh->use_sg) { in musb_host_rx() 1942 if (qh->use_sg) in musb_host_rx() 1943 qh->use_sg = false; in musb_host_rx()
|
/linux-4.1.27/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 | 3263 int use_sg, i, sg_index, chained; in hpsa_scatter_gather() local 3268 use_sg = scsi_dma_map(cmd); in hpsa_scatter_gather() 3269 if (use_sg < 0) in hpsa_scatter_gather() 3270 return use_sg; in hpsa_scatter_gather() 3272 if (!use_sg) in hpsa_scatter_gather() 3278 scsi_for_each_sg(cmd, sg, use_sg, i) { in hpsa_scatter_gather() 3280 use_sg > h->max_cmd_sg_entries) { in hpsa_scatter_gather() 3292 if (use_sg + chained > h->maxSG) in hpsa_scatter_gather() 3293 h->maxSG = use_sg + chained; in hpsa_scatter_gather() 3297 cp->Header.SGTotal = cpu_to_le16(use_sg + 1); 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 | 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 | advansys.c | 7868 int use_sg; in asc_build_req() local 7912 use_sg = scsi_dma_map(scp); in asc_build_req() 7913 if (use_sg != 0) { in asc_build_req() 7918 if (use_sg > scp->device->host->sg_tablesize) { in asc_build_req() 7920 "sg_tablesize %d\n", use_sg, in asc_build_req() 7928 use_sg * sizeof(struct asc_sg_list), GFP_ATOMIC); in asc_build_req() 7940 asc_sg_head->entry_cnt = asc_scsi_q->q1.sg_queue_cnt = use_sg; in asc_build_req() 7947 scsi_for_each_sg(scp, slp, use_sg, sgcnt) { in asc_build_req() 7979 int use_sg) in adv_get_sglist() argument 7991 sg_elem_cnt = use_sg; in adv_get_sglist() [all …]
|
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 | 1502 i = sgl_map_user_pages(STbp, STbp->use_sg, (unsigned long)buf, in setup_buffering() 3729 tb->use_sg = max_sg; in new_tape_buffer() 3758 max_segs = STbuffer->use_sg; in enlarge_buffer()
|
/linux-4.1.27/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.1.27/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.1.27/include/linux/mfd/ |
D | rtsx_usb.h | 95 void *buf, unsigned int len, int use_sg,
|
/linux-4.1.27/drivers/scsi/arcmsr/ |
D | arcmsr_hba.c | 2227 unsigned short use_sg; in arcmsr_iop_message_xfer() local 2237 use_sg = scsi_sg_count(cmd); in arcmsr_iop_message_xfer() 2240 if (use_sg > 1) { in arcmsr_iop_message_xfer() 2462 if (use_sg) { in arcmsr_iop_message_xfer()
|
/linux-4.1.27/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.
|