Searched refs:epcm (Results 1 – 7 of 7) sorted by relevance
| /linux/sound/pci/emu10k1/ |
| H A D | emupcm.c | 23 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 …]
|
| H A D | emu10k1x.c | 189 struct emu10k1x_pcm *epcm; member 338 struct emu10k1x_pcm *epcm; in snd_emu10k1x_pcm_interrupt() local 340 epcm = voice->epcm; in snd_emu10k1x_pcm_interrupt() 341 if (!epcm) in snd_emu10k1x_pcm_interrupt() 343 if (epcm->substream == NULL) in snd_emu10k1x_pcm_interrupt() 348 epcm->substream->ops->pointer(epcm->substream), in snd_emu10k1x_pcm_interrupt() 349 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1x_pcm_interrupt() 350 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1x_pcm_interrupt() 352 snd_pcm_period_elapsed(epcm->substream); in snd_emu10k1x_pcm_interrupt() 359 struct emu10k1x_pcm *epcm; in snd_emu10k1x_playback_open() local [all …]
|
| H A D | voice.c | 25 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 91 result = voice_alloc(emu, type, count, epcm, &rvoice[got]); in snd_emu10k1_voice_alloc()
|
| H A D | emumixer.c | 1513 if (change && mix->epcm && mix->epcm->voices[0]) { in snd_emu10k1_send_routing_put() 1514 if (!mix->epcm->voices[0]->last) { in snd_emu10k1_send_routing_put() 1515 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1517 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number + 1, in snd_emu10k1_send_routing_put() 1520 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1579 if (change && mix->epcm && mix->epcm->voices[0]) { in snd_emu10k1_send_volume_put() 1580 if (!mix->epcm->voices[0]->last) { in snd_emu10k1_send_volume_put() 1581 update_emu10k1_send_volume(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_volume_put() 1583 update_emu10k1_send_volume(emu, mix->epcm->voices[0]->number + 1, in snd_emu10k1_send_volume_put() 1586 update_emu10k1_send_volume(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_volume_put() [all …]
|
| /linux/sound/pci/ca0106/ |
| H A D | ca0106_main.c | 542 struct snd_ca0106_pcm *epcm; in snd_ca0106_pcm_open_playback_channel() local 546 epcm = kzalloc_obj(*epcm); in snd_ca0106_pcm_open_playback_channel() 548 if (epcm == NULL) in snd_ca0106_pcm_open_playback_channel() 550 epcm->emu = chip; in snd_ca0106_pcm_open_playback_channel() 551 epcm->substream = substream; in snd_ca0106_pcm_open_playback_channel() 552 epcm->channel_id=channel_id; in snd_ca0106_pcm_open_playback_channel() 554 runtime->private_data = epcm; in snd_ca0106_pcm_open_playback_channel() 568 channel->epcm = epcm; in snd_ca0106_pcm_open_playback_channel() 594 struct snd_ca0106_pcm *epcm = runtime->private_data; in snd_ca0106_pcm_close_playback() local 595 chip->playback_channels[epcm->channel_id].use = 0; in snd_ca0106_pcm_close_playback() [all …]
|
| H A D | ca0106.h | 639 struct snd_ca0106_pcm *epcm; member
|
| /linux/include/sound/ |
| H A D | emu10k1.h | 1491 struct snd_emu10k1_pcm *epcm; member 1533 struct snd_emu10k1_pcm *epcm; member 1902 struct snd_emu10k1_pcm *epcm, struct snd_emu10k1_voice **rvoice);
|