Lines Matching refs:number_of_packets
39 urb->number_of_packets = pack; in playback_prep_freqn()
62 urb->number_of_packets = sk->n_o_ps; in init_pipe_urbs()
254 sk->iso_frame_balance += urb->number_of_packets; in balance_playback()
260 sk->iso_frame_balance -= urb->number_of_packets; in balance_capture()
288 ii->number_of_packets + s->sync_packet; in usb_stream_prepare_playback()
297 s->sync_packet < inurb->number_of_packets && p < sk->n_o_ps; in usb_stream_prepare_playback()
310 s->sync_packet -= inurb->number_of_packets; in usb_stream_prepare_playback()
314 s->sync_packet, p, inurb->number_of_packets, in usb_stream_prepare_playback()
326 io->number_of_packets = p; in usb_stream_prepare_playback()
335 static void prepare_inurb(int number_of_packets, struct urb *iu) in prepare_inurb() argument
340 iu->number_of_packets = number_of_packets; in prepare_inurb()
343 for (p = 0; p < iu->number_of_packets - 1; ++p) in prepare_inurb()
347 id[0].length * iu->number_of_packets; in prepare_inurb()
354 prepare_inurb(sk->idle_outurb->number_of_packets, sk->idle_inurb); in submit_urbs()
396 for (; p < iu->number_of_packets && l < s->period_size; ++p) { in loop_back()
448 for (p = 0; p < inurb->number_of_packets; ++p) { in stream_idle()
528 s->cfg.frame_size * inurb->number_of_packets; in stream_start()
537 for (p = 0; p < inurb->number_of_packets; ++p) { in stream_start()
549 inurb->number_of_packets, diff); in stream_start()
610 for (p = 0; p < urb->number_of_packets; ++p) { in i_capture_start()
629 for (pack = 1; pack < urb->number_of_packets; ++pack) { in i_capture_start()
675 inurb->number_of_packets = outurb->number_of_packets; in usb_stream_start()
677 inurb->number_of_packets * in usb_stream_start()