Lines Matching refs:p
63 int u, p; in init_pipe_urbs() local
85 for (p = 1; p < sk->n_o_ps; ++p) { in init_pipe_urbs()
86 desc[p].offset = desc[p - 1].offset + maxpacket; in init_pipe_urbs()
87 desc[p].length = maxpacket; in init_pipe_urbs()
281 int p = 0, lb = 0, l = 0; in usb_stream_prepare_playback() local
286 for (; s->sync_packet < 0; ++p, ++s->sync_packet) { in usb_stream_prepare_playback()
292 od[p].length = l; in usb_stream_prepare_playback()
293 od[p].offset = lb; in usb_stream_prepare_playback()
298 s->sync_packet < inurb->number_of_packets && p < sk->n_o_ps; in usb_stream_prepare_playback()
299 ++p, ++s->sync_packet) { in usb_stream_prepare_playback()
305 od[p].length = l; in usb_stream_prepare_playback()
306 od[p].offset = lb; in usb_stream_prepare_playback()
315 s->sync_packet, p, inurb->number_of_packets, in usb_stream_prepare_playback()
327 io->number_of_packets = p; in usb_stream_prepare_playback()
339 int p; in prepare_inurb() local
344 for (p = 0; p < iu->number_of_packets - 1; ++p) in prepare_inurb()
345 id[p + 1].offset = id[p].offset + id[p].length; in prepare_inurb()
380 int il, ol, l, p; in loop_back() local
391 p = s->insplit_pack; in loop_back()
395 for (; p < iu->number_of_packets && l < s->period_size; ++p) { in loop_back()
396 i = iu->transfer_buffer + id[p].offset; in loop_back()
397 il = id[p].actual_length; in loop_back()
424 p = 0; in loop_back()
438 int l, p; in stream_idle() local
447 for (p = 0; p < inurb->number_of_packets; ++p) { in stream_idle()
449 l = id[p].actual_length; in stream_idle()
450 if (unlikely(l == 0 || id[p].status)) { in stream_idle()
452 id[p].status); in stream_idle()
461 id[p].offset + (inurb->transfer_buffer - (void *)s); in stream_idle()
521 int l, p, max_diff, max_diff_0; in stream_start() local
536 for (p = 0; p < inurb->number_of_packets; ++p) { in stream_start()
538 l = inurb->iso_frame_desc[p].actual_length; in stream_start()
601 int p; in i_capture_start() local
609 for (p = 0; p < urb->number_of_packets; ++p) { in i_capture_start()
610 int l = id[p].actual_length; in i_capture_start()
621 id[p].offset + (urb->transfer_buffer - (void *)s); in i_capture_start()