Home
last modified time | relevance | path

Searched refs:epcm (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/sound/pci/emu10k1/
Demupcm.c23 struct snd_emu10k1_pcm *epcm; in snd_emu10k1_pcm_interrupt() local
25 epcm = voice->epcm; in snd_emu10k1_pcm_interrupt()
26 if (!epcm) in snd_emu10k1_pcm_interrupt()
28 if (epcm->substream == NULL) in snd_emu10k1_pcm_interrupt()
33 epcm->substream->runtime->hw->pointer(emu, epcm->substream), in snd_emu10k1_pcm_interrupt()
34 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1_pcm_interrupt()
35 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1_pcm_interrupt()
37 snd_pcm_period_elapsed(epcm->substream); in snd_emu10k1_pcm_interrupt()
76 static void snd_emu10k1_pcm_free_voices(struct snd_emu10k1_pcm *epcm) in snd_emu10k1_pcm_free_voices() argument
78 for (unsigned i = 0; i < ARRAY_SIZE(epcm->voices); i++) { in snd_emu10k1_pcm_free_voices()
[all …]
Demu10k1x.c188 struct emu10k1x_pcm *epcm; member
349 struct emu10k1x_pcm *epcm; in snd_emu10k1x_pcm_interrupt() local
351 epcm = voice->epcm; in snd_emu10k1x_pcm_interrupt()
352 if (!epcm) in snd_emu10k1x_pcm_interrupt()
354 if (epcm->substream == NULL) in snd_emu10k1x_pcm_interrupt()
359 epcm->substream->ops->pointer(epcm->substream), in snd_emu10k1x_pcm_interrupt()
360 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1x_pcm_interrupt()
361 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1x_pcm_interrupt()
363 snd_pcm_period_elapsed(epcm->substream); in snd_emu10k1x_pcm_interrupt()
370 struct emu10k1x_pcm *epcm; in snd_emu10k1x_playback_open() local
[all …]
Dvoice.c25 struct snd_emu10k1_pcm *epcm, struct snd_emu10k1_voice **rvoice) in voice_alloc() argument
53 voice->epcm = epcm; in voice_alloc()
74 pvoice->epcm = NULL; in voice_free()
78 struct snd_emu10k1_pcm *epcm, struct snd_emu10k1_voice **rvoice) in snd_emu10k1_voice_alloc() argument
92 result = voice_alloc(emu, type, count, epcm, &rvoice[got]); in snd_emu10k1_voice_alloc()
Demumixer.c1514 if (change && mix->epcm && mix->epcm->voices[0]) { in snd_emu10k1_send_routing_put()
1515 if (!mix->epcm->voices[0]->last) { in snd_emu10k1_send_routing_put()
1516 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put()
1518 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number + 1, in snd_emu10k1_send_routing_put()
1521 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put()
1581 if (change && mix->epcm && mix->epcm->voices[0]) { in snd_emu10k1_send_volume_put()
1582 if (!mix->epcm->voices[0]->last) { in snd_emu10k1_send_volume_put()
1583 update_emu10k1_send_volume(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_volume_put()
1585 update_emu10k1_send_volume(emu, mix->epcm->voices[0]->number + 1, in snd_emu10k1_send_volume_put()
1588 update_emu10k1_send_volume(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_volume_put()
[all …]
/Linux-v6.6/sound/pci/ca0106/
Dca0106_main.c551 struct snd_ca0106_pcm *epcm; in snd_ca0106_pcm_open_playback_channel() local
555 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL); in snd_ca0106_pcm_open_playback_channel()
557 if (epcm == NULL) in snd_ca0106_pcm_open_playback_channel()
559 epcm->emu = chip; in snd_ca0106_pcm_open_playback_channel()
560 epcm->substream = substream; in snd_ca0106_pcm_open_playback_channel()
561 epcm->channel_id=channel_id; in snd_ca0106_pcm_open_playback_channel()
563 runtime->private_data = epcm; in snd_ca0106_pcm_open_playback_channel()
577 channel->epcm = epcm; in snd_ca0106_pcm_open_playback_channel()
603 struct snd_ca0106_pcm *epcm = runtime->private_data; in snd_ca0106_pcm_close_playback() local
604 chip->playback_channels[epcm->channel_id].use = 0; in snd_ca0106_pcm_close_playback()
[all …]
Dca0106.h639 struct snd_ca0106_pcm *epcm; member
/Linux-v6.6/include/sound/
Demu10k1.h1483 struct snd_emu10k1_pcm *epcm; member
1525 struct snd_emu10k1_pcm *epcm; member
1891 struct snd_emu10k1_pcm *epcm, struct snd_emu10k1_voice **rvoice);