Lines Matching refs:max_packet
31 unsigned int max_packet, in xhci_segment_alloc() argument
49 if (max_packet) { in xhci_segment_alloc()
50 seg->bounce_buf = kzalloc_node(max_packet, flags, in xhci_segment_alloc()
324 enum xhci_ring_type type, unsigned int max_packet, gfp_t flags) in xhci_alloc_segments_for_ring() argument
334 prev = xhci_segment_alloc(xhci, cycle_state, max_packet, flags); in xhci_alloc_segments_for_ring()
343 next = xhci_segment_alloc(xhci, cycle_state, max_packet, flags); in xhci_alloc_segments_for_ring()
373 enum xhci_ring_type type, unsigned int max_packet, gfp_t flags) in xhci_ring_alloc() argument
384 ring->bounce_buf_len = max_packet; in xhci_ring_alloc()
392 max_packet, flags); in xhci_ring_alloc()
592 unsigned int max_packet, gfp_t mem_flags) in xhci_alloc_stream_info() argument
646 xhci_ring_alloc(xhci, 2, 1, TYPE_STREAM, max_packet, in xhci_alloc_stream_info()
1369 int max_packet; in xhci_get_max_esit_payload() local
1385 max_packet = usb_endpoint_maxp(&ep->desc); in xhci_get_max_esit_payload()
1388 return max_packet * max_burst; in xhci_get_max_esit_payload()
1403 unsigned int max_packet; in xhci_endpoint_init() local
1442 max_packet = usb_endpoint_maxp(&ep->desc); in xhci_endpoint_init()
1454 max_packet = 512; in xhci_endpoint_init()
1456 max_packet = rounddown_pow_of_two(max_packet); in xhci_endpoint_init()
1457 max_packet = clamp_val(max_packet, 8, 64); in xhci_endpoint_init()
1469 xhci_ring_alloc(xhci, 2, 1, ring_type, max_packet, mem_flags); in xhci_endpoint_init()
1481 MAX_PACKET(max_packet) | in xhci_endpoint_init()