Home
last modified time | relevance | path

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

/drivers/media/rc/
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()
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/
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()
Dcdnsp-gadget.h696 #define MAX_PACKET(p) (((p) << 16) & GENMASK(31, 16)) macro
/drivers/usb/host/
Dxhci-dbgcap.h171 cpu_to_le32(EP_TYPE(t) | MAX_PACKET(p) | MAX_BURST(b))
Dxhci-mem.c1184 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev()
1188 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev()
1192 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev()
1197 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev()
1201 max_packets = MAX_PACKET(8); in xhci_setup_addressable_virt_dev()
1583 MAX_PACKET(max_packet) | in xhci_endpoint_init()
Dxhci.h771 #define MAX_PACKET(p) (((p)&0xffff) << 16) macro
Dxhci.c1636 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket()
/drivers/usb/early/
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()