Lines Matching refs:epcm

551 	struct snd_ca0106_pcm *epcm;
555 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL);
557 if (epcm == NULL)
559 epcm->emu = chip;
560 epcm->substream = substream;
561 epcm->channel_id=channel_id;
563 runtime->private_data = epcm;
577 channel->epcm = epcm;
603 struct snd_ca0106_pcm *epcm = runtime->private_data;
604 chip->playback_channels[epcm->channel_id].use = 0;
606 restore_spdif_bits(chip, epcm->channel_id);
609 if (epcm->channel_id != PCM_FRONT_CHANNEL) {
611 err = snd_ca0106_pcm_power_dac(chip, epcm->channel_id, 0);
646 struct snd_ca0106_pcm *epcm;
650 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL);
651 if (!epcm)
654 epcm->emu = chip;
655 epcm->substream = substream;
656 epcm->channel_id=channel_id;
658 runtime->private_data = epcm;
672 channel->epcm = epcm;
688 struct snd_ca0106_pcm *epcm = runtime->private_data;
689 chip->capture_channels[epcm->channel_id].use = 0;
719 struct snd_ca0106_pcm *epcm = runtime->private_data;
720 int channel = epcm->channel_id;
832 struct snd_ca0106_pcm *epcm = runtime->private_data;
833 int channel = epcm->channel_id;
924 struct snd_ca0106_pcm *epcm;
949 epcm = runtime->private_data;
950 channel = epcm->channel_id;
952 epcm->running = running;
991 struct snd_ca0106_pcm *epcm = runtime->private_data;
992 int channel = epcm->channel_id;
999 epcm->running = 1;
1004 epcm->running = 0;
1019 struct snd_ca0106_pcm *epcm = runtime->private_data;
1021 int channel = epcm->channel_id;
1024 if (!epcm->running)
1049 struct snd_ca0106_pcm *epcm = runtime->private_data;
1051 int channel = epcm->channel_id;
1053 if (!epcm->running)
1220 snd_pcm_period_elapsed(pchannel->epcm->substream);
1236 snd_pcm_period_elapsed(pchannel->epcm->substream);