Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/synth/emux/emux_synth.c setup_voice() -> calc_pitch()

Type Parameter Key Value
PARAM_VALUE 0 vp 4096-ptr_max
PARAM_VALUE 0 vp->acutoff 0-16777215
PARAM_VALUE 0 vp->apan (-1)
PARAM_VALUE 0 vp->apitch (-1)
PARAM_VALUE 0 vp->avol 0-255
PARAM_VALUE 0 vp->ch 0-s32max
PARAM_VALUE 0 vp->chan 4096-ptr_max
PARAM_VALUE 0 vp->chan->private 0,4096-ptr_max
PARAM_VALUE 0 vp->key 0-127
PARAM_VALUE 0 vp->port 4096-ptr_max
PARAM_VALUE 0 vp->port->emu 4096-ptr_max
PARAM_VALUE 0 vp->velocity 1-127
PARAM_VALUE 0 vp->zone 4096-ptr_max
PARAM_VALUE 0 vp->zone->sample 0,4096-ptr_max
BUF_SIZE 0 vp->port 4888,9624
CAPPED_DATA 0 vp->chan->midi_program 1
CAPPED_DATA 0 vp->key 1
DATA_SOURCE 0 vp $0
BIT_INFO 0 vp->time 0x0,0x7fffffff
NOSPEC 0 vp->key
NOSPEC 0 vp->note
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 vp->acutoff 1-254[c]
USER_DATA 0 vp->key 0-127[c]
USER_DATA 0 vp->note 0-127[c]
USER_DATA 0 vp->velocity 1-127
LOCK2 &emu->voice_lock
LOCK2 irq
TYPE_LOCK (struct snd_emux)->voice_lock

sound/synth/emux/emux_synth.c update_voice() -> calc_pitch()

Type Parameter Key Value
PARAM_VALUE 0 vp 4096-ptr_max
PARAM_VALUE 0 vp->chan 1-u64max
PARAM_VALUE 0 vp->port 1-u64max
PARAM_VALUE 0 vp->state s32min-(-1),1-s32max
DATA_SOURCE 0 vp $1
BIT_INFO 0 vp->state 0x1,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 vp->acutoff 1-254[c]
USER_DATA 0 vp->velocity 0-255
LOCK2 &emu->voice_lock
LOCK2 irq
TYPE_LOCK (struct snd_emux)->voice_lock