Lines Matching refs:number_of_packets
40 urb->number_of_packets = pack; in playback_prep_freqn()
65 urb->number_of_packets = sk->n_o_ps; in init_pipe_urbs()
261 sk->iso_frame_balance += urb->number_of_packets; in balance_playback()
267 sk->iso_frame_balance -= urb->number_of_packets; in balance_capture()
297 ii->number_of_packets + s->sync_packet; in usb_stream_prepare_playback()
306 s->sync_packet < inurb->number_of_packets && p < sk->n_o_ps; in usb_stream_prepare_playback()
319 s->sync_packet -= inurb->number_of_packets; in usb_stream_prepare_playback()
323 s->sync_packet, p, inurb->number_of_packets, in usb_stream_prepare_playback()
335 io->number_of_packets = p; in usb_stream_prepare_playback()
344 static void prepare_inurb(int number_of_packets, struct urb *iu) in prepare_inurb() argument
349 iu->number_of_packets = number_of_packets; in prepare_inurb()
352 for (p = 0; p < iu->number_of_packets - 1; ++p) in prepare_inurb()
356 id[0].length * iu->number_of_packets; in prepare_inurb()
364 prepare_inurb(sk->idle_outurb->number_of_packets, sk->idle_inurb); in submit_urbs()
406 for (; p < iu->number_of_packets && l < s->period_size; ++p) { in loop_back()
458 for (p = 0; p < inurb->number_of_packets; ++p) { in stream_idle()
543 s->cfg.frame_size * inurb->number_of_packets; in stream_start()
552 for (p = 0; p < inurb->number_of_packets; ++p) { in stream_start()
565 inurb->number_of_packets, diff); in stream_start()
627 for (p = 0; p < urb->number_of_packets; ++p) { in i_capture_start()
647 for (pack = 1; pack < urb->number_of_packets; ++pack) { in i_capture_start()
696 inurb->number_of_packets = outurb->number_of_packets; in usb_stream_start()
698 inurb->number_of_packets * in usb_stream_start()