Searched refs:maxpacksize (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/sound/usb/ |
D | card.h | 25 unsigned int maxpacksize; /* max. packet size */ member 88 unsigned int maxpacksize; /* max packet size in bytes */ member
|
D | stream.c | 659 fp->maxpacksize * 2) in snd_usb_parse_audio_interface() 675 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in snd_usb_parse_audio_interface() 678 fp->maxpacksize = (((fp->maxpacksize >> 11) & 3) + 1) in snd_usb_parse_audio_interface() 679 * (fp->maxpacksize & 0x7ff); in snd_usb_parse_audio_interface()
|
D | endpoint.c | 661 if (ep->maxpacksize && ep->maxpacksize < maxsize) { in data_ep_set_params() 663 unsigned int data_maxsize = maxsize = ep->maxpacksize; in data_ep_set_params() 673 ep->curpacksize = ep->maxpacksize; in data_ep_set_params() 868 ep->maxpacksize = fmt->maxpacksize; in snd_usb_endpoint_set_params()
|
D | quirks.c | 189 if (fp->maxpacksize == 0) in create_fixed_stream_quirk() 190 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in create_fixed_stream_quirk() 472 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in create_uaxx_quirk() 475 switch (fp->maxpacksize) { in create_uaxx_quirk()
|
D | format.c | 196 fp->altsetting == 5 && fp->maxpacksize == 392) in parse_audio_format_rates_v1()
|
D | pcm.c | 145 if (fp->maxpacksize > found->maxpacksize) { in find_format() 828 bytes_to_frames(runtime, subs->data_endpoint->maxpacksize); in snd_usb_pcm_prepare()
|
D | quirks-table.h | 2937 .maxpacksize = 0x130, 2960 .maxpacksize = 0x130,
|
/linux-4.4.14/sound/usb/usx2y/ |
D | usbusx2yaudio.c | 416 subs->maxpacksize = usb_maxpacket(dev, pipe, is_playback); in usX2Y_urbs_allocate() 417 if (!subs->maxpacksize) in usX2Y_urbs_allocate() 421 subs->tmpbuf = kcalloc(nr_of_packs(), subs->maxpacksize, GFP_KERNEL); in usX2Y_urbs_allocate() 441 (*purb)->transfer_buffer = kmalloc(subs->maxpacksize * nr_of_packs(), GFP_KERNEL); in usX2Y_urbs_allocate() 490 urb->iso_frame_desc[pack].offset = subs->maxpacksize * pack; in usX2Y_urbs_start() 491 urb->iso_frame_desc[pack].length = subs->maxpacksize; in usX2Y_urbs_start() 493 urb->transfer_buffer_length = subs->maxpacksize * nr_of_packs(); in usX2Y_urbs_start()
|
D | usbusx2y.h | 58 unsigned int maxpacksize; /* max packet size in bytes */ member
|
D | usx2yhwdeppcm.c | 321 subs->maxpacksize = usb_maxpacket(dev, pipe, is_playback); in usX2Y_usbpcm_urbs_allocate() 322 if (!subs->maxpacksize) in usX2Y_usbpcm_urbs_allocate() 442 urb->iso_frame_desc[pack].offset = subs->maxpacksize * (pack + u * nr_of_packs()); in usX2Y_usbpcm_urbs_start() 443 urb->iso_frame_desc[pack].length = subs->maxpacksize; in usX2Y_usbpcm_urbs_start() 445 urb->transfer_buffer_length = subs->maxpacksize * nr_of_packs(); in usX2Y_usbpcm_urbs_start()
|