Searched refs:nr_of_packs (Results 1 – 2 of 2) sorted by relevance
64 for (i = 0; i < nr_of_packs(); i++) { in usx2y_usbpcm_urb_capt_retire()119 for (pack = 0; pack < nr_of_packs(); pack++) { in usx2y_hwdep_urb_play_prepare()147 for (pack = 0; pack < nr_of_packs(); ++pack) { in usx2y_usbpcm_urb_capt_iso_advance()160 desc->offset += desc->length * NRURBS * nr_of_packs(); in usx2y_usbpcm_urb_capt_iso_advance()256 usx2y->wait_iso_frame += nr_of_packs(); in i_usx2y_usbpcm_urb_complete()335 *purb = usb_alloc_urb(nr_of_packs(), GFP_KERNEL); in usx2y_usbpcm_urbs_allocate()348 (*purb)->number_of_packets = nr_of_packs(); in usx2y_usbpcm_urbs_allocate()452 for (pack = 0; pack < nr_of_packs(); pack++) { in usx2y_usbpcm_urbs_start()453 urb->iso_frame_desc[pack].offset = subs->maxpacksize * (pack + u * nr_of_packs()); in usx2y_usbpcm_urbs_start()456 urb->transfer_buffer_length = subs->maxpacksize * nr_of_packs(); in usx2y_usbpcm_urbs_start()[all …]
51 #define nr_of_packs() nrpacks macro55 #define nr_of_packs() USX2Y_NRPACKS macro67 for (i = 0; i < nr_of_packs(); i++) { in usx2y_urb_capt_retire()126 for (pack = 0; pack < nr_of_packs(); pack++) { in usx2y_urb_play_prepare()194 urb->start_frame = frame + NRURBS * nr_of_packs(); // let hcd do rollover sanity checks in usx2y_urb_submit()324 usx2y->wait_iso_frame += nr_of_packs(); in i_usx2y_urb_complete()429 subs->tmpbuf = kcalloc(nr_of_packs(), subs->maxpacksize, GFP_KERNEL); in usx2y_urbs_allocate()440 *purb = usb_alloc_urb(nr_of_packs(), GFP_KERNEL); in usx2y_urbs_allocate()449 nr_of_packs(), GFP_KERNEL); in usx2y_urbs_allocate()457 (*purb)->number_of_packets = nr_of_packs(); in usx2y_urbs_allocate()[all …]