Home
last modified time | relevance | path

Searched refs:MAX_PACKET (Results 1 – 9 of 9) sorted by relevance

/drivers/media/rc/
A Dir_toy.c47 #define MAX_PACKET 64 macro
171 if (len != 1 || space > MAX_PACKET || space == 0) { in irtoy_response()
408 usb_endpoint_maxp(ep) == MAX_PACKET) in irtoy_probe()
412 usb_endpoint_maxp(ep) == MAX_PACKET) in irtoy_probe()
425 irtoy->in = kmalloc(MAX_PACKET, GFP_KERNEL); in irtoy_probe()
429 irtoy->out = kmalloc(MAX_PACKET, GFP_KERNEL); in irtoy_probe()
442 usb_fill_bulk_urb(urb, usbdev, pipe, irtoy->in, MAX_PACKET, in irtoy_probe()
451 usb_fill_bulk_urb(urb, usbdev, pipe, irtoy->out, MAX_PACKET, in irtoy_probe()
A Digorplugusb.c26 #define MAX_PACKET (HEADERLEN + BUFLEN) macro
173 ir->request.wLength = cpu_to_le16(MAX_PACKET); in igorplugusb_probe()
179 ir->buf_in = kmalloc(MAX_PACKET, GFP_KERNEL); in igorplugusb_probe()
184 ir->buf_in, MAX_PACKET, igorplugusb_callback, ir); in igorplugusb_probe()
/drivers/usb/cdns3/
A Dcdnsp-mem.c741 max_packets = MAX_PACKET(512); in cdnsp_setup_addressable_priv_dev()
745 max_packets = MAX_PACKET(512); in cdnsp_setup_addressable_priv_dev()
749 max_packets = MAX_PACKET(64); in cdnsp_setup_addressable_priv_dev()
753 max_packets = MAX_PACKET(64); in cdnsp_setup_addressable_priv_dev()
999 MAX_PACKET(max_packet) | MAX_BURST(max_burst) | in cdnsp_endpoint_init()
A Dcdnsp-gadget.h703 #define MAX_PACKET(p) (((p) << 16) & GENMASK(31, 16)) macro
/drivers/usb/host/
A Dxhci-dbgcap.h180 cpu_to_le32(EP_TYPE(t) | MAX_PACKET(p) | MAX_BURST(b))
A Dxhci-mem.c1113 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev()
1117 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev()
1121 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev()
1126 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev()
1130 max_packets = MAX_PACKET(8); in xhci_setup_addressable_virt_dev()
1505 MAX_PACKET(max_packet) | in xhci_endpoint_init()
A Dxhci.h491 #define MAX_PACKET(p) (((p)&0xffff) << 16) macro
A Dxhci.c1587 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_ep0_maxpacket()
/drivers/usb/early/
A Dxhci-dbc.c325 ep_out->ep_info2 = cpu_to_le32(EP_TYPE(BULK_OUT_EP) | MAX_PACKET(1024) | MAX_BURST(max_burst)); in xdbc_mem_init()
332 ep_in->ep_info2 = cpu_to_le32(EP_TYPE(BULK_IN_EP) | MAX_PACKET(1024) | MAX_BURST(max_burst)); in xdbc_mem_init()

Completed in 834 milliseconds