Lines Matching refs:clock_ref
821 ep->clock_ref = clock_ref_find(chip, fp->clock); in snd_usb_endpoint_open()
822 if (!ep->clock_ref) { in snd_usb_endpoint_open()
826 ep->clock_ref->opened++; in snd_usb_endpoint_open()
958 if (ep->clock_ref) { in snd_usb_endpoint_close()
959 if (!--ep->clock_ref->opened) in snd_usb_endpoint_close()
960 ep->clock_ref->rate = 0; in snd_usb_endpoint_close()
967 ep->clock_ref = NULL; in snd_usb_endpoint_close()
979 if (ep->clock_ref) in snd_usb_endpoint_suspend()
980 ep->clock_ref->rate = 0; in snd_usb_endpoint_suspend()
1314 struct snd_usb_clock_ref *clock = ep->clock_ref; in update_clock_ref_rate()
1412 struct snd_usb_clock_ref *clock = ep->clock_ref; in init_sample_rate()
1569 if (ep->clock_ref) in snd_usb_endpoint_start()
1570 atomic_inc(&ep->clock_ref->locked); in snd_usb_endpoint_start()
1685 if (ep->clock_ref) in snd_usb_endpoint_stop()
1686 atomic_dec(&ep->clock_ref->locked); in snd_usb_endpoint_stop()