Home
last modified time | relevance | path

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

1234567

/openbmc/linux/drivers/usb/usbip/
H 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()
444 spdu->transfer_flags = urb_to_usbip(tweak_transfer_flags(urb->transfer_flags)); in usbip_pack_cmd_submit()
450 urb->transfer_flags = usbip_to_urb(spdu->transfer_flags); in usbip_pack_cmd_submit()
517 pdu->transfer_flags = cpu_to_be32(pdu->transfer_flags); in correct_endian_cmd_submit()
524 pdu->transfer_flags = be32_to_cpu(pdu->transfer_flags); in correct_endian_cmd_submit()
H A Dstub_rx.c447 urb->transfer_flags &= allowed; in masking_bogus_flags()
476 int use_sg = pdu->u.cmd_submit.transfer_flags & USBIP_URB_DMA_MAP_SG; in stub_recv_cmd_submit()
526 pdu->u.cmd_submit.transfer_flags &= in stub_recv_cmd_submit()
H A Dvhci_rx.c99 urb->transfer_flags &= ~URB_DMA_MAP_SG; in vhci_recv_ret_submit()
/openbmc/linux/drivers/usb/core/
H A Durb.c24 if (urb->transfer_flags & URB_FREE_BUFFER) in urb_destroy()
425 urb->transfer_flags &= ~(URB_DIR_MASK | URB_DMA_MAP_SINGLE | in usb_submit_urb()
429 urb->transfer_flags |= (is_out ? URB_DIR_OUT : URB_DIR_IN); in usb_submit_urb()
523 allowed &= urb->transfer_flags; in usb_submit_urb()
526 if (allowed != urb->transfer_flags) in usb_submit_urb()
528 urb->transfer_flags, allowed); in usb_submit_urb()
H A Dhcd.c1347 (urb->transfer_flags & URB_DMA_MAP_SG)) in usb_hcd_unmap_urb_for_dma()
1353 (urb->transfer_flags & URB_DMA_MAP_PAGE)) in usb_hcd_unmap_urb_for_dma()
1359 (urb->transfer_flags & URB_DMA_MAP_SINGLE)) in usb_hcd_unmap_urb_for_dma()
1364 else if (urb->transfer_flags & URB_MAP_LOCAL) in usb_hcd_unmap_urb_for_dma()
1410 urb->transfer_flags |= URB_SETUP_MAP_LOCAL; in usb_hcd_map_urb_for_dma()
1425 urb->transfer_flags |= URB_SETUP_MAP_SINGLE; in usb_hcd_map_urb_for_dma()
1440 urb->transfer_flags |= URB_MAP_LOCAL; in usb_hcd_map_urb_for_dma()
1459 urb->transfer_flags |= URB_DMA_MAP_SG; in usb_hcd_map_urb_for_dma()
1462 urb->transfer_flags |= in usb_hcd_map_urb_for_dma()
1476 urb->transfer_flags |= URB_DMA_MAP_PAGE; in usb_hcd_map_urb_for_dma()
[all …]
/openbmc/linux/drivers/usb/host/
H 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()
H 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()
/openbmc/linux/drivers/usb/misc/
H 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 …]
H 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()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dusb-compat.h37 unsigned int transfer_flags; /* (in) URB_SHORT_NOT_OK | ...*/ member
H A Dmusb_host.c261 if ((urb->transfer_flags & URB_ISO_ASAP) in musb_start_urb()
520 && (urb->transfer_flags & URB_SHORT_NOT_OK) in musb_host_packet_rx()
654 mode = (urb->transfer_flags & URB_ZERO_PACKET) ? 1 : 0; in musb_tx_dma_program()
865 packet_sz, !(urb->transfer_flags & in musb_ep_program()
1286 && !(urb->transfer_flags in musb_host_tx()
1690 if ((urb->transfer_flags & in musb_host_rx()
/openbmc/linux/drivers/usb/chipidea/
H A Dhost.c386 if (!(urb->transfer_flags & URB_ALIGNED_TEMP_BUFFER)) in ci_hdrc_free_dma_aligned_buffer()
388 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()
/openbmc/linux/drivers/media/usb/dvb-usb/
H 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()
/openbmc/linux/include/xen/interface/io/
H A Dusbif.h338 uint16_t transfer_flags; member
/openbmc/qemu/include/hw/xen/interface/io/
H A Dusbif.h337 uint16_t transfer_flags; member
/openbmc/linux/drivers/bluetooth/
H 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()
/openbmc/linux/drivers/net/wireless/ath/carl9170/
H 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()
/openbmc/linux/drivers/hid/usbhid/
H 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()
/openbmc/linux/drivers/net/usb/
H A Dcdc-phonet.c63 req->transfer_flags = URB_ZERO_PACKET; in usbpn_xmit()
128 req->transfer_flags = 0; in rx_submit()
/openbmc/linux/drivers/usb/musb/
H A Dmusb_host.c482 && (urb->transfer_flags & URB_SHORT_NOT_OK) in musb_host_packet_rx()
622 *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()
2562 if (!(urb->transfer_flags & URB_ALIGNED_TEMP_BUFFER)) in musb_free_temp_buffer()
2581 urb->transfer_flags &= ~URB_ALIGNED_TEMP_BUFFER; in musb_free_temp_buffer()
2617 urb->transfer_flags |= URB_ALIGNED_TEMP_BUFFER; in musb_alloc_temp_buffer()
/openbmc/linux/drivers/staging/rtl8712/
H 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()
/openbmc/linux/drivers/input/tablet/
H A Dkbtab.c167 kbtab->irq->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in kbtab_probe()
/openbmc/linux/Documentation/driver-api/usb/
H 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::
/openbmc/linux/drivers/media/rc/
H A Diguanair.c424 ir->urb_out->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in iguanair_probe()
430 ir->urb_in->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in iguanair_probe()
/openbmc/linux/drivers/media/usb/gspca/
H A Dbenq.c102 urb->transfer_flags = URB_ISO_ASAP in sd_start()

1234567