Searched refs:cxsc (Results 1 – 4 of 4) sorted by relevance
58 void cx18_alsa_announce_pcm_data(struct snd_cx18_card *cxsc, u8 *pcm_data, in cx18_alsa_announce_pcm_data() argument68 dprintk("cx18 alsa announce ptr=%p data=%p num_bytes=%zu\n", cxsc, in cx18_alsa_announce_pcm_data()71 substream = cxsc->capture_pcm_substream; in cx18_alsa_announce_pcm_data()100 oldptr = cxsc->hwptr_done_capture; in cx18_alsa_announce_pcm_data()114 cxsc->hwptr_done_capture += length; in cx18_alsa_announce_pcm_data()115 if (cxsc->hwptr_done_capture >= in cx18_alsa_announce_pcm_data()117 cxsc->hwptr_done_capture -= in cx18_alsa_announce_pcm_data()120 cxsc->capture_transfer_done += length; in cx18_alsa_announce_pcm_data()121 if (cxsc->capture_transfer_done >= in cx18_alsa_announce_pcm_data()123 cxsc->capture_transfer_done -= in cx18_alsa_announce_pcm_data()[all …]
54 static void snd_cx18_card_free(struct snd_cx18_card *cxsc) in snd_cx18_card_free() argument56 if (cxsc == NULL) in snd_cx18_card_free()59 if (cxsc->v4l2_dev != NULL) in snd_cx18_card_free()60 to_cx18(cxsc->v4l2_dev)->alsa = NULL; in snd_cx18_card_free()64 kfree(cxsc); in snd_cx18_card_free()78 struct snd_cx18_card **cxsc) in snd_cx18_card_create() argument80 *cxsc = kzalloc(sizeof(struct snd_cx18_card), GFP_KERNEL); in snd_cx18_card_create()81 if (*cxsc == NULL) in snd_cx18_card_create()84 (*cxsc)->v4l2_dev = v4l2_dev; in snd_cx18_card_create()85 (*cxsc)->sc = sc; in snd_cx18_card_create()[all …]
25 static inline void snd_cx18_lock(struct snd_cx18_card *cxsc) in snd_cx18_lock() argument27 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() argument33 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_unlock()
9 int snd_cx18_pcm_create(struct snd_cx18_card *cxsc);