Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/drivers/usb/usbip/
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()
362 spdu->transfer_flags = in usbip_pack_cmd_submit()
363 tweak_transfer_flags(urb->transfer_flags); in usbip_pack_cmd_submit()
369 urb->transfer_flags = spdu->transfer_flags; in usbip_pack_cmd_submit()
436 pdu->transfer_flags = cpu_to_be32(pdu->transfer_flags); in correct_endian_cmd_submit()
443 pdu->transfer_flags = be32_to_cpu(pdu->transfer_flags); in correct_endian_cmd_submit()
Dstub_rx.c438 urb->transfer_flags &= allowed; in masking_bogus_flags()
467 int use_sg = pdu->u.cmd_submit.transfer_flags & URB_DMA_MAP_SG; in stub_recv_cmd_submit()
516 pdu->u.cmd_submit.transfer_flags &= in stub_recv_cmd_submit()
Dvhci_rx.c99 urb->transfer_flags &= ~URB_DMA_MAP_SG; in vhci_recv_ret_submit()
Dusbip_common.h159 __u32 transfer_flags; member
/kernel/linux/linux-5.10/drivers/usb/core/
Durb.c23 if (urb->transfer_flags & URB_FREE_BUFFER) in urb_destroy()
415 urb->transfer_flags &= ~(URB_DIR_MASK | URB_DMA_MAP_SINGLE | in usb_submit_urb()
419 urb->transfer_flags |= (is_out ? URB_DIR_OUT : URB_DIR_IN); in usb_submit_urb()
513 allowed &= urb->transfer_flags; in usb_submit_urb()
516 if (allowed != urb->transfer_flags) in usb_submit_urb()
518 urb->transfer_flags, allowed); in usb_submit_urb()
Dhcd.c1337 (urb->transfer_flags & URB_SETUP_MAP_SINGLE)) in usb_hcd_unmap_urb_setup_for_dma()
1342 else if (urb->transfer_flags & URB_SETUP_MAP_LOCAL) in usb_hcd_unmap_urb_setup_for_dma()
1350 urb->transfer_flags &= ~(URB_SETUP_MAP_SINGLE | URB_SETUP_MAP_LOCAL); in usb_hcd_unmap_urb_setup_for_dma()
1370 (urb->transfer_flags & URB_DMA_MAP_SG)) in usb_hcd_unmap_urb_for_dma()
1376 (urb->transfer_flags & URB_DMA_MAP_PAGE)) in usb_hcd_unmap_urb_for_dma()
1382 (urb->transfer_flags & URB_DMA_MAP_SINGLE)) in usb_hcd_unmap_urb_for_dma()
1387 else if (urb->transfer_flags & URB_MAP_LOCAL) in usb_hcd_unmap_urb_for_dma()
1395 urb->transfer_flags &= ~(URB_DMA_MAP_SG | URB_DMA_MAP_PAGE | in usb_hcd_unmap_urb_for_dma()
1433 urb->transfer_flags |= URB_SETUP_MAP_LOCAL; in usb_hcd_map_urb_for_dma()
1448 urb->transfer_flags |= URB_SETUP_MAP_SINGLE; in usb_hcd_map_urb_for_dma()
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
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()
Dehci-tegra.c293 if (!(urb->transfer_flags & URB_ALIGNED_TEMP_BUFFER)) in free_dma_aligned_buffer()
310 urb->transfer_flags &= ~URB_ALIGNED_TEMP_BUFFER; in free_dma_aligned_buffer()
340 urb->transfer_flags |= URB_ALIGNED_TEMP_BUFFER; in alloc_dma_aligned_buffer()
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()
/kernel/linux/linux-5.10/drivers/usb/misc/
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()
1585 ctx.urbs[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP; in unlink_queued()
1589 ctx.urbs[i]->transfer_flags |= URB_ZERO_PACKET; in unlink_queued()
[all …]
Dyurex.c252 dev->cntl_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in yurex_probe()
273 dev->urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in yurex_probe()
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
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()
/kernel/linux/linux-5.10/drivers/bluetooth/
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()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
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()
/kernel/linux/linux-5.10/Documentation/usb/
Dusbip_protocol.rst276 | 0x14 | 4 | | transfer_flags: possible values depend on the |
283 | | | | is specified at transfer_flags |
299 | Allowed transfer_flags | value | control | interrupt | bulk | isochronous |
/kernel/linux/linux-5.10/drivers/media/usb/stk1160/
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()
/kernel/linux/linux-5.10/drivers/hid/usbhid/
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()
/kernel/linux/linux-5.10/drivers/net/usb/
Dcdc-phonet.c63 req->transfer_flags = URB_ZERO_PACKET; in usbpn_xmit()
128 req->transfer_flags = 0; in rx_submit()
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()
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_host.c476 && (urb->transfer_flags & URB_SHORT_NOT_OK) in musb_host_packet_rx()
621 *mode = (urb->transfer_flags & URB_ZERO_PACKET) ? 1 : 0; in musb_tx_dma_set_mode_cppi_tusb()
878 packet_sz, !(urb->transfer_flags & in musb_ep_program()
1385 && !(urb->transfer_flags in musb_host_tx()
1655 if ((urb->transfer_flags & URB_SHORT_NOT_OK) in musb_rx_dma_in_inventra_cppi41()
2561 if (!(urb->transfer_flags & URB_ALIGNED_TEMP_BUFFER)) in musb_free_temp_buffer()
2580 urb->transfer_flags &= ~URB_ALIGNED_TEMP_BUFFER; in musb_free_temp_buffer()
2616 urb->transfer_flags |= URB_ALIGNED_TEMP_BUFFER; in musb_alloc_temp_buffer()
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
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()
/kernel/linux/linux-5.10/drivers/input/tablet/
Dkbtab.c167 kbtab->irq->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in kbtab_probe()
/kernel/linux/linux-5.10/drivers/media/rc/
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()
/kernel/linux/linux-5.10/Documentation/driver-api/usb/
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::
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dbenq.c102 urb->transfer_flags = URB_ISO_ASAP in sd_start()

1234567