Searched refs:MAX_PACKET (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/drivers/media/rc/ |
A D | ir_toy.c | 47 #define MAX_PACKET 64 macro 171 if (len != 1 || space > MAX_PACKET || space == 0) { in irtoy_response() 406 usb_endpoint_maxp(ep) == MAX_PACKET) in irtoy_probe() 410 usb_endpoint_maxp(ep) == MAX_PACKET) in irtoy_probe() 423 irtoy->in = kmalloc(MAX_PACKET, GFP_KERNEL); in irtoy_probe() 427 irtoy->out = kmalloc(MAX_PACKET, GFP_KERNEL); in irtoy_probe() 440 usb_fill_bulk_urb(urb, usbdev, pipe, irtoy->in, MAX_PACKET, in irtoy_probe() 449 usb_fill_bulk_urb(urb, usbdev, pipe, irtoy->out, MAX_PACKET, in irtoy_probe()
|
A D | igorplugusb.c | 26 #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()
|
/linux-6.3-rc2/drivers/usb/cdns3/ |
A D | cdnsp-mem.c | 741 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 D | cdnsp-gadget.h | 696 #define MAX_PACKET(p) (((p) << 16) & GENMASK(31, 16)) macro
|
/linux-6.3-rc2/drivers/usb/host/ |
A D | xhci-dbgcap.h | 171 cpu_to_le32(EP_TYPE(t) | MAX_PACKET(p) | MAX_BURST(b))
|
A D | xhci-mem.c | 1112 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev() 1116 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev() 1120 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev() 1125 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev() 1129 max_packets = MAX_PACKET(8); in xhci_setup_addressable_virt_dev() 1503 MAX_PACKET(max_packet) | in xhci_endpoint_init()
|
A D | xhci.h | 773 #define MAX_PACKET(p) (((p)&0xffff) << 16) macro
|
A D | xhci.c | 1652 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket()
|
/linux-6.3-rc2/arch/um/os-Linux/drivers/ |
A D | ethertap_user.c | 20 #define MAX_PACKET ETH_MAX_PACKET macro
|
/linux-6.3-rc2/drivers/usb/early/ |
A D | xhci-dbc.c | 325 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 47 milliseconds