Searched refs:maxpacksize (Results 1 – 10 of 10) sorted by relevance
| /linux/sound/usb/ |
| H A D | card.h | 34 unsigned int maxpacksize; /* max. packet size */ member 117 unsigned int maxpacksize; /* max packet size in bytes */ member
|
| H A D | endpoint.c | 1160 if (ep->maxpacksize && ep->maxpacksize < maxsize) { in data_ep_set_params() 1162 unsigned int data_maxsize = maxsize = ep->maxpacksize; in data_ep_set_params() 1172 ep->curpacksize = ep->maxpacksize; in data_ep_set_params() 1362 ep->maxpacksize = fmt->maxpacksize; in snd_usb_endpoint_set_params() 1376 if (ep->packsize[1] > ep->maxpacksize) { in snd_usb_endpoint_set_params() 1377 usb_audio_dbg(chip, "Too small maxpacksize %u for rate %u / pps %u\n", in snd_usb_endpoint_set_params() 1378 ep->maxpacksize, ep->cur_rate, ep->pps); in snd_usb_endpoint_set_params() 1408 ep->maxframesize = ep->maxpacksize / e in snd_usb_endpoint_set_params() [all...] |
| H A D | quirks-table.h | 2059 .maxpacksize = 0x024c, 2087 .maxpacksize = 0x0126, 2237 .maxpacksize = 0x130, 2259 .maxpacksize = 0x130, 2384 .maxpacksize = 0x009c, 2460 .maxpacksize = 0x138, 2481 .maxpacksize = 0x138, 2715 .maxpacksize = 0x00d8, 2737 .maxpacksize = 0x0120,
|
| H A D | stream.c | 707 fp->maxpacksize = usb_endpoint_max_periodic_payload(chip->dev, ep); in audio_format_alloc_init() 899 unsigned int maxpacksize = in snd_usb_get_audioformat_uac3() local 902 switch (maxpacksize) { in snd_usb_get_audioformat_uac3() 1198 fp->maxpacksize * 2) in __snd_usb_parse_audio_interface()
|
| H A D | quirks.c | 195 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 D | format.c | 242 fp->altsetting == 5 && fp->maxpacksize == 392) in parse_audio_format_rates_v1()
|
| H A D | mixer.c | 3111 unsigned int maxpacksize; in snd_usb_mixer_controls_badd() local 3142 maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in snd_usb_mixer_controls_badd() 3144 switch (maxpacksize) { in snd_usb_mixer_controls_badd() 3148 maxpacksize); in snd_usb_mixer_controls_badd()
|
| H A D | pcm.c | 143 if (fp->maxpacksize > found->maxpacksize) { in find_format()
|
| /linux/sound/usb/usx2y/ |
| H A D | usbusx2yaudio.c | 405 subs->maxpacksize = usb_maxpacket(dev, pipe); in usx2y_urbs_allocate() 406 if (!subs->maxpacksize) in usx2y_urbs_allocate() 410 subs->tmpbuf = kcalloc(nr_of_packs(), subs->maxpacksize, GFP_KERNEL); in usx2y_urbs_allocate() 429 kmalloc_array(subs->maxpacksize, in usx2y_urbs_allocate() 483 urb->iso_frame_desc[pack].offset = subs->maxpacksize * pack; in usx2y_urbs_start() 484 urb->iso_frame_desc[pack].length = subs->maxpacksize; in usx2y_urbs_start() 486 urb->transfer_buffer_length = subs->maxpacksize * nr_of_packs(); in usx2y_urbs_start()
|
| H A D | usbusx2y.h | 84 unsigned int maxpacksize; /* max packet size in bytes */ member
|