Searched refs:ptarget (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/sound/isa/sb/ |
D | emu8000_pcm.c | 270 int ptarget = 1 << (pitch >> 12); in calc_pitch_target() local 271 if (pitch & 0x800) ptarget += (ptarget * 0x102e) / 0x2710; in calc_pitch_target() 272 if (pitch & 0x400) ptarget += (ptarget * 0x764) / 0x2710; in calc_pitch_target() 273 if (pitch & 0x200) ptarget += (ptarget * 0x389) / 0x2710; in calc_pitch_target() 274 ptarget += (ptarget >> 1); in calc_pitch_target() 275 if (ptarget > 0xffff) ptarget = 0xffff; in calc_pitch_target() 276 return ptarget; in calc_pitch_target()
|
D | emu8000_callback.c | 326 temp = (temp << 8) | (vp->ptarget << 16) | vp->aaux; in trigger_voice() 328 EMU8000_CPF_WRITE(hw, ch, vp->ptarget << 16); in trigger_voice()
|
/Linux-v4.19/sound/synth/emux/ |
D | emux_synth.c | 601 vp->ptarget = 1 << (pitch >> 12); in setup_voice() 602 if (pitch & 0x800) vp->ptarget += (vp->ptarget*0x102e)/0x2710; in setup_voice() 603 if (pitch & 0x400) vp->ptarget += (vp->ptarget*0x764)/0x2710; in setup_voice() 604 if (pitch & 0x200) vp->ptarget += (vp->ptarget*0x389)/0x2710; in setup_voice() 605 vp->ptarget += (vp->ptarget >> 1); in setup_voice() 606 if (vp->ptarget > 0xffff) vp->ptarget = 0xffff; in setup_voice() 608 vp->ptarget = 0xffff; in setup_voice()
|
D | emux_proc.c | 93 vp->ptarget, in snd_emux_proc_info_read()
|
/Linux-v4.19/sound/pci/emu10k1/ |
D | emu10k1_callback.c | 478 unsigned int temp, ptarget; in trigger_voice() local 489 ptarget = (unsigned int)vp->ptarget << 16; in trigger_voice() 491 ptarget = IP_TO_CP(vp->apitch); in trigger_voice() 494 temp = ptarget | (vp->apan << 8) | vp->aaux; in trigger_voice() 498 snd_emu10k1_ptr_write(hw, CPF, vp->ch, ptarget); in trigger_voice()
|
/Linux-v4.19/drivers/macintosh/ |
D | windfarm_rm31.c | 298 s32 tmax, ttarget, ptarget; in cpu_setup_pid() local 304 ptarget = ((s32)(mpu->pmaxh - mpu->padjmax)) << 16; in cpu_setup_pid() 330 pid.pmaxadj = ptarget; in cpu_setup_pid()
|
D | windfarm_pm72.c | 397 s32 tmax, ttarget, ptarget; in cpu_setup_pid() local 403 ptarget = ((s32)(mpu->pmaxh - mpu->padjmax)) << 16; in cpu_setup_pid() 429 pid.pmaxadj = ptarget; in cpu_setup_pid()
|
/Linux-v4.19/include/sound/ |
D | emux_synth.h | 198 int ptarget; /* pitch target */ member
|