Home
last modified time | relevance | path

Searched refs:maxsize (Results 1 – 2 of 2) sorted by relevance

/sound/usb/
Dendpoint.c630 unsigned int maxsize, minsize, packs_per_ms, max_packs_per_urb; in data_ep_set_params() local
667 maxsize = (((ep->freqmax << ep->datainterval) + 0xffff) >> 16) * in data_ep_set_params()
670 maxsize += sizeof(__le32); /* Space for length descriptor */ in data_ep_set_params()
672 if (ep->maxpacksize && ep->maxpacksize < maxsize) { in data_ep_set_params()
674 unsigned int data_maxsize = maxsize = ep->maxpacksize; in data_ep_set_params()
686 ep->curpacksize = maxsize; in data_ep_set_params()
727 while (urb_packs > 1 && urb_packs * maxsize >= period_bytes) in data_ep_set_params()
771 u->buffer_size = maxsize * u->packets; in data_ep_set_params()
/sound/core/
Dinfo.c196 size_t maxsize = entry->size - pos; in snd_info_entry_write() local
197 count = min(count, maxsize); in snd_info_entry_write()