use_sg 181 drivers/mmc/host/cavium-octeon.c host->use_sg = true; use_sg 105 drivers/mmc/host/cavium-thunderx.c host->use_sg = true; use_sg 403 drivers/mmc/host/cavium.c if (host->use_sg && data->sg_len > 1) use_sg 620 drivers/mmc/host/cavium.c if (host->use_sg && data->sg_len > 1) use_sg 1044 drivers/mmc/host/cavium.c if (host->use_sg) use_sg 70 drivers/mmc/host/cavium.h bool use_sg; use_sg 147 drivers/scsi/3w-9xxx.c unsigned char *cdb, int use_sg, use_sg 1804 drivers/scsi/3w-9xxx.c unsigned char *cdb, int use_sg, use_sg 1879 drivers/scsi/3w-9xxx.c for (i = 0; i < use_sg; i++) { use_sg 1887 drivers/scsi/3w-9xxx.c command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN(0, use_sg)); use_sg 291 drivers/scsi/3w-sas.c unsigned char *cdb, int use_sg, use_sg 350 drivers/scsi/3w-sas.c for (i = 0; i < use_sg; i++) { use_sg 354 drivers/scsi/3w-sas.c command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN(0, use_sg)); use_sg 1702 drivers/scsi/3w-xxxx.c int i, use_sg; use_sg 1757 drivers/scsi/3w-xxxx.c use_sg = scsi_dma_map(srb); use_sg 1758 drivers/scsi/3w-xxxx.c if (use_sg <= 0) use_sg 1761 drivers/scsi/3w-xxxx.c scsi_for_each_sg(tw_dev->srb[request_id], sg, use_sg, i) { use_sg 7512 drivers/scsi/advansys.c int use_sg; use_sg 7557 drivers/scsi/advansys.c use_sg = scsi_dma_map(scp); use_sg 7558 drivers/scsi/advansys.c if (use_sg < 0) { use_sg 7561 drivers/scsi/advansys.c } else if (use_sg > 0) { use_sg 7566 drivers/scsi/advansys.c if (use_sg > scp->device->host->sg_tablesize) { use_sg 7568 drivers/scsi/advansys.c "sg_tablesize %d\n", use_sg, use_sg 7576 drivers/scsi/advansys.c use_sg * sizeof(struct asc_sg_list), GFP_ATOMIC); use_sg 7588 drivers/scsi/advansys.c asc_sg_head->entry_cnt = asc_scsi_q->q1.sg_queue_cnt = use_sg; use_sg 7595 drivers/scsi/advansys.c scsi_for_each_sg(scp, slp, use_sg, sgcnt) { use_sg 7627 drivers/scsi/advansys.c ADV_SCSI_REQ_Q *scsiqp, struct scsi_cmnd *scp, int use_sg) use_sg 7637 drivers/scsi/advansys.c sg_elem_cnt = use_sg; use_sg 7739 drivers/scsi/advansys.c int use_sg; use_sg 7803 drivers/scsi/advansys.c use_sg = scsi_dma_map(scp); use_sg 7804 drivers/scsi/advansys.c if (use_sg < 0) { use_sg 7808 drivers/scsi/advansys.c } else if (use_sg == 0) { use_sg 7817 drivers/scsi/advansys.c if (use_sg > ADV_MAX_SG_LIST) { use_sg 7819 drivers/scsi/advansys.c "ADV_MAX_SG_LIST %d\n", use_sg, use_sg 7831 drivers/scsi/advansys.c ret = adv_get_sglist(boardp, reqp, scsiqp, scp, use_sg); use_sg 7841 drivers/scsi/advansys.c ASC_STATS_ADD(scp->device->host, xfer_elem, use_sg); use_sg 2771 drivers/scsi/arcmsr/arcmsr_hba.c unsigned short use_sg; use_sg 2781 drivers/scsi/arcmsr/arcmsr_hba.c use_sg = scsi_sg_count(cmd); use_sg 2784 drivers/scsi/arcmsr/arcmsr_hba.c if (use_sg > 1) { use_sg 3014 drivers/scsi/arcmsr/arcmsr_hba.c if (use_sg) { use_sg 4549 drivers/scsi/hpsa.c int use_sg, i, sg_limit, chained, last_sg; use_sg 4554 drivers/scsi/hpsa.c use_sg = scsi_dma_map(cmd); use_sg 4555 drivers/scsi/hpsa.c if (use_sg < 0) use_sg 4556 drivers/scsi/hpsa.c return use_sg; use_sg 4558 drivers/scsi/hpsa.c if (!use_sg) use_sg 4569 drivers/scsi/hpsa.c chained = use_sg > h->max_cmd_sg_entries; use_sg 4570 drivers/scsi/hpsa.c sg_limit = chained ? h->max_cmd_sg_entries - 1 : use_sg; use_sg 4585 drivers/scsi/hpsa.c sg_limit = use_sg - sg_limit; use_sg 4595 drivers/scsi/hpsa.c if (use_sg + chained > h->maxSG) use_sg 4596 drivers/scsi/hpsa.c h->maxSG = use_sg + chained; use_sg 4600 drivers/scsi/hpsa.c cp->Header.SGTotal = cpu_to_le16(use_sg + 1); use_sg 4610 drivers/scsi/hpsa.c cp->Header.SGList = (u8) use_sg; /* no. SGs contig in this cmd */ use_sg 4611 drivers/scsi/hpsa.c cp->Header.SGTotal = cpu_to_le16(use_sg); /* total sgs in cmd list */ use_sg 4711 drivers/scsi/hpsa.c int use_sg, i; use_sg 4741 drivers/scsi/hpsa.c use_sg = scsi_dma_map(cmd); use_sg 4742 drivers/scsi/hpsa.c if (use_sg < 0) { use_sg 4744 drivers/scsi/hpsa.c return use_sg; use_sg 4747 drivers/scsi/hpsa.c if (use_sg) { use_sg 4749 drivers/scsi/hpsa.c scsi_for_each_sg(cmd, sg, use_sg, i) { use_sg 4780 drivers/scsi/hpsa.c c->Header.SGList = use_sg; use_sg 4882 drivers/scsi/hpsa.c int use_sg, i; use_sg 4916 drivers/scsi/hpsa.c use_sg = scsi_dma_map(cmd); use_sg 4917 drivers/scsi/hpsa.c if (use_sg < 0) { use_sg 4919 drivers/scsi/hpsa.c return use_sg; use_sg 4922 drivers/scsi/hpsa.c if (use_sg) { use_sg 4924 drivers/scsi/hpsa.c if (use_sg > h->ioaccel_maxsg) { use_sg 4936 drivers/scsi/hpsa.c scsi_for_each_sg(cmd, sg, use_sg, i) { use_sg 4991 drivers/scsi/hpsa.c if (use_sg > h->ioaccel_maxsg) { use_sg 4993 drivers/scsi/hpsa.c cp->sg[0].length = cpu_to_le32(use_sg * sizeof(cp->sg[0])); use_sg 5000 drivers/scsi/hpsa.c cp->sg_count = (u8) use_sg; use_sg 528 drivers/scsi/ncr53c8xx.c int use_sg; use_sg 530 drivers/scsi/ncr53c8xx.c use_sg = scsi_dma_map(cmd); use_sg 531 drivers/scsi/ncr53c8xx.c if (!use_sg) use_sg 535 drivers/scsi/ncr53c8xx.c cmd->__data_mapping = use_sg; use_sg 537 drivers/scsi/ncr53c8xx.c return use_sg; use_sg 7642 drivers/scsi/ncr53c8xx.c int use_sg = scsi_sg_count(cmd); use_sg 7646 drivers/scsi/ncr53c8xx.c use_sg = map_scsi_sg_data(np, cmd); use_sg 7647 drivers/scsi/ncr53c8xx.c if (use_sg > 0) { use_sg 7651 drivers/scsi/ncr53c8xx.c if (use_sg > MAX_SCATTER) { use_sg 7656 drivers/scsi/ncr53c8xx.c data = &cp->phys.data[MAX_SCATTER - use_sg]; use_sg 7658 drivers/scsi/ncr53c8xx.c scsi_for_each_sg(cmd, sg, use_sg, segment) { use_sg 1556 drivers/scsi/st.c i = sgl_map_user_pages(STbp, STbp->use_sg, (unsigned long)buf, use_sg 3888 drivers/scsi/st.c tb->use_sg = max_sg; use_sg 3917 drivers/scsi/st.c max_segs = STbuffer->use_sg; use_sg 54 drivers/scsi/st.h unsigned short use_sg; /* zero or max number of s/g segments for this adapter */ use_sg 248 drivers/scsi/sym53c8xx_2/sym_glue.c int use_sg; use_sg 252 drivers/scsi/sym53c8xx_2/sym_glue.c use_sg = scsi_dma_map(cmd); use_sg 253 drivers/scsi/sym53c8xx_2/sym_glue.c if (use_sg > 0) { use_sg 258 drivers/scsi/sym53c8xx_2/sym_glue.c if (use_sg > SYM_CONF_MAX_SG) { use_sg 263 drivers/scsi/sym53c8xx_2/sym_glue.c data = &cp->phys.data[SYM_CONF_MAX_SG - use_sg]; use_sg 265 drivers/scsi/sym53c8xx_2/sym_glue.c scsi_for_each_sg(cmd, sg, use_sg, segment) { use_sg 97 drivers/staging/rts5208/ms.c int use_sg, void *buf, int buf_len) use_sg 141 drivers/staging/rts5208/ms.c use_sg, dir, chip->mspro_timeout); use_sg 711 drivers/staging/rts5208/rtsx_transport.c void *buf, size_t len, int use_sg, use_sg 721 drivers/staging/rts5208/rtsx_transport.c if (use_sg) { use_sg 724 drivers/staging/rts5208/rtsx_transport.c err = rtsx_transfer_sglist_adma_partial(chip, card, sg, use_sg, use_sg 743 drivers/staging/rts5208/rtsx_transport.c int use_sg, enum dma_data_direction dma_dir, int timeout) use_sg 747 drivers/staging/rts5208/rtsx_transport.c dev_dbg(rtsx_dev(chip), "use_sg = %d\n", use_sg); use_sg 753 drivers/staging/rts5208/rtsx_transport.c if (use_sg) { use_sg 755 drivers/staging/rts5208/rtsx_transport.c use_sg, dma_dir, timeout); use_sg 49 drivers/staging/rts5208/rtsx_transport.h int use_sg, enum dma_data_direction dma_dir, use_sg 53 drivers/staging/rts5208/rtsx_transport.h size_t len, int use_sg, unsigned int *index, use_sg 59 drivers/target/tcm_fc/tfc_io.c int use_sg; use_sg 89 drivers/target/tcm_fc/tfc_io.c use_sg = !(remaining % 4); use_sg 114 drivers/target/tcm_fc/tfc_io.c fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); use_sg 130 drivers/target/tcm_fc/tfc_io.c if (use_sg) { use_sg 373 drivers/usb/core/message.c int use_sg; use_sg 386 drivers/usb/core/message.c use_sg = true; use_sg 389 drivers/usb/core/message.c use_sg = false; use_sg 421 drivers/usb/core/message.c if (use_sg) { use_sg 227 drivers/usb/gadget/function/f_fs.c bool use_sg; use_sg 799 drivers/usb/gadget/function/f_fs.c if (io_data->use_sg) use_sg 810 drivers/usb/gadget/function/f_fs.c if (io_data->use_sg) { use_sg 1016 drivers/usb/gadget/function/f_fs.c io_data->use_sg = gadget->sg_supported && data_len > PAGE_SIZE; use_sg 1059 drivers/usb/gadget/function/f_fs.c if (io_data->use_sg) { use_sg 1103 drivers/usb/gadget/function/f_fs.c if (io_data->use_sg) { use_sg 1962 drivers/usb/musb/musb_host.c qh->use_sg = true; use_sg 1967 drivers/usb/musb/musb_host.c if (qh->use_sg) { use_sg 1997 drivers/usb/musb/musb_host.c if (qh->use_sg) { use_sg 1998 drivers/usb/musb/musb_host.c qh->use_sg = false; use_sg 42 drivers/usb/musb/musb_host.h bool use_sg; /* to track urb using sglist */ use_sg 493 drivers/usb/storage/ene_ub6250.c static int ene_send_scsi_cmd(struct us_data *us, u8 fDir, void *buf, int use_sg) use_sg 521 drivers/usb/storage/ene_ub6250.c if (use_sg) { use_sg 391 drivers/usb/storage/sddr09.c int use_sg) { use_sg 418 drivers/usb/storage/sddr09.c buf, bulklen, use_sg, NULL); use_sg 439 drivers/usb/storage/sddr09.c int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { use_sg 444 drivers/usb/storage/sddr09.c buf, use_sg); use_sg 462 drivers/usb/storage/sddr09.c int count, int controlshift, unsigned char *buf, int use_sg) { use_sg 466 drivers/usb/storage/sddr09.c buf, use_sg); use_sg 480 drivers/usb/storage/sddr09.c int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { use_sg 485 drivers/usb/storage/sddr09.c buf, use_sg); use_sg 504 drivers/usb/storage/sddr09.c int count, int controlshift, unsigned char *buf, int use_sg) { use_sg 508 drivers/usb/storage/sddr09.c buf, use_sg); use_sg 573 drivers/usb/storage/sddr09.c int nr_of_pages, int bulklen, unsigned char *buf, int use_sg) { use_sg 603 drivers/usb/storage/sddr09.c buf, bulklen, use_sg, NULL); use_sg 617 drivers/usb/storage/sddr09.c int use_sg) { use_sg 620 drivers/usb/storage/sddr09.c buf, use_sg); use_sg 1051 drivers/usb/storage/sddr09.c int use_sg) { use_sg 1057 drivers/usb/storage/sddr09.c CONTROL_SHIFT, content, use_sg); use_sg 261 drivers/usb/storage/shuttle_usbat.c int use_sg) use_sg 267 drivers/usb/storage/shuttle_usbat.c return usb_stor_bulk_transfer_sg(us, us->recv_bulk_pipe, buf, len, use_sg, NULL); use_sg 276 drivers/usb/storage/shuttle_usbat.c int use_sg) use_sg 282 drivers/usb/storage/shuttle_usbat.c return usb_stor_bulk_transfer_sg(us, us->send_bulk_pipe, buf, len, use_sg, NULL); use_sg 446 drivers/usb/storage/shuttle_usbat.c int use_sg) use_sg 467 drivers/usb/storage/shuttle_usbat.c result = usbat_bulk_read(us, buf, len, use_sg); use_sg 480 drivers/usb/storage/shuttle_usbat.c int use_sg) use_sg 502 drivers/usb/storage/shuttle_usbat.c result = usbat_bulk_write(us, buf, len, use_sg); use_sg 524 drivers/usb/storage/shuttle_usbat.c int use_sg, use_sg 602 drivers/usb/storage/shuttle_usbat.c pipe, buf, len, use_sg, NULL); use_sg 739 drivers/usb/storage/shuttle_usbat.c int use_sg) use_sg 759 drivers/usb/storage/shuttle_usbat.c result = usbat_bulk_read(us, buffer, len, use_sg); use_sg 781 drivers/usb/storage/shuttle_usbat.c int use_sg) use_sg 801 drivers/usb/storage/shuttle_usbat.c result = usbat_bulk_write(us, buffer, len, use_sg); use_sg 484 drivers/usb/storage/transport.c void *buf, unsigned int length_left, int use_sg, int *residual) use_sg 490 drivers/usb/storage/transport.c if (use_sg) { use_sg 493 drivers/usb/storage/transport.c (struct scatterlist *) buf, use_sg, use_sg 83 drivers/usb/storage/transport.h void *buf, unsigned int length, int use_sg, int *residual); use_sg 465 drivers/usb/usbip/stub_rx.c int use_sg = pdu->u.cmd_submit.transfer_flags & URB_DMA_MAP_SG; use_sg 484 drivers/usb/usbip/stub_rx.c if (use_sg && !buf_len) { use_sg 491 drivers/usb/usbip/stub_rx.c if (use_sg) { use_sg 540 drivers/usb/usbip/stub_rx.c if (use_sg) { use_sg 84 include/linux/rtsx_usb.h void *buf, unsigned int len, int use_sg,