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()
961 if (ep->clock_ref) { in snd_usb_endpoint_close()
962 if (!--ep->clock_ref->opened) in snd_usb_endpoint_close()
963 ep->clock_ref->rate = 0; in snd_usb_endpoint_close()
970 ep->clock_ref = NULL; in snd_usb_endpoint_close()
982 if (ep->clock_ref) in snd_usb_endpoint_suspend()
983 ep->clock_ref->rate = 0; in snd_usb_endpoint_suspend()
1317 struct snd_usb_clock_ref *clock = ep->clock_ref; in update_clock_ref_rate()
1415 struct snd_usb_clock_ref *clock = ep->clock_ref; in init_sample_rate()
1572 if (ep->clock_ref) in snd_usb_endpoint_start()
1573 atomic_inc(&ep->clock_ref->locked); in snd_usb_endpoint_start()
1688 if (ep->clock_ref) in snd_usb_endpoint_stop()
1689 atomic_dec(&ep->clock_ref->locked); in snd_usb_endpoint_stop()