Lines Matching refs:max_packet
30 unsigned int max_packet,
48 if (max_packet) {
49 seg->bounce_buf = kzalloc_node(max_packet, flags,
324 enum xhci_ring_type type, unsigned int max_packet, gfp_t flags)
334 prev = xhci_segment_alloc(xhci, cycle_state, max_packet, flags);
343 next = xhci_segment_alloc(xhci, cycle_state, max_packet, flags);
373 enum xhci_ring_type type, unsigned int max_packet, gfp_t flags)
384 ring->bounce_buf_len = max_packet;
392 max_packet, flags);
624 unsigned int max_packet, gfp_t mem_flags)
681 xhci_ring_alloc(xhci, 2, 1, TYPE_STREAM, max_packet,
1419 int max_packet;
1434 max_packet = usb_endpoint_maxp(&ep->desc);
1437 return max_packet * max_burst;
1452 unsigned int max_packet;
1491 max_packet = usb_endpoint_maxp(&ep->desc);
1503 max_packet = 512;
1505 max_packet = rounddown_pow_of_two(max_packet);
1506 max_packet = clamp_val(max_packet, 8, 64);
1518 xhci_ring_alloc(xhci, 2, 1, ring_type, max_packet, mem_flags);
1530 MAX_PACKET(max_packet) |