Home
last modified time | relevance | path

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

/linux/drivers/media/pci/cx18/
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 …]
A Dcx18-alsa-main.c62 if (cxsc == NULL) in snd_cx18_card_free()
65 if (cxsc->v4l2_dev != NULL) in snd_cx18_card_free()
70 kfree(cxsc); in snd_cx18_card_free()
87 if (*cxsc == NULL) in snd_cx18_card_create()
91 (*cxsc)->sc = sc; in snd_cx18_card_create()
93 sc->private_data = *cxsc; in snd_cx18_card_create()
164 cx->alsa = cxsc; in snd_cx18_init()
180 kfree(cxsc); in snd_cx18_init()
238 snd_card_free(cxsc->sc); in snd_cx18_exit()
254 if (cxsc == NULL) { in cx18_alsa_exit_callback()
[all …]
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()
A Dcx18-alsa-pcm.h9 int snd_cx18_pcm_create(struct snd_cx18_card *cxsc);

Completed in 4 milliseconds