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

/linux-master/sound/usb/
H A Dcard.h33 unsigned int maxpacksize; /* max. packet size */ member in struct:audioformat
116 unsigned int maxpacksize; /* max packet size in bytes */ member in struct:snd_usb_endpoint
H A Dstream.c696 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize);
699 fp->maxpacksize = (((fp->maxpacksize >> 11) & 3) + 1)
700 * (fp->maxpacksize & 0x7ff);
886 unsigned int maxpacksize = local
889 switch (maxpacksize) {
1172 fp->maxpacksize * 2)
H A Dendpoint.c1155 if (ep->maxpacksize && ep->maxpacksize < maxsize) {
1157 unsigned int data_maxsize = maxsize = ep->maxpacksize;
1167 ep->curpacksize = ep->maxpacksize;
1357 ep->maxpacksize = fmt->maxpacksize;
1395 ep->maxframesize = ep->maxpacksize / ep->cur_frame_bytes;
H A Dquirks-table.h2659 .maxpacksize = 0x024c,
2689 .maxpacksize = 0x0126,
2869 .maxpacksize = 0x130,
2893 .maxpacksize = 0x130,
3046 .maxpacksize = 0x009c,
3140 .maxpacksize = 0x138,
3163 .maxpacksize = 0x138,
3466 .maxpacksize = 0x00d8,
3490 .maxpacksize = 0x0120,
H A Dquirks.c195 if (fp->maxpacksize == 0)
196 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, fp->ep_idx)->wMaxPacketSize);
456 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize);
459 switch (fp->maxpacksize) {
H A Dformat.c236 fp->altsetting == 5 && fp->maxpacksize == 392)
H A Dpcm.c143 if (fp->maxpacksize > found->maxpacksize) {
H A Dmixer.c3077 unsigned int maxpacksize; local
3108 maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize);
3110 switch (maxpacksize) {
3114 maxpacksize);
/linux-master/sound/usb/usx2y/
H A Dusbusx2y.h58 unsigned int maxpacksize; /* max packet size in bytes */ member in struct:snd_usx2y_substream
H A Dusbusx2yaudio.c424 subs->maxpacksize = usb_maxpacket(dev, pipe);
425 if (!subs->maxpacksize)
429 subs->tmpbuf = kcalloc(nr_of_packs(), subs->maxpacksize, GFP_KERNEL);
448 kmalloc_array(subs->maxpacksize,
502 urb->iso_frame_desc[pack].offset = subs->maxpacksize * pack;
503 urb->iso_frame_desc[pack].length = subs->maxpacksize;
505 urb->transfer_buffer_length = subs->maxpacksize * nr_of_packs();
H A Dusx2yhwdeppcm.c324 subs->maxpacksize = usb_maxpacket(dev, pipe);
325 if (!subs->maxpacksize)
453 urb->iso_frame_desc[pack].offset = subs->maxpacksize * (pack + u * nr_of_packs());
454 urb->iso_frame_desc[pack].length = subs->maxpacksize;
456 urb->transfer_buffer_length = subs->maxpacksize * nr_of_packs();

Completed in 191 milliseconds