Lines Matching refs:max_packet
30 unsigned int max_packet, in xhci_segment_alloc() argument
48 if (max_packet) { in xhci_segment_alloc()
49 seg->bounce_buf = kzalloc_node(max_packet, flags, in xhci_segment_alloc()
371 enum xhci_ring_type type, unsigned int max_packet, gfp_t flags) in xhci_ring_alloc() argument
382 ring->bounce_buf_len = max_packet; in xhci_ring_alloc()
584 unsigned int max_packet, gfp_t mem_flags) in xhci_alloc_stream_info() argument
638 xhci_ring_alloc(xhci, 2, TYPE_STREAM, max_packet, mem_flags); in xhci_alloc_stream_info()
1358 int max_packet; in xhci_get_max_esit_payload() local
1374 max_packet = usb_endpoint_maxp(&ep->desc); in xhci_get_max_esit_payload()
1377 return max_packet * max_burst; in xhci_get_max_esit_payload()
1392 unsigned int max_packet; in xhci_endpoint_init() local
1431 max_packet = usb_endpoint_maxp(&ep->desc); in xhci_endpoint_init()
1443 max_packet = 512; in xhci_endpoint_init()
1445 max_packet = rounddown_pow_of_two(max_packet); in xhci_endpoint_init()
1446 max_packet = clamp_val(max_packet, 8, 64); in xhci_endpoint_init()
1458 xhci_ring_alloc(xhci, 2, ring_type, max_packet, mem_flags); in xhci_endpoint_init()
1470 MAX_PACKET(max_packet) | in xhci_endpoint_init()