Searched refs:cobsc (Results 1 – 3 of 3) sorted by relevance
96 static void cobalt_alsa_announce_pcm_data(struct snd_cobalt_card *cobsc, in cobalt_alsa_announce_pcm_data() argument110 dprintk("cobalt alsa announce ptr=%p data=%p num_bytes=%zd\n", cobsc, in cobalt_alsa_announce_pcm_data()113 substream = cobsc->capture_pcm_substream; in cobalt_alsa_announce_pcm_data()142 oldptr = cobsc->hwptr_done_capture; in cobalt_alsa_announce_pcm_data()164 cobsc->hwptr_done_capture += length; in cobalt_alsa_announce_pcm_data()165 if (cobsc->hwptr_done_capture >= in cobalt_alsa_announce_pcm_data()167 cobsc->hwptr_done_capture -= in cobalt_alsa_announce_pcm_data()170 cobsc->capture_transfer_done += length; in cobalt_alsa_announce_pcm_data()171 if (cobsc->capture_transfer_done >= in cobalt_alsa_announce_pcm_data()173 cobsc->capture_transfer_done -= in cobalt_alsa_announce_pcm_data()[all …]
25 static void snd_cobalt_card_free(struct snd_cobalt_card *cobsc) in snd_cobalt_card_free() argument27 if (cobsc == NULL) in snd_cobalt_card_free()30 cobsc->s->alsa = NULL; in snd_cobalt_card_free()32 kfree(cobsc); in snd_cobalt_card_free()46 struct snd_cobalt_card **cobsc) in snd_cobalt_card_create() argument48 *cobsc = kzalloc(sizeof(struct snd_cobalt_card), GFP_KERNEL); in snd_cobalt_card_create()49 if (*cobsc == NULL) in snd_cobalt_card_create()52 (*cobsc)->s = s; in snd_cobalt_card_create()53 (*cobsc)->sc = sc; in snd_cobalt_card_create()55 sc->private_data = *cobsc; in snd_cobalt_card_create()[all …]
10 int snd_cobalt_pcm_create(struct snd_cobalt_card *cobsc);