Lines Matching defs:epcm
552 struct snd_ca0106_pcm *epcm;
556 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL);
558 if (epcm == NULL)
560 epcm->emu = chip;
561 epcm->substream = substream;
562 epcm->channel_id=channel_id;
564 runtime->private_data = epcm;
578 channel->epcm = epcm;
602 struct snd_ca0106_pcm *epcm = runtime->private_data;
603 chip->playback_channels[epcm->channel_id].use = 0;
605 restore_spdif_bits(chip, epcm->channel_id);
608 if (epcm->channel_id != PCM_FRONT_CHANNEL) {
610 err = snd_ca0106_pcm_power_dac(chip, epcm->channel_id, 0);
645 struct snd_ca0106_pcm *epcm;
649 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL);
650 if (!epcm)
653 epcm->emu = chip;
654 epcm->substream = substream;
655 epcm->channel_id=channel_id;
657 runtime->private_data = epcm;
671 channel->epcm = epcm;
685 struct snd_ca0106_pcm *epcm = runtime->private_data;
686 chip->capture_channels[epcm->channel_id].use = 0;
716 struct snd_ca0106_pcm *epcm = runtime->private_data;
717 int channel = epcm->channel_id;
829 struct snd_ca0106_pcm *epcm = runtime->private_data;
830 int channel = epcm->channel_id;
921 struct snd_ca0106_pcm *epcm;
946 epcm = runtime->private_data;
947 channel = epcm->channel_id;
949 epcm->running = running;
988 struct snd_ca0106_pcm *epcm = runtime->private_data;
989 int channel = epcm->channel_id;
996 epcm->running = 1;
1001 epcm->running = 0;
1016 struct snd_ca0106_pcm *epcm = runtime->private_data;
1018 int channel = epcm->channel_id;
1021 if (!epcm->running)
1046 struct snd_ca0106_pcm *epcm = runtime->private_data;
1048 int channel = epcm->channel_id;
1050 if (!epcm->running)
1237 snd_pcm_period_elapsed(pchannel->epcm->substream);
1253 snd_pcm_period_elapsed(pchannel->epcm->substream);