• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/ca0106/

Lines Matching refs:epcm

506 	struct snd_ca0106_pcm *epcm;
510 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL);
512 if (epcm == NULL)
514 epcm->emu = chip;
515 epcm->substream = substream;
516 epcm->channel_id=channel_id;
518 runtime->private_data = epcm;
532 channel->epcm = epcm;
559 struct snd_ca0106_pcm *epcm = runtime->private_data;
560 chip->playback_channels[epcm->channel_id].use = 0;
562 restore_spdif_bits(chip, epcm->channel_id);
564 if (chip->details->spi_dac && epcm->channel_id != PCM_FRONT_CHANNEL) {
565 const int reg = spi_dacd_reg[epcm->channel_id];
568 chip->spi_dac_reg[reg] |= spi_dacd_bit[epcm->channel_id];
600 struct snd_ca0106_pcm *epcm;
604 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL);
605 if (epcm == NULL) {
606 snd_printk(KERN_ERR "open_capture_channel: failed epcm alloc\n");
609 epcm->emu = chip;
610 epcm->substream = substream;
611 epcm->channel_id=channel_id;
613 runtime->private_data = epcm;
627 channel->epcm = epcm;
641 struct snd_ca0106_pcm *epcm = runtime->private_data;
642 chip->capture_channels[epcm->channel_id].use = 0;
699 struct snd_ca0106_pcm *epcm = runtime->private_data;
700 int channel = epcm->channel_id;
785 struct snd_ca0106_pcm *epcm = runtime->private_data;
786 int channel = epcm->channel_id;
860 struct snd_ca0106_pcm *epcm;
885 epcm = runtime->private_data;
886 channel = epcm->channel_id;
888 epcm->running = running;
927 struct snd_ca0106_pcm *epcm = runtime->private_data;
928 int channel = epcm->channel_id;
935 epcm->running = 1;
940 epcm->running = 0;
955 struct snd_ca0106_pcm *epcm = runtime->private_data;
957 int channel = epcm->channel_id;
959 if (!epcm->running)
987 struct snd_ca0106_pcm *epcm = runtime->private_data;
989 int channel = channel=epcm->channel_id;
991 if (!epcm->running)
1199 snd_pcm_period_elapsed(pchannel->epcm->substream);
1212 snd_pcm_period_elapsed(pchannel->epcm->substream);