Searched refs:cobsc (Results 1 – 3 of 3) sorted by relevance
109 static void cobalt_alsa_announce_pcm_data(struct snd_cobalt_card *cobsc, in cobalt_alsa_announce_pcm_data() argument123 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 …]
37 static void snd_cobalt_card_free(struct snd_cobalt_card *cobsc) in snd_cobalt_card_free() argument39 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() argument60 *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 …]
22 int snd_cobalt_pcm_create(struct snd_cobalt_card *cobsc);