Searched refs:ptarget (Results 1 – 5 of 5) sorted by relevance
257 int ptarget = 1 << (pitch >> 12); in calc_pitch_target() local258 if (pitch & 0x800) ptarget += (ptarget * 0x102e) / 0x2710; in calc_pitch_target()259 if (pitch & 0x400) ptarget += (ptarget * 0x764) / 0x2710; in calc_pitch_target()260 if (pitch & 0x200) ptarget += (ptarget * 0x389) / 0x2710; in calc_pitch_target()261 ptarget += (ptarget >> 1); in calc_pitch_target()262 if (ptarget > 0xffff) ptarget = 0xffff; in calc_pitch_target()263 return ptarget; in calc_pitch_target()
313 temp = (temp << 8) | (vp->ptarget << 16) | vp->aaux; in trigger_voice()315 EMU8000_CPF_WRITE(hw, ch, vp->ptarget << 16); in trigger_voice()
587 vp->ptarget = 1 << (pitch >> 12); in setup_voice()588 if (pitch & 0x800) vp->ptarget += (vp->ptarget*0x102e)/0x2710; in setup_voice()589 if (pitch & 0x400) vp->ptarget += (vp->ptarget*0x764)/0x2710; in setup_voice()590 if (pitch & 0x200) vp->ptarget += (vp->ptarget*0x389)/0x2710; in setup_voice()591 vp->ptarget += (vp->ptarget >> 1); in setup_voice()592 if (vp->ptarget > 0xffff) vp->ptarget = 0xffff; in setup_voice()594 vp->ptarget = 0xffff; in setup_voice()
80 vp->ptarget, in snd_emux_proc_info_read()
466 unsigned int temp, ptarget; in trigger_voice() local477 ptarget = (unsigned int)vp->ptarget << 16; in trigger_voice()479 ptarget = IP_TO_CP(vp->apitch); in trigger_voice()482 temp = ptarget | (vp->apan << 8) | vp->aaux; in trigger_voice()486 snd_emu10k1_ptr_write(hw, CPF, vp->ch, ptarget); in trigger_voice()