Defined in 1 files as a prototype:
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_drum_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | opl3 | 4096-ptr_max |
| PARAM_VALUE | 0 | opl3->synth_mode | 1 |
| PARAM_VALUE | 3 | on_off | 0 |
| PARAM_VALUE | 4 | chan | 4096-ptr_max |
| PARAM_VALUE | 4 | chan->drum_channel | 1 |
| BUF_SIZE | 0 | opl3 | (-1),4888,9624 |
| BUF_SIZE | 0 | opl3 | (-1),4888,9624 |
| DATA_SOURCE | 0 | opl3 | $0 |
| DATA_SOURCE | 1 | note | $1 |
| DATA_SOURCE | 2 | vel | $2 |
| DATA_SOURCE | 4 | chan | $3 |
| NOSPEC | 1 | note | |
| NOSPEC | 1 | note | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | note | 0-127 |
| USER_DATA | 2 | vel | 0-255 |
| LOCK2 | &opl3->voice_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct snd_opl3)->voice_lock |
sound/drivers/opl3/opl3_midi.c snd_opl3_note_on() -> snd_opl3_drum_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | opl3 | 4096-ptr_max |
| PARAM_VALUE | 1 | note | 0-127 |
| PARAM_VALUE | 2 | vel | 1-255 |
| PARAM_VALUE | 3 | on_off | 1 |
| PARAM_VALUE | 4 | chan | 4096-ptr_max |
| PARAM_VALUE | 4 | chan->note | 4096-ptr_max |
| PARAM_VALUE | 4 | chan->number | 0-31 |
| BUF_SIZE | 0 | opl3 | 4888,9624 |
| BUF_SIZE | 0 | opl3 | 4888,9624 |
| CAPPED_DATA | 1 | note | 1 |
| CAPPED_DATA | 4 | chan | 1 |
| DATA_SOURCE | 0 | opl3 | $0 |
| DATA_SOURCE | 1 | note | $1 |
| DATA_SOURCE | 2 | vel | $2 |
| DATA_SOURCE | 4 | chan | $3 |
| NOSPEC | 1 | note | |
| NOSPEC | 1 | note | |
| HARD_MAX | 1 | note | 127 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | note | 0-127[c] |
| USER_DATA | 2 | vel | 1-255 |
| LOCK2 | irq | ||
| LOCK2 | 0 | &opl3->voice_lock | |
| TYPE_LOCK | (struct snd_opl3)->voice_lock |