Searched refs:use_sg (Results 1 - 25 of 34) sorted by relevance

12

/linux-master/drivers/staging/rts5208/
H A Drtsx_transport.h49 int use_sg, enum dma_data_direction dma_dir,
53 size_t len, int use_sg, unsigned int *index,
H A Drtsx_transport.c24 * (Note: for scatter-gather transfers (srb->use_sg > 0), srb->request_buffer
709 void *buf, size_t len, int use_sg,
719 if (use_sg) {
722 err = rtsx_transfer_sglist_adma_partial(chip, card, sg, use_sg,
741 int use_sg, enum dma_data_direction dma_dir, int timeout)
745 dev_dbg(rtsx_dev(chip), "use_sg = %d\n", use_sg); local
751 if (use_sg) {
753 use_sg, dma_dir, timeout);
708 rtsx_transfer_data_partial(struct rtsx_chip *chip, u8 card, void *buf, size_t len, int use_sg, unsigned int *index, unsigned int *offset, enum dma_data_direction dma_dir, int timeout) argument
740 rtsx_transfer_data(struct rtsx_chip *chip, u8 card, void *buf, size_t len, int use_sg, enum dma_data_direction dma_dir, int timeout) argument
/linux-master/drivers/soc/samsung/
H A Dexynos-asv.h48 bool use_sg; member in struct:exynos_asv
H A Dexynos5422-asv.c346 if (asv->use_sg) {
464 asv->use_sg = false;
466 asv->use_sg = exynos5422_asv_parse_sg(pkg_id);
/linux-master/drivers/usb/storage/
H A Dtransport.h83 void *buf, unsigned int length, int use_sg, int *residual);
H A Dsddr09.c391 int use_sg) {
418 buf, bulklen, use_sg, NULL);
439 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) {
444 buf, use_sg);
462 int count, int controlshift, unsigned char *buf, int use_sg) {
466 buf, use_sg);
480 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) {
485 buf, use_sg);
504 int count, int controlshift, unsigned char *buf, int use_sg) {
508 buf, use_sg);
389 sddr09_readX(struct us_data *us, int x, unsigned long fromaddress, int nr_of_pages, int bulklen, unsigned char *buf, int use_sg) argument
438 sddr09_read20(struct us_data *us, unsigned long fromaddress, int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) argument
461 sddr09_read21(struct us_data *us, unsigned long fromaddress, int count, int controlshift, unsigned char *buf, int use_sg) argument
479 sddr09_read22(struct us_data *us, unsigned long fromaddress, int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) argument
571 sddr09_writeX(struct us_data *us, unsigned long Waddress, unsigned long Eaddress, int nr_of_pages, int bulklen, unsigned char *buf, int use_sg) argument
615 sddr09_write_inplace(struct us_data *us, unsigned long address, int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) argument
1047 sddr09_read_control(struct us_data *us, unsigned long address, unsigned int blocks, unsigned char *content, int use_sg) argument
[all...]
H A Dshuttle_usbat.c261 int use_sg)
267 return usb_stor_bulk_transfer_sg(us, us->recv_bulk_pipe, buf, len, use_sg, NULL);
276 int use_sg)
282 return usb_stor_bulk_transfer_sg(us, us->send_bulk_pipe, buf, len, use_sg, NULL);
446 int use_sg)
467 result = usbat_bulk_read(us, buf, len, use_sg);
480 int use_sg)
502 result = usbat_bulk_write(us, buf, len, use_sg);
524 int use_sg,
602 pipe, buf, len, use_sg, NUL
258 usbat_bulk_read(struct us_data *us, void* buf, unsigned int len, int use_sg) argument
273 usbat_bulk_write(struct us_data *us, void* buf, unsigned int len, int use_sg) argument
443 usbat_read_block(struct us_data *us, void* buf, unsigned short len, int use_sg) argument
475 usbat_write_block(struct us_data *us, unsigned char access, void* buf, unsigned short len, int minutes, int use_sg) argument
512 usbat_hp8200e_rw_block_test(struct us_data *us, unsigned char access, unsigned char *registers, unsigned char *data_out, unsigned short num_registers, unsigned char data_reg, unsigned char status_reg, unsigned char timeout, unsigned char qualifier, int direction, void *buf, unsigned short len, int use_sg, int minutes) argument
736 usbat_read_blocks(struct us_data *us, void* buffer, int len, int use_sg) argument
778 usbat_write_blocks(struct us_data *us, void* buffer, int len, int use_sg) argument
[all...]
H A Dtransport.c489 void *buf, unsigned int length_left, int use_sg, int *residual)
495 if (use_sg) {
498 (struct scatterlist *) buf, use_sg,
488 usb_stor_bulk_transfer_sg(struct us_data* us, unsigned int pipe, void *buf, unsigned int length_left, int use_sg, int *residual) argument
/linux-master/drivers/usb/gadget/function/
H A Duvc_queue.h55 bool use_sg; member in struct:uvc_video_queue
H A Duvc_queue.c87 if (queue->use_sg) {
148 queue->use_sg = 1;
/linux-master/drivers/target/tcm_fc/
H A Dtfc_io.c58 int use_sg; local
88 use_sg = !(remaining % 4);
113 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len);
129 if (use_sg) {
/linux-master/drivers/usb/musb/
H A Dmusb_host.h42 bool use_sg; /* to track urb using sglist */ member in struct:musb_qh
/linux-master/drivers/scsi/
H A Dst.h53 unsigned short use_sg; /* zero or max number of s/g segments for this adapter */ member in struct:st_buffer
H A Dhpsa.c4580 int use_sg, i, sg_limit, chained; local
4585 use_sg = scsi_dma_map(cmd);
4586 if (use_sg < 0)
4587 return use_sg;
4589 if (!use_sg)
4600 chained = use_sg > h->max_cmd_sg_entries;
4601 sg_limit = chained ? h->max_cmd_sg_entries - 1 : use_sg;
4615 sg_limit = use_sg - sg_limit;
4625 if (use_sg + chained > h->maxSG)
4626 h->maxSG = use_sg
4741 int use_sg, i; local
4912 int use_sg, i; local
[all...]
H A D3w-xxxx.c82 Fix use_sg = 1 calculation bug.
1700 int i, use_sg; local
1755 use_sg = scsi_dma_map(srb);
1756 if (use_sg <= 0)
1759 scsi_for_each_sg(tw_dev->srb[request_id], sg, use_sg, i) {
H A Dncr53c8xx.c532 int use_sg; local
534 use_sg = scsi_dma_map(cmd);
535 if (!use_sg)
539 cmd_priv->data_mapping = use_sg;
541 return use_sg;
7476 int use_sg = scsi_sg_count(cmd); local
7480 use_sg = map_scsi_sg_data(np, cmd);
7481 if (use_sg > 0) {
7485 if (use_sg > MAX_SCATTER) {
7490 data = &cp->phys.data[MAX_SCATTER - use_sg];
[all...]
H A Dadvansys.c7426 int use_sg; local
7471 use_sg = scsi_dma_map(scp);
7472 if (use_sg < 0) {
7475 } else if (use_sg > 0) {
7480 if (use_sg > scp->device->host->sg_tablesize) {
7481 scmd_printk(KERN_ERR, scp, "use_sg %d > "
7482 "sg_tablesize %d\n", use_sg,
7489 asc_sg_head = kzalloc(struct_size(asc_sg_head, sg_list, use_sg),
7502 asc_sg_head->entry_cnt = asc_scsi_q->q1.sg_queue_cnt = use_sg;
7509 scsi_for_each_sg(scp, slp, use_sg, sgcn
7540 adv_get_sglist(struct asc_board *boardp, adv_req_t *reqp, ADV_SCSI_REQ_Q *scsiqp, struct scsi_cmnd *scp, int use_sg) argument
7653 int use_sg; local
[all...]
H A D3w-sas.c293 unsigned char *cdb, int use_sg,
349 for (i = 0; i < use_sg; i++) {
353 command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN(0, use_sg));
292 twl_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id, unsigned char *cdb, int use_sg, TW_SG_Entry_ISO *sglistarg) argument
/linux-master/drivers/usb/usbip/
H A Dstub_rx.c467 int use_sg = pdu->u.cmd_submit.transfer_flags & USBIP_URB_DMA_MAP_SG; local
476 * Smatch reported the error case where use_sg is true and buf_len is 0.
486 if (use_sg && !buf_len) {
493 if (use_sg) {
542 if (use_sg) {
/linux-master/drivers/mmc/host/
H A Dcavium.h70 bool use_sg; member in struct:cvm_mmc_host
H A Dcavium-thunderx.c110 host->use_sg = true;
H A Dcavium-octeon.c182 host->use_sg = true;
H A Dcavium.c403 if (host->use_sg && data->sg_len > 1)
619 if (host->use_sg && data->sg_len > 1)
1041 if (host->use_sg)
/linux-master/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.c241 int use_sg; local
245 use_sg = scsi_dma_map(cmd);
246 if (use_sg > 0) {
251 if (use_sg > SYM_CONF_MAX_SG) {
256 data = &cp->phys.data[SYM_CONF_MAX_SG - use_sg];
258 scsi_for_each_sg(cmd, sg, use_sg, segment) {
/linux-master/drivers/usb/core/
H A Dmessage.c508 int use_sg; local
521 use_sg = true;
524 use_sg = false;
556 if (use_sg) {

Completed in 544 milliseconds

12