Lines Matching refs:clock_ref
829 ep->clock_ref = clock_ref_find(chip, fp->clock); in snd_usb_endpoint_open()
830 if (!ep->clock_ref) { in snd_usb_endpoint_open()
834 ep->clock_ref->opened++; in snd_usb_endpoint_open()
976 if (ep->clock_ref) { in snd_usb_endpoint_close()
977 if (!--ep->clock_ref->opened) in snd_usb_endpoint_close()
978 ep->clock_ref->rate = 0; in snd_usb_endpoint_close()
985 ep->clock_ref = NULL; in snd_usb_endpoint_close()
997 if (ep->clock_ref) in snd_usb_endpoint_suspend()
998 ep->clock_ref->rate = 0; in snd_usb_endpoint_suspend()
1332 struct snd_usb_clock_ref *clock = ep->clock_ref; in update_clock_ref_rate()
1430 struct snd_usb_clock_ref *clock = ep->clock_ref; in init_sample_rate()
1588 if (ep->clock_ref) in snd_usb_endpoint_start()
1589 atomic_inc(&ep->clock_ref->locked); in snd_usb_endpoint_start()
1704 if (ep->clock_ref) in snd_usb_endpoint_stop()
1705 atomic_dec(&ep->clock_ref->locked); in snd_usb_endpoint_stop()