Home
last modified time | relevance | path

Searched refs:maxpacksize (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/sound/usb/
H A Dcard.h33 unsigned int maxpacksize; /* max. packet size */ member
116 unsigned int maxpacksize; /* max packet size in bytes */ member
H A Dstream.c696 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in audio_format_alloc_init()
699 fp->maxpacksize = (((fp->maxpacksize >> 11) & 3) + 1) in audio_format_alloc_init()
700 * (fp->maxpacksize & 0x7ff); in audio_format_alloc_init()
886 unsigned int maxpacksize = in snd_usb_get_audioformat_uac3() local
889 switch (maxpacksize) { in snd_usb_get_audioformat_uac3()
1172 fp->maxpacksize * 2) in __snd_usb_parse_audio_interface()
H A Dquirks-table.h2059 .maxpacksize = 0x024c,
2087 .maxpacksize = 0x0126,
2237 .maxpacksize = 0x130,
2259 .maxpacksize = 0x130,
2376 .maxpacksize = 0x009c,
2450 .maxpacksize = 0x138,
2471 .maxpacksize = 0x138,
2705 .maxpacksize = 0x00d8,
2727 .maxpacksize = 0x0120,
H A Dendpoint.c1163 if (ep->maxpacksize && ep->maxpacksize < maxsize) { in data_ep_set_params()
1165 unsigned int data_maxsize = maxsize = ep->maxpacksize; in data_ep_set_params()
1175 ep->curpacksize = ep->maxpacksize; in data_ep_set_params()
1365 ep->maxpacksize = fmt->maxpacksize; in snd_usb_endpoint_set_params()
1403 ep->maxframesize = ep->maxpacksize / ep->cur_frame_bytes; in snd_usb_endpoint_set_params()
H A Dquirks.c195 if (fp->maxpacksize == 0) in create_fixed_stream_quirk()
196 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, fp->ep_idx)->wMaxPacketSize); in create_fixed_stream_quirk()
456 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in create_uaxx_quirk()
459 switch (fp->maxpacksize) { in create_uaxx_quirk()
H A Dformat.c241 fp->altsetting == 5 && fp->maxpacksize == 392) in parse_audio_format_rates_v1()
H A Dmixer.c3083 unsigned int maxpacksize; in snd_usb_mixer_controls_badd() local
3114 maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in snd_usb_mixer_controls_badd()
3116 switch (maxpacksize) { in snd_usb_mixer_controls_badd()
3120 maxpacksize); in snd_usb_mixer_controls_badd()
H A Dpcm.c143 if (fp->maxpacksize > found->maxpacksize) { in find_format()
/openbmc/linux/sound/usb/usx2y/
H A Dusbusx2yaudio.c397 subs->maxpacksize = usb_maxpacket(dev, pipe);
398 if (!subs->maxpacksize) in usx2y_urbs_release()
402 subs->tmpbuf = kcalloc(nr_of_packs(), subs->maxpacksize, GFP_KERNEL); in usx2y_urbs_release()
421 kmalloc_array(subs->maxpacksize, in usx2y_urbs_allocate()
475 urb->iso_frame_desc[pack].offset = subs->maxpacksize * pack; in usx2y_urbs_start()
476 urb->iso_frame_desc[pack].length = subs->maxpacksize; in usx2y_urbs_start()
478 urb->transfer_buffer_length = subs->maxpacksize * nr_of_packs(); in usx2y_urbs_start()
H A Dusx2yhwdeppcm.c324 subs->maxpacksize = usb_maxpacket(dev, pipe); in usx2y_usbpcm_urbs_allocate()
325 if (!subs->maxpacksize) in usx2y_usbpcm_urbs_allocate()
453 urb->iso_frame_desc[pack].offset = subs->maxpacksize * (pack + u * nr_of_packs()); in usx2y_usbpcm_urbs_start()
454 urb->iso_frame_desc[pack].length = subs->maxpacksize; in usx2y_usbpcm_urbs_start()
456 urb->transfer_buffer_length = subs->maxpacksize * nr_of_packs(); in usx2y_usbpcm_urbs_start()
H A Dusbusx2y.h84 unsigned int maxpacksize; /* max packet size in bytes */
58 unsigned int maxpacksize; /* max packet size in bytes */ global() member