Home
last modified time | relevance | path

Searched refs:cxsc (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/media/pci/cx18/
H A Dcx18-alsa-pcm.c115 if (cxsc->hwptr_done_capture >= in cx18_alsa_announce_pcm_data()
117 cxsc->hwptr_done_capture -= in cx18_alsa_announce_pcm_data()
145 snd_cx18_lock(cxsc); in snd_cx18_pcm_capture_open()
155 snd_cx18_unlock(cxsc); in snd_cx18_pcm_capture_open()
162 snd_cx18_unlock(cxsc); in snd_cx18_pcm_capture_open()
177 snd_cx18_unlock(cxsc); in snd_cx18_pcm_capture_open()
190 snd_cx18_lock(cxsc); in snd_cx18_pcm_capture_close()
198 snd_cx18_unlock(cxsc); in snd_cx18_pcm_capture_close()
207 cxsc->hwptr_done_capture = 0; in snd_cx18_pcm_prepare()
259 spin_lock_init(&cxsc->slock); in snd_cx18_pcm_create()
[all …]
H A Dcx18-alsa-main.c56 if (cxsc == NULL) in snd_cx18_card_free()
59 if (cxsc->v4l2_dev != NULL) in snd_cx18_card_free()
64 kfree(cxsc); in snd_cx18_card_free()
81 if (*cxsc == NULL) in snd_cx18_card_create()
85 (*cxsc)->sc = sc; in snd_cx18_card_create()
87 sc->private_data = *cxsc; in snd_cx18_card_create()
158 cx->alsa = cxsc; in snd_cx18_init()
174 kfree(cxsc); in snd_cx18_init()
232 snd_card_free(cxsc->sc); in snd_cx18_exit()
248 if (cxsc == NULL) { in cx18_alsa_exit_callback()
[all …]
H A Dcx18-alsa.h25 static inline void snd_cx18_lock(struct snd_cx18_card *cxsc) in snd_cx18_lock() argument
27 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_lock()
31 static inline void snd_cx18_unlock(struct snd_cx18_card *cxsc) in snd_cx18_unlock() argument
33 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_unlock()
H A Dcx18-alsa-pcm.h9 int snd_cx18_pcm_create(struct snd_cx18_card *cxsc);