Lines Matching defs:epcm

542 	struct snd_ca0106_pcm *epcm;
546 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL);
548 if (epcm == NULL)
550 epcm->emu = chip;
551 epcm->substream = substream;
552 epcm->channel_id=channel_id;
554 runtime->private_data = epcm;
568 channel->epcm = epcm;
594 struct snd_ca0106_pcm *epcm = runtime->private_data;
595 chip->playback_channels[epcm->channel_id].use = 0;
597 restore_spdif_bits(chip, epcm->channel_id);
600 if (epcm->channel_id != PCM_FRONT_CHANNEL) {
602 err = snd_ca0106_pcm_power_dac(chip, epcm->channel_id, 0);
637 struct snd_ca0106_pcm *epcm;
641 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL);
642 if (!epcm)
645 epcm->emu = chip;
646 epcm->substream = substream;
647 epcm->channel_id=channel_id;
649 runtime->private_data = epcm;
663 channel->epcm = epcm;
679 struct snd_ca0106_pcm *epcm = runtime->private_data;
680 chip->capture_channels[epcm->channel_id].use = 0;
710 struct snd_ca0106_pcm *epcm = runtime->private_data;
711 int channel = epcm->channel_id;
823 struct snd_ca0106_pcm *epcm = runtime->private_data;
824 int channel = epcm->channel_id;
915 struct snd_ca0106_pcm *epcm;
940 epcm = runtime->private_data;
941 channel = epcm->channel_id;
943 epcm->running = running;
982 struct snd_ca0106_pcm *epcm = runtime->private_data;
983 int channel = epcm->channel_id;
990 epcm->running = 1;
995 epcm->running = 0;
1010 struct snd_ca0106_pcm *epcm = runtime->private_data;
1012 int channel = epcm->channel_id;
1015 if (!epcm->running)
1040 struct snd_ca0106_pcm *epcm = runtime->private_data;
1042 int channel = epcm->channel_id;
1044 if (!epcm->running)
1205 snd_pcm_period_elapsed(pchannel->epcm->substream);
1221 snd_pcm_period_elapsed(pchannel->epcm->substream);