Searched refs:packets_per_page (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/sound/firewire/
H A Dpackets-buffer.c25 unsigned int packets_per_page, pages; iso_packets_buffer_init() local
37 packets_per_page = PAGE_SIZE / packet_size; iso_packets_buffer_init()
38 if (WARN_ON(!packets_per_page)) { iso_packets_buffer_init()
42 pages = DIV_ROUND_UP(count, packets_per_page); iso_packets_buffer_init()
50 page_index = i / packets_per_page; iso_packets_buffer_init()
52 offset_in_page = (i % packets_per_page) * packet_size; iso_packets_buffer_init()
/linux-4.4.14/sound/usb/misc/
H A Dua101.c1054 unsigned int remaining_packets, packets, packets_per_page, i; alloc_stream_buffers() local
1070 packets_per_page = PAGE_SIZE / stream->max_packet_bytes; alloc_stream_buffers()
1072 packets = min(remaining_packets, packets_per_page); alloc_stream_buffers()

Completed in 289 milliseconds