Home
last modified time | relevance | path

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

123456

/linux-2.6.39/drivers/usb/core/
Durb.c18 if (urb->transfer_flags & URB_FREE_BUFFER) in urb_destroy()
343 urb->transfer_flags &= ~(URB_DIR_MASK | URB_DMA_MAP_SINGLE | in usb_submit_urb()
347 urb->transfer_flags |= (is_out ? URB_DIR_OUT : URB_DIR_IN); in usb_submit_urb()
406 unsigned int orig_flags = urb->transfer_flags; in usb_submit_urb()
438 urb->transfer_flags &= allowed; in usb_submit_urb()
441 if (urb->transfer_flags != orig_flags) { in usb_submit_urb()
443 orig_flags, urb->transfer_flags); in usb_submit_urb()
Dhcd.c1269 if (urb->transfer_flags & URB_SETUP_MAP_SINGLE) in usb_hcd_unmap_urb_setup_for_dma()
1274 else if (urb->transfer_flags & URB_SETUP_MAP_LOCAL) in usb_hcd_unmap_urb_setup_for_dma()
1282 urb->transfer_flags &= ~(URB_SETUP_MAP_SINGLE | URB_SETUP_MAP_LOCAL); in usb_hcd_unmap_urb_setup_for_dma()
1301 if (urb->transfer_flags & URB_DMA_MAP_SG) in usb_hcd_unmap_urb_for_dma()
1306 else if (urb->transfer_flags & URB_DMA_MAP_PAGE) in usb_hcd_unmap_urb_for_dma()
1311 else if (urb->transfer_flags & URB_DMA_MAP_SINGLE) in usb_hcd_unmap_urb_for_dma()
1316 else if (urb->transfer_flags & URB_MAP_LOCAL) in usb_hcd_unmap_urb_for_dma()
1324 urb->transfer_flags &= ~(URB_DMA_MAP_SG | URB_DMA_MAP_PAGE | in usb_hcd_unmap_urb_for_dma()
1362 urb->transfer_flags |= URB_SETUP_MAP_SINGLE; in usb_hcd_map_urb_for_dma()
1372 urb->transfer_flags |= URB_SETUP_MAP_LOCAL; in usb_hcd_map_urb_for_dma()
[all …]
Dusb.c744 urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;
767 || !(urb->transfer_flags & URB_NO_TRANSFER_DMA_MAP)
801 || !(urb->transfer_flags & URB_NO_TRANSFER_DMA_MAP)
813 urb->transfer_flags &= ~URB_NO_TRANSFER_DMA_MAP;
/linux-2.6.39/drivers/staging/usbip/
Dusbip_common.c293 dev_dbg(dev, " transfer_flags :%08X\n", urb->transfer_flags); in usbip_dump_urb()
326 pdu->u.cmd_submit.transfer_flags, in usbip_dump_header()
496 spdu->transfer_flags = in usbip_pack_cmd_submit()
497 tweak_transfer_flags(urb->transfer_flags); in usbip_pack_cmd_submit()
504 urb->transfer_flags = spdu->transfer_flags; in usbip_pack_cmd_submit()
578 pdu->transfer_flags = cpu_to_be32(pdu->transfer_flags); in correct_endian_cmd_submit()
585 pdu->transfer_flags = be32_to_cpu(pdu->transfer_flags); in correct_endian_cmd_submit()
/linux-2.6.39/drivers/usb/host/
Dfhci-q.c199 urb->transfer_flags & URB_SHORT_NOT_OK) in fhci_urb_complete_free()
226 if (!(urb->transfer_flags & URB_SHORT_NOT_OK && in fhci_done_td()
252 if (!(urb->transfer_flags & URB_SHORT_NOT_OK) && in fhci_done_td()
Dohci-q.c524 || (urb->transfer_flags & URB_NO_INTERRUPT)) in td_fill()
633 if (!(urb->transfer_flags & URB_SHORT_NOT_OK)) in td_submit_urb()
637 if ((urb->transfer_flags & URB_ZERO_PACKET) in td_submit_urb()
763 && !(urb->transfer_flags & URB_SHORT_NOT_OK)) in td_done()
837 if ((urb->transfer_flags & URB_SHORT_NOT_OK) == 0) in ed_halted()
Dehci-tegra.c399 if (!(urb->transfer_flags & URB_ALIGNED_TEMP_BUFFER)) in free_temp_buffer()
413 urb->transfer_flags &= ~URB_ALIGNED_TEMP_BUFFER; in free_temp_buffer()
447 urb->transfer_flags |= URB_ALIGNED_TEMP_BUFFER; in alloc_temp_buffer()
Duhci-q.c75 if (!(urb->transfer_flags & URB_NO_FSBR)) in uhci_add_fsbr()
969 if (!(urb->transfer_flags & URB_SHORT_NOT_OK)) in uhci_submit_common()
1007 if ((urb->transfer_flags & URB_ZERO_PACKET) && in uhci_submit_common()
1217 else if (urb->transfer_flags & URB_SHORT_NOT_OK) in uhci_result_common()
1269 if (urb->transfer_flags & URB_ISO_ASAP) { in uhci_submit_isochronous()
1309 if (urb->transfer_flags & URB_ISO_ASAP) { in uhci_submit_isochronous()
/linux-2.6.39/drivers/net/irda/
Dirda-usb.c333 urb->transfer_flags = 0; in irda_usb_change_speed_xbofs()
360 …s(), URB complete status %d, transfer_flags 0x%04X\n", __func__, urb->status, urb->transfer_flags); in speed_bulk_callback()
478 urb->transfer_flags = URB_ZERO_PACKET; in irda_usb_hard_xmit()
572 …s(), URB complete status %d, transfer_flags 0x%04X\n", __func__, urb->status, urb->transfer_flags); in write_bulk_callback()
651 …ut, urb->status=%d, urb->transfer_flags=0x%04X\n", netdev->name, urb->status, urb->transfer_flags); in irda_usb_net_timeout()
676 …ut, urb->status=%d, urb->transfer_flags=0x%04X\n", netdev->name, urb->status, urb->transfer_flags); in irda_usb_net_timeout()
842 …EBUG(0, "%s(), RX status %d, transfer_flags 0x%04X\n", __func__, urb->status, urb->transfer_flags); in irda_usb_receive()
/linux-2.6.39/drivers/usb/serial/
Dir-usb.c300 port->write_urbs[i]->transfer_flags = URB_ZERO_PACKET; in ir_open()
453 urb->transfer_flags = URB_ZERO_PACKET; in ir_set_termios()
/linux-2.6.39/drivers/media/dvb/dvb-usb/
Dusb-urb.c160 stream->urb_list[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP; in usb_bulk_urb_init()
194 urb->transfer_flags = URB_ISO_ASAP | URB_NO_TRANSFER_DMA_MAP; in usb_isoc_urb_init()
/linux-2.6.39/drivers/usb/misc/
Dusbtest.c195 unsigned transfer_flags, in usbtest_alloc_urb() argument
207 urb->transfer_flags = transfer_flags; in usbtest_alloc_urb()
209 urb->transfer_flags |= URB_SHORT_NOT_OK; in usbtest_alloc_urb()
211 if (urb->transfer_flags & URB_NO_TRANSFER_DMA_MAP) in usbtest_alloc_urb()
227 if (urb->transfer_flags & URB_NO_TRANSFER_DMA_MAP) in usbtest_alloc_urb()
334 if (urb->transfer_flags & URB_NO_TRANSFER_DMA_MAP) in simple_free_urb()
1527 urb->transfer_flags = URB_ISO_ASAP | URB_NO_TRANSFER_DMA_MAP; in iso_alloc_urb()
1628 unsigned transfer_flags, in test_unaligned_bulk() argument
1633 testdev_to_usbdev(tdev), pipe, length, transfer_flags, 1); in test_unaligned_bulk()
Dyurex.c266 dev->cntl_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in yurex_probe()
289 dev->cntl_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in yurex_probe()
/linux-2.6.39/drivers/net/wireless/ath/carl9170/
Dusb.c467 urb->transfer_flags |= URB_FREE_BUFFER; in carl9170_usb_alloc_rx_urb()
490 urb->transfer_flags |= URB_FREE_BUFFER; in carl9170_usb_send_rx_irq_urb()
620 urb->transfer_flags |= URB_FREE_BUFFER; in __carl9170_exec_cmd()
725 urb->transfer_flags |= URB_ZERO_PACKET; in carl9170_usb_tx()
/linux-2.6.39/drivers/hid/usbhid/
Dusbkbd.c299 kbd->irq->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in usb_kbd_probe()
311 kbd->led->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in usb_kbd_probe()
/linux-2.6.39/drivers/usb/wusbcore/
Dwa-xfer.c429 xfer->is_dma = urb->transfer_flags & URB_NO_TRANSFER_DMA_MAP ? 1 : 0; in __wa_xfer_setup_sizes()
678 seg->dto_urb->transfer_flags |= in __wa_xfer_setup_segs()
1028 && !(urb->transfer_flags & URB_NO_TRANSFER_DMA_MAP) in wa_urb_enqueue()
1051 urb->transfer_flags & URB_NO_TRANSFER_DMA_MAP ? "dma" : "nodma", in wa_urb_enqueue()
1293 wa->buf_in_urb->transfer_flags in wa_xfer_result_chew()
1299 wa->buf_in_urb->transfer_flags in wa_xfer_result_chew()
/linux-2.6.39/drivers/staging/rt2870/common/
Drtusb_bulk.c95 pUrb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in RTUSBInitTxDesc()
127 pUrb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in RTUSBInitHTTxDesc()
156 pUrb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in RTUSBInitRxDesc()
668 pUrb->transfer_flags &= (~URB_NO_TRANSFER_DMA_MAP); in RTUSBBulkOutMLMEPacket()
/linux-2.6.39/drivers/isdn/hisax/
Dst5481_d.c356 urb->transfer_flags = 0; in usb_d_out()
363 urb->transfer_flags = URB_ISO_ASAP; in usb_d_out()
456 urb->transfer_flags = URB_ISO_ASAP; in dout_start_xmit()
/linux-2.6.39/drivers/staging/vt6656/
Dusbpipe.c176 pDevice->pControlURB->transfer_flags |= URB_ASYNC_UNLINK; in PIPEnsControlOut()
235 pDevice->pControlURB->transfer_flags |= URB_ASYNC_UNLINK; in PIPEnsControlIn()
/linux-2.6.39/drivers/bluetooth/
Dbpa10x.c245 urb->transfer_flags |= URB_FREE_BUFFER; in bpa10x_submit_intr_urb()
286 urb->transfer_flags |= URB_FREE_BUFFER; in bpa10x_submit_bulk_urb()
Dbtusb.c295 urb->transfer_flags |= URB_FREE_BUFFER; in btusb_submit_intr_urb()
377 urb->transfer_flags |= URB_FREE_BUFFER; in btusb_submit_bulk_urb()
494 urb->transfer_flags = URB_FREE_BUFFER | URB_ISO_ASAP; in btusb_submit_isoc_urb()
728 urb->transfer_flags = URB_ISO_ASAP; in btusb_send_frame()
/linux-2.6.39/drivers/net/usb/
Dcdc-phonet.c75 req->transfer_flags = URB_ZERO_PACKET; in usbpn_xmit()
138 req->transfer_flags = 0; in rx_submit()
Dipheth.c324 dev->rx_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in ipheth_rx_submit()
385 dev->tx_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in ipheth_tx()
/linux-2.6.39/include/linux/
Dusb.h1199 unsigned int transfer_flags; /* (in) URB_SHORT_NOT_OK | ...*/ member
1360 return (urb->transfer_flags & URB_DIR_MASK) == URB_DIR_IN; in usb_urb_dir_in()
1372 return (urb->transfer_flags & URB_DIR_MASK) == URB_DIR_OUT; in usb_urb_dir_out()
/linux-2.6.39/drivers/staging/rtl8712/
Dusb_ops_linux.c456 purb->transfer_flags &= (~URB_NO_INTERRUPT); in r8712_usb_write_port()
458 purb->transfer_flags |= URB_NO_INTERRUPT; in r8712_usb_write_port()

123456