Home
last modified time | relevance | path

Searched refs:transfer_flags (Results 1 – 25 of 169) sorted by relevance

1234567

/linux/drivers/usb/usbip/
A Dusbip_common.c243 dev_dbg(dev, " transfer_flags :%08X\n", urb->transfer_flags); in usbip_dump_urb()
271 pdu->u.cmd_submit.transfer_flags, in usbip_dump_header()
357 spdu->transfer_flags = in usbip_pack_cmd_submit()
358 tweak_transfer_flags(urb->transfer_flags); in usbip_pack_cmd_submit()
364 urb->transfer_flags = spdu->transfer_flags; in usbip_pack_cmd_submit()
431 pdu->transfer_flags = cpu_to_be32(pdu->transfer_flags); in correct_endian_cmd_submit()
438 pdu->transfer_flags = be32_to_cpu(pdu->transfer_flags); in correct_endian_cmd_submit()
A Dstub_rx.c436 urb->transfer_flags &= allowed; in masking_bogus_flags()
465 int use_sg = pdu->u.cmd_submit.transfer_flags & URB_DMA_MAP_SG; in stub_recv_cmd_submit()
514 pdu->u.cmd_submit.transfer_flags &= in stub_recv_cmd_submit()
A Dvhci_rx.c99 urb->transfer_flags &= ~URB_DMA_MAP_SG; in vhci_recv_ret_submit()
/linux/drivers/usb/core/
A Durb.c23 if (urb->transfer_flags & URB_FREE_BUFFER) in urb_destroy()
424 urb->transfer_flags &= ~(URB_DIR_MASK | URB_DMA_MAP_SINGLE | in usb_submit_urb()
428 urb->transfer_flags |= (is_out ? URB_DIR_OUT : URB_DIR_IN); in usb_submit_urb()
522 allowed &= urb->transfer_flags; in usb_submit_urb()
525 if (allowed != urb->transfer_flags) in usb_submit_urb()
527 urb->transfer_flags, allowed); in usb_submit_urb()
A Dhcd.c1360 (urb->transfer_flags & URB_DMA_MAP_SG)) in usb_hcd_unmap_urb_for_dma()
1366 (urb->transfer_flags & URB_DMA_MAP_PAGE)) in usb_hcd_unmap_urb_for_dma()
1372 (urb->transfer_flags & URB_DMA_MAP_SINGLE)) in usb_hcd_unmap_urb_for_dma()
1377 else if (urb->transfer_flags & URB_MAP_LOCAL) in usb_hcd_unmap_urb_for_dma()
1423 urb->transfer_flags |= URB_SETUP_MAP_LOCAL; in usb_hcd_map_urb_for_dma()
1438 urb->transfer_flags |= URB_SETUP_MAP_SINGLE; in usb_hcd_map_urb_for_dma()
1453 urb->transfer_flags |= URB_MAP_LOCAL; in usb_hcd_map_urb_for_dma()
1472 urb->transfer_flags |= URB_DMA_MAP_SG; in usb_hcd_map_urb_for_dma()
1475 urb->transfer_flags |= in usb_hcd_map_urb_for_dma()
1489 urb->transfer_flags |= URB_DMA_MAP_PAGE; in usb_hcd_map_urb_for_dma()
[all …]
/linux/drivers/usb/host/
A Dfhci-q.c195 urb->transfer_flags & URB_SHORT_NOT_OK) in fhci_urb_complete_free()
222 if (!(urb->transfer_flags & URB_SHORT_NOT_OK && in fhci_done_td()
248 if (!(urb->transfer_flags & URB_SHORT_NOT_OK) && in fhci_done_td()
A Dohci-q.c539 || (urb->transfer_flags & URB_NO_INTERRUPT)) in td_fill()
661 if (!(urb->transfer_flags & URB_SHORT_NOT_OK)) in td_submit_urb()
679 if ((urb->transfer_flags & URB_ZERO_PACKET) in td_submit_urb()
806 && !(urb->transfer_flags & URB_SHORT_NOT_OK)) in td_done()
880 if ((urb->transfer_flags & URB_SHORT_NOT_OK) == 0) in ed_halted()
/linux/drivers/usb/misc/
A Dusbtest.c261 unsigned transfer_flags, in usbtest_alloc_urb() argument
282 urb->transfer_flags = transfer_flags; in usbtest_alloc_urb()
284 urb->transfer_flags |= URB_SHORT_NOT_OK; in usbtest_alloc_urb()
289 if (urb->transfer_flags & URB_NO_TRANSFER_DMA_MAP) in usbtest_alloc_urb()
305 if (urb->transfer_flags & URB_NO_TRANSFER_DMA_MAP) in usbtest_alloc_urb()
443 if (urb->transfer_flags & URB_NO_TRANSFER_DMA_MAP) in simple_free_urb()
474 urb->transfer_flags |= URB_ZERO_PACKET; in simple_io()
1450 urb->transfer_flags |= URB_ZERO_PACKET; in unlink1()
1589 ctx.urbs[i]->transfer_flags |= URB_ZERO_PACKET; in unlink_queued()
1800 urb->transfer_flags |= URB_ZERO_PACKET; in toggle_sync_simple()
[all …]
A Dyurex.c253 dev->cntl_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in yurex_probe()
274 dev->urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in yurex_probe()
/linux/drivers/usb/chipidea/
A Dhost.c380 if (!(urb->transfer_flags & URB_ALIGNED_TEMP_BUFFER)) in ci_hdrc_free_dma_aligned_buffer()
397 urb->transfer_flags &= ~URB_ALIGNED_TEMP_BUFFER; in ci_hdrc_free_dma_aligned_buffer()
428 urb->transfer_flags |= URB_ALIGNED_TEMP_BUFFER; in ci_hdrc_alloc_dma_aligned_buffer()
/linux/drivers/media/usb/dvb-usb/
A Dusb-urb.c161 stream->urb_list[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP; in usb_bulk_urb_init()
195 urb->transfer_flags = URB_ISO_ASAP | URB_NO_TRANSFER_DMA_MAP; in usb_isoc_urb_init()
/linux/drivers/net/wireless/ath/carl9170/
A Dusb.c478 urb->transfer_flags |= URB_FREE_BUFFER; in carl9170_usb_alloc_rx_urb()
501 urb->transfer_flags |= URB_FREE_BUFFER; in carl9170_usb_send_rx_irq_urb()
638 urb->transfer_flags |= URB_FREE_BUFFER; in __carl9170_exec_cmd()
745 urb->transfer_flags |= URB_ZERO_PACKET; in carl9170_usb_tx()
/linux/drivers/bluetooth/
A Dbpa10x.c145 urb->transfer_flags |= URB_FREE_BUFFER; in bpa10x_submit_intr_urb()
185 urb->transfer_flags |= URB_FREE_BUFFER; in bpa10x_submit_bulk_urb()
/linux/drivers/media/usb/stk1160/
A Dstk1160-video.c484 urb->transfer_flags = URB_ISO_ASAP | URB_NO_TRANSFER_DMA_MAP; in stk1160_alloc_isoc()
486 urb->transfer_flags = URB_ISO_ASAP; in stk1160_alloc_isoc()
/linux/drivers/hid/usbhid/
A Dusbkbd.c339 kbd->irq->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in usb_kbd_probe()
351 kbd->led->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in usb_kbd_probe()
/linux/drivers/net/usb/
A Dcdc-phonet.c63 req->transfer_flags = URB_ZERO_PACKET; in usbpn_xmit()
128 req->transfer_flags = 0; in rx_submit()
A Dipheth.c323 dev->rx_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in ipheth_rx_submit()
384 dev->tx_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in ipheth_tx()
/linux/drivers/usb/musb/
A Dmusb_host.c476 && (urb->transfer_flags & URB_SHORT_NOT_OK) in musb_host_packet_rx()
616 *mode = (urb->transfer_flags & URB_ZERO_PACKET) ? 1 : 0; in musb_tx_dma_set_mode_cppi_tusb()
872 packet_sz, !(urb->transfer_flags & in musb_ep_program()
1379 && !(urb->transfer_flags in musb_host_tx()
1649 if ((urb->transfer_flags & URB_SHORT_NOT_OK) in musb_rx_dma_in_inventra_cppi41()
2555 if (!(urb->transfer_flags & URB_ALIGNED_TEMP_BUFFER)) in musb_free_temp_buffer()
2574 urb->transfer_flags &= ~URB_ALIGNED_TEMP_BUFFER; in musb_free_temp_buffer()
2610 urb->transfer_flags |= URB_ALIGNED_TEMP_BUFFER; in musb_alloc_temp_buffer()
/linux/drivers/staging/rtl8712/
A Dusb_ops_linux.c438 purb->transfer_flags &= (~URB_NO_INTERRUPT); in r8712_usb_write_port()
440 purb->transfer_flags |= URB_NO_INTERRUPT; in r8712_usb_write_port()
/linux/drivers/media/rc/
A Diguanair.c430 ir->urb_out->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in iguanair_probe()
436 ir->urb_in->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in iguanair_probe()
/linux/Documentation/driver-api/usb/
A Ddma.rst21 - URBs have an additional "transfer_dma" field, as well as a transfer_flags
47 You'd also set ``URB_NO_TRANSFER_DMA_MAP`` in urb->transfer_flags::
A DURB.rst58 unsigned int transfer_flags; // URB_ISO_ASAP, URB_SHORT_NOT_OK, etc.
128 - For ASAP set ``URB_ISO_ASAP`` in transfer_flags.
131 transfer_flags.
/linux/drivers/input/tablet/
A Dkbtab.c167 kbtab->irq->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in kbtab_probe()
/linux/include/linux/
A Dusb.h1583 unsigned int transfer_flags; /* (in) URB_SHORT_NOT_OK | ...*/ member
1756 return (urb->transfer_flags & URB_DIR_MASK) == URB_DIR_IN; in usb_urb_dir_in()
1768 return (urb->transfer_flags & URB_DIR_MASK) == URB_DIR_OUT; in usb_urb_dir_out()
/linux/drivers/media/usb/gspca/
A Dbenq.c102 urb->transfer_flags = URB_ISO_ASAP in sd_start()

Completed in 74 milliseconds

1234567