| /linux/drivers/usb/storage/ |
| H A D | sddr09.c | 391 int use_sg) { in sddr09_readX() argument 418 buf, bulklen, use_sg, NULL); in sddr09_readX() 439 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read20() argument 444 buf, use_sg); in sddr09_read20() 462 int count, int controlshift, unsigned char *buf, int use_sg) { in sddr09_read21() argument 466 buf, use_sg); in sddr09_read21() 480 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read22() argument 485 buf, use_sg); in sddr09_read22() 504 int count, int controlshift, unsigned char *buf, int use_sg) { 508 buf, use_sg); [all …]
|
| H A D | shuttle_usbat.c | 262 int use_sg) in usbat_bulk_read() argument 268 return usb_stor_bulk_transfer_sg(us, us->recv_bulk_pipe, buf, len, use_sg, NULL); in usbat_bulk_read() 277 int use_sg) in usbat_bulk_write() argument 283 return usb_stor_bulk_transfer_sg(us, us->send_bulk_pipe, buf, len, use_sg, NULL); in usbat_bulk_write() 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() [all …]
|
| H A D | transport.h | 83 void *buf, unsigned int length, int use_sg, int *residual);
|
| H A D | transport.c | 489 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()
|
| H A D | ene_ub6250.c | 490 static int ene_send_scsi_cmd(struct us_data *us, u8 fDir, void *buf, int use_sg) in ene_send_scsi_cmd() argument 518 if (use_sg) { in ene_send_scsi_cmd()
|
| /linux/drivers/soc/samsung/ |
| H A D | exynos5422-asv.c | 346 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 D | exynos-asv.h | 48 bool use_sg; member
|
| /linux/drivers/target/tcm_fc/ |
| H A D | tfc_io.c | 58 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/drivers/usb/gadget/function/ |
| H A D | uvc_queue.c | 78 if (queue->use_sg) { in uvc_buffer_prepare() 149 queue->use_sg = 1; in uvcg_queue_init() 187 if (ret < 0 && queue->use_sg) { in uvcg_alloc_buffers() 190 queue->use_sg = 0; in uvcg_alloc_buffers()
|
| H A D | f_fs.c | 256 bool use_sg; member 840 if (io_data->use_sg) in ffs_alloc_buffer() 851 if (io_data->use_sg) { in ffs_free_buffer() 1065 io_data->use_sg = gadget->sg_supported && data_len > PAGE_SIZE; in ffs_epfile_io() 1107 if (io_data->use_sg) { in ffs_epfile_io() 1158 if (io_data->use_sg) { in ffs_epfile_io()
|
| H A D | uvc_video.c | 791 video->encode = video->queue.use_sg ? in uvcg_video_enable()
|
| /linux/drivers/usb/usbip/ |
| H A D | stub_rx.c | 476 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/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()
|
| /linux/drivers/scsi/ |
| H A D | st.h | 53 unsigned short use_sg; /* zero or max number of s/g segments for this adapter */ member
|
| H A D | hpsa.c | 4566 int use_sg, i, sg_limit, chained; in hpsa_scatter_gather() local 4571 use_sg = scsi_dma_map(cmd); in hpsa_scatter_gather() 4572 if (use_sg < 0) in hpsa_scatter_gather() 4573 return use_sg; in hpsa_scatter_gather() 4575 if (!use_sg) in hpsa_scatter_gather() 4586 chained = use_sg > h->max_cmd_sg_entries; in hpsa_scatter_gather() 4587 sg_limit = chained ? h->max_cmd_sg_entries - 1 : use_sg; in hpsa_scatter_gather() 4601 sg_limit = use_sg - sg_limit; in hpsa_scatter_gather() 4611 if (use_sg + chained > h->maxSG) in hpsa_scatter_gather() 4612 h->maxSG = use_sg + chained; in hpsa_scatter_gather() [all …]
|
| H A D | advansys.c | 7426 int use_sg; in asc_build_req() local 7471 use_sg = scsi_dma_map(scp); in asc_build_req() 7472 if (use_sg < 0) { in asc_build_req() 7475 } else if (use_sg > 0) { in asc_build_req() 7480 if (use_sg > scp->device->host->sg_tablesize) { in asc_build_req() 7482 "sg_tablesize %d\n", use_sg, in asc_build_req() 7489 asc_sg_head = kzalloc_flex(*asc_sg_head, sg_list, use_sg, in asc_build_req() 7502 asc_sg_head->entry_cnt = asc_scsi_q->q1.sg_queue_cnt = use_sg; in asc_build_req() 7509 scsi_for_each_sg(scp, slp, use_sg, sgcnt) { in asc_build_req() 7541 ADV_SCSI_REQ_Q *scsiqp, struct scsi_cmnd *scp, int use_sg) in adv_get_sglist() argument [all …]
|
| H A D | 3w-9xxx.c | 147 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 D | 3w-sas.c | 293 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()
|
| H A D | st.c | 1585 i = sgl_map_user_pages(STbp, STbp->use_sg, (unsigned long)buf, in setup_buffering() 3982 tb->use_sg = max_sg; in new_tape_buffer() 4009 max_segs = STbuffer->use_sg; in enlarge_buffer()
|
| /linux/drivers/mmc/host/ |
| H A D | cavium-thunderx.c | 110 host->use_sg = true; in thunder_mmc_probe()
|
| H A D | cavium.h | 70 bool use_sg; member
|
| 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()
|
| /linux/drivers/usb/core/ |
| H A D | message.c | 566 int use_sg; in usb_sg_init() local 579 use_sg = true; in usb_sg_init() 582 use_sg = false; in usb_sg_init() 614 if (use_sg) { in usb_sg_init()
|
| /linux/Documentation/scsi/ |
| H A D | ChangeLog.megaraid | 72 > use_sg is 4
|