Defined in 1 files as a prototype:
Defined in 2 files as a function:
- sound/isa/sb/emu8000_pcm.c, line 271 (as a function)
- sound/synth/emux/emux_synth.c, line 526 (as a function)
Referenced in 2 files:
Smatch caller information:
sound/isa/sb/emu8000_pcm.c emu8k_pcm_prepare() -> setup_voice()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rec | 4096-ptr_max |
| PARAM_VALUE | 0 | rec->dram_opened | 1 |
| PARAM_VALUE | 0 | rec->last_ptr | 0 |
| PARAM_VALUE | 0 | rec->loop_start | 4096-ptr_max |
| PARAM_VALUE | 0 | rec->panning | 4096-ptr_max |
| PARAM_VALUE | 0 | rec->period_pos | 0 |
| PARAM_VALUE | 1 | ch | 0 |
| BUF_SIZE | 0 | rec | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rec | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | rec | unit_byte |
sound/isa/sb/emu8000_pcm.c emu8k_pcm_prepare() -> setup_voice()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rec | 4096-ptr_max |
| PARAM_VALUE | 0 | rec->dram_opened | 1 |
| PARAM_VALUE | 0 | rec->emu | 4096-ptr_max |
| PARAM_VALUE | 0 | rec->last_ptr | 0 |
| PARAM_VALUE | 0 | rec->loop_start | 4096-ptr_max |
| PARAM_VALUE | 0 | rec->panning | 4096-ptr_max |
| PARAM_VALUE | 0 | rec->period_pos | 0 |
| PARAM_VALUE | 0 | rec->voices | 2-s32max |
| PARAM_VALUE | 1 | ch | 1 |
| BUF_SIZE | 0 | rec | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rec | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | rec | unit_byte |
sound/synth/emux/emux_synth.c snd_emux_note_on() -> setup_voice()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rec | 4096-ptr_max |
| PARAM_VALUE | 0 | rec->ch | 0-s32max |
| PARAM_VALUE | 0 | rec->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | rec->chan->number | 0-31 |
| PARAM_VALUE | 0 | rec->key | 0-127 |
| PARAM_VALUE | 0 | rec->port | 4096-ptr_max |
| PARAM_VALUE | 0 | rec->port->emu | 4096-ptr_max |
| PARAM_VALUE | 0 | rec->velocity | 1-255 |
| PARAM_VALUE | 0 | rec->zone | 4096-ptr_max |
| PARAM_VALUE | 0 | rec->zone->sample | 0,4096-ptr_max |
| BUF_SIZE | 0 | rec->port | 4888,9624 |
| CAPPED_DATA | 0 | rec->chan->midi_program | 1 |
| CAPPED_DATA | 0 | rec->key | 1 |
| BIT_INFO | 0 | rec->time | 0x0,0x7fffffff |
| NOSPEC | 0 | rec->key | |
| NOSPEC | 0 | rec->note | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | rec->key | 0-127[c] |
| USER_DATA | 0 | rec->note | 0-127[c] |
| USER_DATA | 0 | rec->velocity | 1-255 |
| LOCK2 | &emu->voice_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct snd_emux)->voice_lock |