/drivers/usb/storage/ |
D | sddr09.c | 403 int use_sg) { in sddr09_readX() argument 430 buf, bulklen, use_sg, NULL); in sddr09_readX() 451 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read20() argument 456 buf, use_sg); in sddr09_read20() 474 int count, int controlshift, unsigned char *buf, int use_sg) { in sddr09_read21() argument 478 buf, use_sg); in sddr09_read21() 492 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read22() argument 497 buf, use_sg); in sddr09_read22() 516 int count, int controlshift, unsigned char *buf, int use_sg) { 520 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()
|
/drivers/staging/rts5139/ |
D | rts51x_transport.h | 52 void *buf, unsigned int len, int use_sg, 56 unsigned int len, int use_sg,
|
D | sd_cprm.h | 40 unsigned int buf_len, int use_sg); 44 void *data_buf, unsigned int buf_len, int use_sg);
|
D | rts51x_transport.c | 552 void *buf, unsigned int len, int use_sg, in rts51x_transfer_data() argument 560 if (use_sg) { in rts51x_transfer_data() 564 use_sg, len, act_len, timeout); in rts51x_transfer_data() 576 unsigned int len, int use_sg, in rts51x_transfer_data_partial() argument 584 if (use_sg) { in rts51x_transfer_data_partial()
|
D | sd_cprm.c | 343 void *data_buf, unsigned int buf_len, int use_sg) in ext_rts51x_sd_execute_read_data() argument 425 if (use_sg) in ext_rts51x_sd_execute_read_data() 467 data_buf, buf_len, use_sg, NULL, in ext_rts51x_sd_execute_read_data() 548 void *data_buf, unsigned int buf_len, int use_sg) in ext_rts51x_sd_execute_write_data() argument 613 if (use_sg) in ext_rts51x_sd_execute_write_data() 706 data_buf, buf_len, use_sg, NULL, in ext_rts51x_sd_execute_write_data()
|
D | ms.h | 257 u16 sec_cnt, u8 cfg, int mode_2k, int use_sg, void *buf,
|
/drivers/target/tcm_fc/ |
D | tfc_io.c | 77 int use_sg; in ft_queue_data_in() local 103 use_sg = !(remaining % 4); in ft_queue_data_in() 128 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); in ft_queue_data_in() 144 if (use_sg) { in ft_queue_data_in()
|
/drivers/scsi/ |
D | 3w-sas.c | 309 int use_sg; in twl_map_scsi_sg_data() local 312 use_sg = scsi_dma_map(cmd); in twl_map_scsi_sg_data() 313 if (!use_sg) in twl_map_scsi_sg_data() 315 else if (use_sg < 0) { in twl_map_scsi_sg_data() 321 cmd->SCp.have_data_in = use_sg; in twl_map_scsi_sg_data() 323 return use_sg; in twl_map_scsi_sg_data() 327 …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 385 for (i = 0; i < use_sg; i++) { in twl_scsiop_execute_scsi() 389 command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN(0, use_sg)); in twl_scsiop_execute_scsi()
|
D | 3w-xxxx.c | 1288 int use_sg; in tw_map_scsi_sg_data() local 1292 use_sg = scsi_dma_map(cmd); in tw_map_scsi_sg_data() 1293 if (use_sg < 0) { in tw_map_scsi_sg_data() 1299 cmd->SCp.have_data_in = use_sg; in tw_map_scsi_sg_data() 1301 return use_sg; in tw_map_scsi_sg_data() 1727 int i, use_sg; in tw_scsiop_read_write() local 1782 use_sg = tw_map_scsi_sg_data(tw_dev->tw_pci_dev, tw_dev->srb[request_id]); in tw_scsiop_read_write() 1783 if (!use_sg) in tw_scsiop_read_write() 1786 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… 1420 int use_sg; in twa_map_scsi_sg_data() local 1423 use_sg = scsi_dma_map(cmd); in twa_map_scsi_sg_data() 1424 if (!use_sg) in twa_map_scsi_sg_data() 1426 else if (use_sg < 0) { in twa_map_scsi_sg_data() 1432 cmd->SCp.have_data_in = use_sg; in twa_map_scsi_sg_data() 1434 return use_sg; in twa_map_scsi_sg_data() 1820 …execute_scsi(TW_Device_Extension *tw_dev, int request_id, char *cdb, int use_sg, TW_SG_Entry *sgli… in DEF_SCSI_QCMD() 1895 for (i = 0; i < use_sg; i++) { in DEF_SCSI_QCMD() 1903 command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN(0, use_sg)); in DEF_SCSI_QCMD()
|
D | st.h | 53 unsigned short use_sg; /* zero or max number of s/g segments for this adapter */ member
|
D | hpsa.c | 2096 int use_sg, i, sg_index, chained; in hpsa_scatter_gather() local 2101 use_sg = scsi_dma_map(cmd); in hpsa_scatter_gather() 2102 if (use_sg < 0) in hpsa_scatter_gather() 2103 return use_sg; in hpsa_scatter_gather() 2105 if (!use_sg) in hpsa_scatter_gather() 2111 scsi_for_each_sg(cmd, sg, use_sg, i) { in hpsa_scatter_gather() 2113 use_sg > h->max_cmd_sg_entries) { in hpsa_scatter_gather() 2127 if (use_sg + chained > h->maxSG) in hpsa_scatter_gather() 2128 h->maxSG = use_sg + chained; in hpsa_scatter_gather() 2132 cp->Header.SGTotal = (u16) (use_sg + 1); in hpsa_scatter_gather() [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 | 355 int use_sg, int timeout, int retries) in osst_execute() argument 373 if (use_sg) { in osst_execute() 377 pages = kzalloc(use_sg * sizeof(struct page *), GFP_KERNEL); in osst_execute() 381 for_each_sg(sgl, sg, use_sg, i) in osst_execute() 428 unsigned short use_sg; in osst_do_scsi() local 469 use_sg = (bytes > STp->buffer->sg[0].length) ? STp->buffer->use_sg : 0; in osst_do_scsi() 470 if (use_sg) { in osst_do_scsi() 472 if (STp->buffer->sg_segs < use_sg) in osst_do_scsi() 473 use_sg = STp->buffer->sg_segs; in osst_do_scsi() 483 use_sg, timeout, retries)) in osst_do_scsi() [all …]
|
D | osst.h | 526 unsigned short use_sg; /* zero or number of s/g segments for this adapter */ member
|
/drivers/usb/musb/ |
D | musb_host.h | 77 bool use_sg; /* to track urb using sglist */ member
|
D | musb_host.c | 1465 qh->use_sg = true; in musb_host_tx() 1467 if (qh->use_sg) { in musb_host_tx() 1486 if (qh->use_sg) { in musb_host_tx() 1488 qh->use_sg = false; in musb_host_tx() 1879 qh->use_sg = true; in musb_host_rx() 1884 if (qh->use_sg) { in musb_host_rx() 1914 if (qh->use_sg) in musb_host_rx() 1915 qh->use_sg = false; in musb_host_rx()
|
/drivers/staging/keucr/ |
D | transport.h | 42 void *buf, unsigned int length, int use_sg, int *residual);
|
D | init.c | 158 int ENE_SendScsiCmd(struct us_data *us, BYTE fDir, void *buf, int use_sg) in ENE_SendScsiCmd() argument 186 if (use_sg) in ENE_SendScsiCmd()
|
D | transport.c | 268 void *buf, unsigned int length_left, int use_sg, int *residual) in usb_stor_bulk_transfer_sg() argument 275 if (use_sg) { in usb_stor_bulk_transfer_sg() 278 (struct scatterlist *) buf, use_sg, in usb_stor_bulk_transfer_sg()
|
/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()
|
/drivers/usb/core/ |
D | message.c | 361 int use_sg; in usb_sg_init() local 374 use_sg = true; in usb_sg_init() 377 use_sg = false; in usb_sg_init() 409 if (use_sg) { in usb_sg_init()
|