Lines Matching refs:hw
233 runtime->hw = emu8k_pcm_hw; in emu8k_pcm_open()
234 runtime->hw.buffer_bytes_max = emu->mem_size - LOOP_BLANK_SIZE * 3; in emu8k_pcm_open()
235 runtime->hw.period_bytes_max = runtime->hw.buffer_bytes_max / 2; in emu8k_pcm_open()
271 struct snd_emu8000 *hw = rec->emu; in setup_voice() local
275 EMU8000_DCYSUSV_WRITE(hw, ch, 0x0080); in setup_voice()
276 EMU8000_VTFT_WRITE(hw, ch, 0x0000FFFF); in setup_voice()
277 EMU8000_CVCF_WRITE(hw, ch, 0x0000FFFF); in setup_voice()
278 EMU8000_PTRX_WRITE(hw, ch, 0); in setup_voice()
279 EMU8000_CPF_WRITE(hw, ch, 0); in setup_voice()
282 EMU8000_IP_WRITE(hw, ch, rec->pitch); in setup_voice()
284 EMU8000_ENVVAL_WRITE(hw, ch, 0x8000); in setup_voice()
285 EMU8000_ATKHLD_WRITE(hw, ch, 0x7f7f); in setup_voice()
286 EMU8000_DCYSUS_WRITE(hw, ch, 0x7f7f); in setup_voice()
287 EMU8000_ENVVOL_WRITE(hw, ch, 0x8000); in setup_voice()
288 EMU8000_ATKHLDV_WRITE(hw, ch, 0x7f7f); in setup_voice()
292 EMU8000_PEFE_WRITE(hw, ch, 0x0); in setup_voice()
294 EMU8000_LFO1VAL_WRITE(hw, ch, 0x8000); in setup_voice()
295 EMU8000_LFO2VAL_WRITE(hw, ch, 0x8000); in setup_voice()
297 EMU8000_FMMOD_WRITE(hw, ch, 0); in setup_voice()
299 EMU8000_TREMFRQ_WRITE(hw, ch, 0); in setup_voice()
301 EMU8000_FM2FRQ2_WRITE(hw, ch, 0); in setup_voice()
305 EMU8000_PSST_WRITE(hw, ch, temp); in setup_voice()
309 EMU8000_CSL_WRITE(hw, ch, temp); in setup_voice()
313 EMU8000_CCCA_WRITE(hw, ch, temp); in setup_voice()
315 EMU8000_00A0_WRITE(hw, ch, 0); in setup_voice()
316 EMU8000_0080_WRITE(hw, ch, 0); in setup_voice()
325 struct snd_emu8000 *hw = rec->emu; in start_voice() local
330 EMU8000_IFATN_WRITE(hw, ch, 0xff00); in start_voice()
331 EMU8000_VTFT_WRITE(hw, ch, 0xffff); in start_voice()
332 EMU8000_CVCF_WRITE(hw, ch, 0xffff); in start_voice()
334 EMU8000_DCYSUSV_WRITE(hw, ch, 0x7f7f); in start_voice()
342 EMU8000_PTRX_WRITE(hw, ch, temp); in start_voice()
343 EMU8000_CPF_WRITE(hw, ch, pt << 16); in start_voice()
360 struct snd_emu8000 *hw = rec->emu; in stop_voice() local
362 EMU8000_DCYSUSV_WRITE(hw, ch, 0x807F); in stop_voice()