Lines Matching refs:epcm
168 struct snd_emu10k1_pcm *epcm = runtime->private_data;
170 if (epcm) {
171 /* snd_printk(KERN_DEBUG "epcm free: %p\n", epcm); */
172 kfree(epcm);
181 struct snd_emu10k1_pcm *epcm;
185 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL);
186 /* snd_printk(KERN_DEBUG "epcm kcalloc: %p\n", epcm); */
188 if (epcm == NULL)
190 epcm->emu = emu;
191 epcm->substream = substream;
193 snd_printk(KERN_DEBUG "epcm device=%d, channel_id=%d\n",
196 runtime->private_data = epcm;
206 channel->epcm = epcm;
222 struct snd_emu10k1_pcm *epcm;
226 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL);
227 /* snd_printk(KERN_DEBUG "epcm kcalloc: %p\n", epcm); */
229 if (epcm == NULL)
231 epcm->emu = emu;
232 epcm->substream = substream;
234 snd_printk(KERN_DEBUG "epcm device=%d, channel_id=%d\n",
237 runtime->private_data = epcm;
247 channel->epcm = epcm;
260 //struct snd_emu10k1_pcm *epcm = runtime->private_data;
270 //struct snd_emu10k1_pcm *epcm = runtime->private_data;
439 struct snd_emu10k1_pcm *epcm;
461 epcm = runtime->private_data;
464 epcm->running = running;
493 struct snd_emu10k1_pcm *epcm = runtime->private_data;
502 epcm->running = 1;
508 epcm->running = 0;
523 struct snd_emu10k1_pcm *epcm = runtime->private_data;
526 if (!epcm->running)
548 struct snd_emu10k1_pcm *epcm = runtime->private_data;
552 if (!epcm->running)