Searched refs:maxpacksize (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.4/sound/usb/ |
| D | card.h | 27 unsigned int maxpacksize; /* max. packet size */ member 92 unsigned int maxpacksize; /* max packet size in bytes */ member
|
| D | stream.c | 689 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in audio_format_alloc_init() 692 fp->maxpacksize = (((fp->maxpacksize >> 11) & 3) + 1) in audio_format_alloc_init() 693 * (fp->maxpacksize & 0x7ff); in audio_format_alloc_init() 879 unsigned int maxpacksize = in snd_usb_get_audioformat_uac3() local 882 switch (maxpacksize) { in snd_usb_get_audioformat_uac3() 1165 fp->maxpacksize * 2) in __snd_usb_parse_audio_interface()
|
| D | endpoint.c | 667 if (ep->maxpacksize && ep->maxpacksize < maxsize) { in data_ep_set_params() 669 unsigned int data_maxsize = maxsize = ep->maxpacksize; in data_ep_set_params() 679 ep->curpacksize = ep->maxpacksize; in data_ep_set_params() 874 ep->maxpacksize = fmt->maxpacksize; in snd_usb_endpoint_set_params()
|
| D | quirks.c | 177 if (fp->maxpacksize == 0) in create_fixed_stream_quirk() 178 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in create_fixed_stream_quirk() 464 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in create_uaxx_quirk() 467 switch (fp->maxpacksize) { in create_uaxx_quirk()
|
| D | quirks-table.h | 3026 .maxpacksize = 0x130, 3049 .maxpacksize = 0x130, 3502 .maxpacksize = 0x00d8, 3525 .maxpacksize = 0x0120,
|
| D | format.c | 200 fp->altsetting == 5 && fp->maxpacksize == 392) in parse_audio_format_rates_v1()
|
| D | pcm.c | 133 if (fp->maxpacksize > found->maxpacksize) { in find_format() 923 bytes_to_frames(runtime, subs->data_endpoint->maxpacksize); in snd_usb_pcm_prepare()
|
| D | mixer.c | 2925 unsigned int maxpacksize; in snd_usb_mixer_controls_badd() local 2953 maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in snd_usb_mixer_controls_badd() 2955 switch (maxpacksize) { in snd_usb_mixer_controls_badd() 2959 maxpacksize); in snd_usb_mixer_controls_badd()
|
| /Linux-v5.4/sound/usb/usx2y/ |
| D | usbusx2yaudio.c | 402 subs->maxpacksize = usb_maxpacket(dev, pipe, is_playback); in usX2Y_urbs_allocate() 403 if (!subs->maxpacksize) in usX2Y_urbs_allocate() 407 subs->tmpbuf = kcalloc(nr_of_packs(), subs->maxpacksize, GFP_KERNEL); in usX2Y_urbs_allocate() 426 kmalloc_array(subs->maxpacksize, in usX2Y_urbs_allocate() 476 urb->iso_frame_desc[pack].offset = subs->maxpacksize * pack; in usX2Y_urbs_start() 477 urb->iso_frame_desc[pack].length = subs->maxpacksize; in usX2Y_urbs_start() 479 urb->transfer_buffer_length = subs->maxpacksize * nr_of_packs(); in usX2Y_urbs_start()
|
| D | usbusx2y.h | 59 unsigned int maxpacksize; /* max packet size in bytes */ member
|
| D | usx2yhwdeppcm.c | 309 subs->maxpacksize = usb_maxpacket(dev, pipe, is_playback); in usX2Y_usbpcm_urbs_allocate() 310 if (!subs->maxpacksize) in usX2Y_usbpcm_urbs_allocate() 430 urb->iso_frame_desc[pack].offset = subs->maxpacksize * (pack + u * nr_of_packs()); in usX2Y_usbpcm_urbs_start() 431 urb->iso_frame_desc[pack].length = subs->maxpacksize; in usX2Y_usbpcm_urbs_start() 433 urb->transfer_buffer_length = subs->maxpacksize * nr_of_packs(); in usX2Y_usbpcm_urbs_start()
|