Lines Matching refs:emem
142 struct snd_emu10k1_memblk *emem; in terminate_voice() local
143 emem = (struct snd_emu10k1_memblk *)vp->block; in terminate_voice()
144 if (emem->map_locked > 0) in terminate_voice()
145 emem->map_locked--; in terminate_voice()
314 struct snd_emu10k1_memblk *emem; in start_voice() local
322 emem = (struct snd_emu10k1_memblk *)vp->block; in start_voice()
323 if (emem == NULL) in start_voice()
325 emem->map_locked++; in start_voice()
326 if (snd_emu10k1_memblk_map(hw, emem) < 0) { in start_voice()
330 mapped_offset = snd_emu10k1_memblk_offset(emem) >> 1; in start_voice()
467 struct snd_emu10k1_memblk *emem; in trigger_voice() local
471 emem = (struct snd_emu10k1_memblk *)vp->block; in trigger_voice()
472 if (! emem || emem->mapped_page < 0) in trigger_voice()