Searched refs:ptarget (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/sound/isa/sb/ |
D | emu8000_pcm.c | 257 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()
|
D | emu8000_callback.c | 313 temp = (temp << 8) | (vp->ptarget << 16) | vp->aaux; in trigger_voice() 315 EMU8000_CPF_WRITE(hw, ch, vp->ptarget << 16); in trigger_voice()
|
/linux-6.6.21/sound/synth/emux/ |
D | emux_synth.c | 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()
|
D | emux_proc.c | 80 vp->ptarget, in snd_emux_proc_info_read()
|
/linux-6.6.21/sound/pci/emu10k1/ |
D | emu10k1_callback.c | 452 unsigned int ptarget; in trigger_voice() local 463 ptarget = (unsigned int)vp->ptarget << 16; in trigger_voice() 465 ptarget = IP_TO_CP(vp->apitch); in trigger_voice() 469 PTRX, ptarget | (vp->apan << 8) | vp->aaux, in trigger_voice() 472 CPF, ptarget, in trigger_voice()
|
/linux-6.6.21/drivers/macintosh/ |
D | windfarm_rm31.c | 297 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()
|
D | windfarm_pm72.c | 396 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-6.6.21/include/sound/ |
D | emux_synth.h | 185 int ptarget; /* pitch target */ member
|