Home
last modified time | relevance | path

Searched refs:ptarget (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/sound/isa/sb/
Demu8000_pcm.c257 int ptarget = 1 << (pitch >> 12); in calc_pitch_target() local
258 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()
Demu8000_callback.c313 temp = (temp << 8) | (vp->ptarget << 16) | vp->aaux; in trigger_voice()
315 EMU8000_CPF_WRITE(hw, ch, vp->ptarget << 16); in trigger_voice()
/Linux-v5.10/sound/synth/emux/
Demux_synth.c587 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()
Demux_proc.c80 vp->ptarget, in snd_emux_proc_info_read()
/Linux-v5.10/sound/pci/emu10k1/
Demu10k1_callback.c465 unsigned int temp, ptarget; in trigger_voice() local
476 ptarget = (unsigned int)vp->ptarget << 16; in trigger_voice()
478 ptarget = IP_TO_CP(vp->apitch); in trigger_voice()
481 temp = ptarget | (vp->apan << 8) | vp->aaux; in trigger_voice()
485 snd_emu10k1_ptr_write(hw, CPF, vp->ch, ptarget); in trigger_voice()
/Linux-v5.10/drivers/macintosh/
Dwindfarm_rm31.c297 s32 tmax, ttarget, ptarget; in cpu_setup_pid() local
303 ptarget = ((s32)(mpu->pmaxh - mpu->padjmax)) << 16; in cpu_setup_pid()
329 pid.pmaxadj = ptarget; in cpu_setup_pid()
Dwindfarm_pm72.c396 s32 tmax, ttarget, ptarget; in cpu_setup_pid() local
402 ptarget = ((s32)(mpu->pmaxh - mpu->padjmax)) << 16; in cpu_setup_pid()
428 pid.pmaxadj = ptarget; in cpu_setup_pid()
/Linux-v5.10/include/sound/
Demux_synth.h185 int ptarget; /* pitch target */ member