Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/media/rc/
Dir_toy.c45 #define MAX_PACKET 64 macro
168 if (len != 1 || space > MAX_PACKET || space == 0) { in irtoy_response()
377 usb_endpoint_maxp(ep) == MAX_PACKET) in irtoy_probe()
381 usb_endpoint_maxp(ep) == MAX_PACKET) in irtoy_probe()
394 irtoy->in = kmalloc(MAX_PACKET, GFP_KERNEL); in irtoy_probe()
398 irtoy->out = kmalloc(MAX_PACKET, GFP_KERNEL); in irtoy_probe()
411 usb_fill_bulk_urb(urb, usbdev, pipe, irtoy->in, MAX_PACKET, in irtoy_probe()
420 usb_fill_bulk_urb(urb, usbdev, pipe, irtoy->out, MAX_PACKET, in irtoy_probe()
Digorplugusb.c26 #define MAX_PACKET (HEADERLEN + BUFLEN) macro
41 uint8_t buf_in[MAX_PACKET];
/Linux-v5.15/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()
996 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
/Linux-v5.15/drivers/usb/host/
Dxhci-dbgcap.h170 cpu_to_le32(EP_TYPE(t) | MAX_PACKET(p) | MAX_BURST(b))
Dxhci-mem.c1112 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()
Dxhci.h767 #define MAX_PACKET(p) (((p)&0xffff) << 16) macro
Dxhci.c1575 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket()
/Linux-v5.15/arch/um/os-Linux/drivers/
Dethertap_user.c20 #define MAX_PACKET ETH_MAX_PACKET macro
/Linux-v5.15/drivers/usb/early/
Dxhci-dbc.c318 ep_out->ep_info2 = cpu_to_le32(EP_TYPE(BULK_OUT_EP) | MAX_PACKET(1024) | MAX_BURST(max_burst)); in xdbc_mem_init()
325 ep_in->ep_info2 = cpu_to_le32(EP_TYPE(BULK_IN_EP) | MAX_PACKET(1024) | MAX_BURST(max_burst)); in xdbc_mem_init()