Home
last modified time | relevance | path

Searched refs:cobsc (Results 1 – 3 of 3) sorted by relevance

/drivers/media/pci/cobalt/
Dcobalt-alsa-pcm.c109 static void cobalt_alsa_announce_pcm_data(struct snd_cobalt_card *cobsc, in cobalt_alsa_announce_pcm_data() argument
123 dprintk("cobalt alsa announce ptr=%p data=%p num_bytes=%zd\n", cobsc, in cobalt_alsa_announce_pcm_data()
126 substream = cobsc->capture_pcm_substream; in cobalt_alsa_announce_pcm_data()
155 oldptr = cobsc->hwptr_done_capture; in cobalt_alsa_announce_pcm_data()
177 cobsc->hwptr_done_capture += length; in cobalt_alsa_announce_pcm_data()
178 if (cobsc->hwptr_done_capture >= in cobalt_alsa_announce_pcm_data()
180 cobsc->hwptr_done_capture -= in cobalt_alsa_announce_pcm_data()
183 cobsc->capture_transfer_done += length; in cobalt_alsa_announce_pcm_data()
184 if (cobsc->capture_transfer_done >= in cobalt_alsa_announce_pcm_data()
186 cobsc->capture_transfer_done -= in cobalt_alsa_announce_pcm_data()
[all …]
Dcobalt-alsa-main.c37 static void snd_cobalt_card_free(struct snd_cobalt_card *cobsc) in snd_cobalt_card_free() argument
39 if (cobsc == NULL) in snd_cobalt_card_free()
42 cobsc->s->alsa = NULL; in snd_cobalt_card_free()
44 kfree(cobsc); in snd_cobalt_card_free()
58 struct snd_cobalt_card **cobsc) in snd_cobalt_card_create() argument
60 *cobsc = kzalloc(sizeof(struct snd_cobalt_card), GFP_KERNEL); in snd_cobalt_card_create()
61 if (*cobsc == NULL) in snd_cobalt_card_create()
64 (*cobsc)->s = s; in snd_cobalt_card_create()
65 (*cobsc)->sc = sc; in snd_cobalt_card_create()
67 sc->private_data = *cobsc; in snd_cobalt_card_create()
[all …]
Dcobalt-alsa-pcm.h22 int snd_cobalt_pcm_create(struct snd_cobalt_card *cobsc);