Searched refs:maxpacksize (Results 1 – 4 of 4) sorted by relevance
430 subs->maxpacksize = usb_maxpacket(dev, pipe, is_playback); in usX2Y_urbs_allocate()431 if (!subs->maxpacksize) in usX2Y_urbs_allocate()435 subs->tmpbuf = kcalloc(nr_of_packs(), subs->maxpacksize, GFP_KERNEL); in usX2Y_urbs_allocate()455 (*purb)->transfer_buffer = kmalloc(subs->maxpacksize * nr_of_packs(), GFP_KERNEL); in usX2Y_urbs_allocate()505 urb->iso_frame_desc[pack].offset = subs->maxpacksize * pack; in usX2Y_urbs_start()506 urb->iso_frame_desc[pack].length = subs->maxpacksize; in usX2Y_urbs_start()508 urb->transfer_buffer_length = subs->maxpacksize * nr_of_packs(); in usX2Y_urbs_start()
325 subs->maxpacksize = usb_maxpacket(dev, pipe, is_playback); in usX2Y_usbpcm_urbs_allocate()326 if (!subs->maxpacksize) in usX2Y_usbpcm_urbs_allocate()447 urb->iso_frame_desc[pack].offset = subs->maxpacksize * (pack + u * nr_of_packs()); in usX2Y_usbpcm_urbs_start()448 urb->iso_frame_desc[pack].length = subs->maxpacksize; in usX2Y_usbpcm_urbs_start()450 urb->transfer_buffer_length = subs->maxpacksize * nr_of_packs(); in usX2Y_usbpcm_urbs_start()
53 unsigned int maxpacksize; /* max packet size in bytes */ member
124 unsigned int maxpacksize; /* max. packet size */ member167 unsigned int maxpacksize; /* max packet size in bytes */ member1048 if (subs->maxpacksize) { in init_substream_urbs()1050 maxsize = subs->maxpacksize; in init_substream_urbs()1062 subs->curpacksize = subs->maxpacksize; in init_substream_urbs()1242 if (fp->maxpacksize > found->maxpacksize) { in find_format()1375 subs->maxpacksize = fmt->maxpacksize; in set_format()1538 subs->maxframesize = bytes_to_frames(runtime, subs->maxpacksize); in snd_usb_pcm_prepare()2544 fp->altsetting == 5 && fp->maxpacksize == 392) in parse_audio_format_rates()2780 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in parse_audio_endpoints()[all …]