Lines Matching refs:f
1086 unsigned int f; in snd_usb_handle_sync_urb() local
1168 f = le32_to_cpup(urb->transfer_buffer); in snd_usb_handle_sync_urb()
1170 f &= 0x00ffffff; in snd_usb_handle_sync_urb()
1172 f &= 0x0fffffff; in snd_usb_handle_sync_urb()
1174 if (f == 0) in snd_usb_handle_sync_urb()
1182 if (f < ep->freqn - 0x8000) in snd_usb_handle_sync_urb()
1183 f += 0x10000; in snd_usb_handle_sync_urb()
1184 else if (f > ep->freqn + 0x8000) in snd_usb_handle_sync_urb()
1185 f -= 0x10000; in snd_usb_handle_sync_urb()
1194 while (f < ep->freqn - ep->freqn / 4) { in snd_usb_handle_sync_urb()
1195 f <<= 1; in snd_usb_handle_sync_urb()
1198 while (f > ep->freqn + ep->freqn / 2) { in snd_usb_handle_sync_urb()
1199 f >>= 1; in snd_usb_handle_sync_urb()
1204 f <<= ep->freqshift; in snd_usb_handle_sync_urb()
1206 f >>= -ep->freqshift; in snd_usb_handle_sync_urb()
1208 if (likely(f >= ep->freqn - ep->freqn / 8 && f <= ep->freqmax)) { in snd_usb_handle_sync_urb()
1214 ep->freqm = f; in snd_usb_handle_sync_urb()