Searched refs:MAX_PACKET (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.15/drivers/media/rc/ |
| D | ir_toy.c | 45 #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()
|
| D | igorplugusb.c | 26 #define MAX_PACKET (HEADERLEN + BUFLEN) macro 41 uint8_t buf_in[MAX_PACKET];
|
| /Linux-v5.15/drivers/usb/cdns3/ |
| 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() 996 MAX_PACKET(max_packet) | MAX_BURST(max_burst) | in cdnsp_endpoint_init()
|
| D | cdnsp-gadget.h | 696 #define MAX_PACKET(p) (((p) << 16) & GENMASK(31, 16)) macro
|
| /Linux-v5.15/drivers/usb/host/ |
| D | xhci-dbgcap.h | 170 cpu_to_le32(EP_TYPE(t) | MAX_PACKET(p) | MAX_BURST(b))
|
| 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()
|
| D | xhci.h | 767 #define MAX_PACKET(p) (((p)&0xffff) << 16) macro
|
| D | xhci.c | 1575 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket()
|
| /Linux-v5.15/arch/um/os-Linux/drivers/ |
| D | ethertap_user.c | 20 #define MAX_PACKET ETH_MAX_PACKET macro
|
| /Linux-v5.15/drivers/usb/early/ |
| D | xhci-dbc.c | 318 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()
|