Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/drivers/opl3/opl3_midi.c snd_opl3_note_off_unsafe() -> snd_opl3_kill_voice()

Type Parameter Key Value
PARAM_VALUE 0 opl3 4096-ptr_max
PARAM_VALUE 0 opl3->max_voices 1-255
PARAM_VALUE 0 opl3->synth_mode 1
PARAM_VALUE 0 opl3->voices 4096-ptr_max
PARAM_VALUE 1 voice 0-254
BUF_SIZE 0 opl3 (-1),4888,9624
BUF_SIZE 0 opl3 (-1),4888,9624
CAPPED_DATA 1 voice 1
DATA_SOURCE 0 opl3 $0
PARAM_COMPARE 0 opl3->max_voices > $1
PARAM_COMPARE 1 voice < $0->max_voices
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &opl3->voice_lock
LOCK2 irq
TYPE_LOCK (struct snd_opl3)->voice_lock

sound/drivers/opl3/opl3_midi.c snd_opl3_note_off_unsafe() -> snd_opl3_kill_voice()

Type Parameter Key Value
PARAM_VALUE 0 opl3 4096-ptr_max
PARAM_VALUE 0 opl3->synth_mode s32min-0,2-s32max
PARAM_VALUE 1 voice 0-17
BUF_SIZE 0 opl3 (-1),4888,9624
BUF_SIZE 0 opl3 (-1),4888,9624
DATA_SOURCE 0 opl3 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &opl3->voice_lock
LOCK2 irq
TYPE_LOCK (struct snd_opl3)->voice_lock