Home
last modified time | relevance | path

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

/linux/sound/usb/
H A Dcard.h114 unsigned int freqmax; /* maximum sampling rate, used for buffer management */ member
H A Dendpoint.c1145 ep->freqmax = ep->freqn + (ep->freqn >> 1); in data_ep_set_params()
1146 /* Round up freqmax to nearest integer in order to calculate maximum in data_ep_set_params()
1153 * a freqmax of 41 kHz will result in a max packet size of 6 (5.125) in data_ep_set_params()
1156 * (ep->freqmax << ep->datainterval overflows at 8.192 MHz for the in data_ep_set_params()
1158 * USB high speed, noting that ep->freqmax is in units of in data_ep_set_params()
1161 maxsize = (((ep->freqmax << ep->datainterval) + 0xffff) >> 16) * in data_ep_set_params()
1173 ep->freqmax = (data_maxsize / (frame_bits >> 3)) in data_ep_set_params()
1888 if (likely(f >= ep->freqn - ep->freqn / 8 && f <= ep->freqmax)) { in snd_usb_handle_sync_urb()