Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/pci/cobalt/
H A Dcobalt-alsa-pcm.c216 cobsc->alsa_record_cnt++; in snd_cobalt_pcm_capture_open()
222 cobsc->alsa_record_cnt--; in snd_cobalt_pcm_capture_open()
234 cobsc->alsa_record_cnt--; in snd_cobalt_pcm_capture_close()
341 pos = cobsc->pb_pos % cobsc->pb_size; in cobalt_alsa_pb_pcm_data()
351 if (cobsc->pb_pos % cobsc->pb_count == 0) in cobalt_alsa_pb_pcm_data()
377 cobsc->alsa_playback_cnt++; in snd_cobalt_pcm_playback_open()
396 cobsc->alsa_playback_cnt--; in snd_cobalt_pcm_playback_close()
408 cobsc->pb_pos = 0; in snd_cobalt_pcm_pb_prepare()
438 ptr = cobsc->pb_pos; in snd_cobalt_pcm_pb_pointer()
496 sp->private_data = cobsc; in snd_cobalt_pcm_create()
[all …]
H A Dcobalt-alsa-main.c27 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()
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()
123 s->alsa = cobsc; in cobalt_alsa_init()
138 kfree(cobsc); in cobalt_alsa_init()
147 if (cobsc) in cobalt_alsa_exit()
[all …]
H A Dcobalt-alsa-pcm.h10 int snd_cobalt_pcm_create(struct snd_cobalt_card *cobsc);