Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
sound/isa/wavefront/wavefront_synth.c snd_wavefront_detect() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->has_fx | 0 |
| PARAM_VALUE | 0 | dev->interrupts_are_midi | 0 |
| PARAM_VALUE | 0 | dev->irq_cnt | 0 |
| PARAM_VALUE | 0 | dev->israw | 0 |
| PARAM_VALUE | 0 | dev->rom_samples_rdonly | 1 |
| PARAM_VALUE | 1 | cmd | 159 |
| PARAM_VALUE | 2 | rbuf | 4533273725455306752 |
| PARAM_VALUE | 3 | wbuf | 7528917947644657664 |
| BUF_SIZE | 0 | dev | 1424 |
| BUF_SIZE | 2 | rbuf | 4 |
| BUF_SIZE | 3 | wbuf | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/isa/wavefront/wavefront_synth.c snd_wavefront_detect() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->fw_version | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->has_fx | 0 |
| PARAM_VALUE | 0 | dev->interrupts_are_midi | 0 |
| PARAM_VALUE | 0 | dev->irq_cnt | 0 |
| PARAM_VALUE | 0 | dev->israw | 0 |
| PARAM_VALUE | 0 | dev->rom_samples_rdonly | 1 |
| PARAM_VALUE | 1 | cmd | 207 |
| PARAM_VALUE | 2 | rbuf | 4533273725455306752 |
| PARAM_VALUE | 2 | *rbuf | 0-254 |
| PARAM_VALUE | 3 | wbuf | 7528917947644657664 |
| BUF_SIZE | 0 | dev | 1424 |
| BUF_SIZE | 2 | rbuf | 4 |
| BUF_SIZE | 3 | wbuf | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/isa/wavefront/wavefront_synth.c wavefront_delete_sample() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 132 |
| PARAM_VALUE | 2 | rbuf | 0 |
| PARAM_VALUE | 3 | wbuf | 4096-ptr_max |
| BUF_SIZE | 3 | wbuf | 2 |
| DATA_SOURCE | 0 | dev | $0 |
sound/isa/wavefront/wavefront_synth.c wavefront_do_reset() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->freemem | 0-s32max |
| PARAM_VALUE | 0 | dev->israw | 0 |
| PARAM_VALUE | 1 | cmd | 139 |
| PARAM_VALUE | 2 | rbuf | 0 |
| PARAM_VALUE | 3 | wbuf | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),1424 |
| BUF_SIZE | 0 | dev | (-1),1424 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/isa/wavefront/wavefront_synth.c wavefront_fetch_multisample() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 174 |
| PARAM_VALUE | 2 | rbuf | 1849375433514766336 |
| PARAM_VALUE | 3 | wbuf | 4708295529380782080 |
| BUF_SIZE | 0 | dev | 1424 |
| BUF_SIZE | 3 | wbuf | 2 |
| DATA_SOURCE | 0 | dev | $0 |
sound/isa/wavefront/wavefront_synth.c wavefront_freemem() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | *dev->sample_status | 0-255 |
| PARAM_VALUE | 1 | cmd | 133 |
| PARAM_VALUE | 2 | rbuf | 2235504719760707584 |
| PARAM_VALUE | 3 | wbuf | 0 |
| BUF_SIZE | 0 | dev->res_base | (-1),64 |
| BUF_SIZE | 2 | rbuf | 8 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/isa/wavefront/wavefront_synth.c wavefront_get_patch_status() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->has_fx | 0-1 |
| PARAM_VALUE | 0 | *dev->patch_status | 128 |
| PARAM_VALUE | 0 | *dev->prog_status | 0,128 |
| PARAM_VALUE | 1 | cmd | 163 |
| PARAM_VALUE | 2 | rbuf | 5712111242962419712 |
| PARAM_VALUE | 3 | wbuf | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),1424 |
| BUF_SIZE | 0 | dev | (-1),1424 |
| BUF_SIZE | 2 | rbuf | 132 |
| BUF_SIZE | 3 | wbuf | 2 |
| DATA_SOURCE | 0 | dev | $0 |
| FUZZY_MAX | 0 | dev->has_fx | 1 |
| HARD_MAX | 0 | dev->has_fx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/isa/wavefront/wavefront_synth.c wavefront_get_program_status() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->has_fx | 0-1 |
| PARAM_VALUE | 1 | cmd | 164 |
| PARAM_VALUE | 2 | rbuf | 8620622812647735296 |
| PARAM_VALUE | 3 | wbuf | 4389339502358835200 |
| PARAM_VALUE | 3 | *wbuf | 0-127 |
| BUF_SIZE | 0 | dev | (-1),1424 |
| BUF_SIZE | 0 | dev | (-1),1424 |
| BUF_SIZE | 2 | rbuf | 32 |
| DATA_SOURCE | 0 | dev | $0 |
| FUZZY_MAX | 0 | dev->has_fx | 1 |
| HARD_MAX | 0 | dev->has_fx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/isa/wavefront/wavefront_synth.c wavefront_get_sample_status() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->has_fx | 0-1 |
| PARAM_VALUE | 1 | cmd | 160 |
| PARAM_VALUE | 2 | rbuf | 2010494424637177856 |
| PARAM_VALUE | 3 | wbuf | 4956107033239924736 |
| BUF_SIZE | 0 | dev | (-1),1424 |
| BUF_SIZE | 0 | dev | (-1),1424 |
| BUF_SIZE | 2 | rbuf | 32 |
| BUF_SIZE | 3 | wbuf | 32 |
| DATA_SOURCE | 0 | dev | $0 |
| FUZZY_MAX | 0 | dev->has_fx | 1 |
| HARD_MAX | 0 | dev->has_fx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/isa/wavefront/wavefront_synth.c wavefront_get_sample_status() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->has_fx | 0-1 |
| PARAM_VALUE | 0 | dev->samples_used | 0-s32max |
| PARAM_VALUE | 1 | cmd | 176 |
| PARAM_VALUE | 2 | rbuf | 2010494424637177856 |
| PARAM_VALUE | 3 | wbuf | 4956107033239924736 |
| BUF_SIZE | 0 | dev | (-1),1424 |
| BUF_SIZE | 0 | dev | (-1),1424 |
| BUF_SIZE | 2 | rbuf | 32 |
| BUF_SIZE | 3 | wbuf | 32 |
| DATA_SOURCE | 0 | dev | $0 |
| FUZZY_MAX | 0 | dev->has_fx | 1 |
| FUZZY_MAX | 0 | dev->samples_used | 0 |
| HARD_MAX | 0 | dev->has_fx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/isa/wavefront/wavefront_synth.c wavefront_restore_midi_state() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->has_fx | 0-1 |
| PARAM_VALUE | 0 | dev->interrupts_are_midi | 1 |
| PARAM_VALUE | 0 | dev->irq_cnt | 0 |
| PARAM_VALUE | 0 | dev->israw | 1-255 |
| PARAM_VALUE | 0 | dev->midi.timer_card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->midi_in_to_synth | 1 |
| PARAM_VALUE | 1 | cmd | 157-158 |
| PARAM_VALUE | 2 | rbuf | 2667751727560433664 |
| PARAM_VALUE | 3 | wbuf | 6133315590714671104 |
| BUF_SIZE | 0 | dev | 1424 |
| BUF_SIZE | 2 | rbuf | 4 |
| BUF_SIZE | 3 | wbuf | 4 |
| FUZZY_MAX | 1 | cmd | 158 |
| BIT_INFO | 1 | cmd | 0x9c,0x9f |
| HARD_MAX | 1 | cmd | 158 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/isa/wavefront/wavefront_synth.c wavefront_restore_midi_state() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->has_fx | 0-1 |
| PARAM_VALUE | 0 | dev->interrupts_are_midi | 1 |
| PARAM_VALUE | 0 | dev->irq_cnt | 0 |
| PARAM_VALUE | 0 | dev->israw | 1-255 |
| PARAM_VALUE | 0 | dev->midi.timer_card | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 168-169 |
| PARAM_VALUE | 2 | rbuf | 2667751727560433664 |
| PARAM_VALUE | 3 | wbuf | 6133315590714671104 |
| BUF_SIZE | 0 | dev | 1424 |
| BUF_SIZE | 2 | rbuf | 4 |
| BUF_SIZE | 3 | wbuf | 4 |
| FUZZY_MAX | 1 | cmd | 169 |
| BIT_INFO | 1 | cmd | 0xa8,0xa9 |
| HARD_MAX | 1 | cmd | 169 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/isa/wavefront/wavefront_synth.c wavefront_send_alias() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 131 |
| PARAM_VALUE | 2 | rbuf | 0 |
| PARAM_VALUE | 3 | wbuf | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1424 |
| BUF_SIZE | 3 | wbuf | 25 |
| DATA_SOURCE | 0 | dev | $0 |
sound/isa/wavefront/wavefront_synth.c wavefront_send_drum() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 177 |
| PARAM_VALUE | 2 | rbuf | 0 |
| PARAM_VALUE | 3 | wbuf | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1424 |
| BUF_SIZE | 3 | wbuf | 9 |
| DATA_SOURCE | 0 | dev | $0 |
sound/isa/wavefront/wavefront_synth.c wavefront_send_multisample() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 130 |
| PARAM_VALUE | 3 | wbuf | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1424 |
| BUF_SIZE | 3 | wbuf | 259 |
| BUF_SIZE | 3 | wbuf | 259 |
| CAPPED_DATA | 2 | rbuf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 3 | wbuf | r _kmalloc_noprof |
sound/isa/wavefront/wavefront_synth.c wavefront_send_patch() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->patch_status | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 134 |
| PARAM_VALUE | 2 | rbuf | 0 |
| PARAM_VALUE | 3 | wbuf | 247083145589972992 |
| BUF_SIZE | 0 | dev | 1424 |
| BUF_SIZE | 3 | wbuf | 134 |
| DATA_SOURCE | 0 | dev | $0 |
sound/isa/wavefront/wavefront_synth.c wavefront_send_program() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->prog_status | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 135 |
| PARAM_VALUE | 2 | rbuf | 0 |
| PARAM_VALUE | 3 | wbuf | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1424 |
| BUF_SIZE | 3 | wbuf | 33 |
| DATA_SOURCE | 0 | dev | $0 |
sound/isa/wavefront/wavefront_synth.c wavefront_send_sample() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | *dev->sample_status | 0-255 |
| PARAM_VALUE | 1 | cmd | 128,172 |
| PARAM_VALUE | 2 | rbuf | 0 |
| PARAM_VALUE | 3 | wbuf | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1424 |
| BUF_SIZE | 3 | wbuf | 25 |
| DATA_SOURCE | 0 | dev | $0 |
| FUZZY_MAX | 1 | cmd | 172 |
| BIT_INFO | 1 | cmd | 0x80,0xac |
| HARD_MAX | 1 | cmd | 172 |
sound/isa/wavefront/wavefront_synth.c wavefront_send_sample() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->freemem | 1-s32max |
| PARAM_VALUE | 0 | *dev->sample_status | 0-255 |
| PARAM_VALUE | 1 | cmd | 129 |
| PARAM_VALUE | 2 | rbuf | 0 |
| PARAM_VALUE | 3 | wbuf | 0 |
| BUF_SIZE | 0 | dev | 1424 |
| DATA_SOURCE | 0 | dev | $0 |
sound/isa/wavefront/wavefront_synth.c wavefront_synth_control() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | s32min-(-1),1-4,10-173,176-s32max |
| BUF_SIZE | 0 | dev | 1424 |
| BUF_SIZE | 2 | rbuf | 258 |
| BUF_SIZE | 3 | wbuf | 258 |
| USER_DATA | 1 | cmd | s32min-(-1),1-4,10-173,176-s32max |
| USER_DATA | 2 | *rbuf | 0-255 |
| USER_DATA | 3 | *wbuf | 0-255 |
| USER_PTR | 2 | rbuf | |
| USER_PTR | 3 | wbuf |
sound/isa/wavefront/wavefront_midi.c snd_wavefront_midi_start() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->has_fx | 0-1 |
| PARAM_VALUE | 0 | dev->interrupts_are_midi | 1 |
| PARAM_VALUE | 0 | dev->irq_cnt | 0 |
| PARAM_VALUE | 0 | dev->midi.timer_card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->midi.timer_card->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->midi.timer_card->wavefront.card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->midi.timer_card->wavefront.has_fx | 0-1 |
| PARAM_VALUE | 0 | dev->midi.timer_card->wavefront.interrupts_are_midi | 0-1 |
| PARAM_VALUE | 0 | dev->midi.timer_card->wavefront.irq_cnt | 0 |
| PARAM_VALUE | 1 | cmd | 158 |
| PARAM_VALUE | 2 | rbuf | 2368110326665117696 |
| PARAM_VALUE | 3 | wbuf | 5807932661266051072 |
| BUF_SIZE | 0 | dev | 1424 |
| BUF_SIZE | 2 | rbuf | 4 |
| BUF_SIZE | 3 | wbuf | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/isa/wavefront/wavefront_midi.c snd_wavefront_midi_start() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->has_fx | 0-1 |
| PARAM_VALUE | 0 | dev->interrupts_are_midi | 1 |
| PARAM_VALUE | 0 | dev->irq_cnt | 0 |
| PARAM_VALUE | 0 | dev->midi.timer_card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->midi.timer_card->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->midi.timer_card->wavefront.card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->midi.timer_card->wavefront.has_fx | 0-1 |
| PARAM_VALUE | 0 | dev->midi.timer_card->wavefront.interrupts_are_midi | 0-1 |
| PARAM_VALUE | 0 | dev->midi.timer_card->wavefront.irq_cnt | 0 |
| PARAM_VALUE | 0 | dev->midi_in_to_synth | 1 |
| PARAM_VALUE | 1 | cmd | 169 |
| PARAM_VALUE | 2 | rbuf | 2368110326665117696 |
| PARAM_VALUE | 3 | wbuf | 5807932661266051072 |
| BUF_SIZE | 0 | dev | 1424 |
| BUF_SIZE | 2 | rbuf | 4 |
| BUF_SIZE | 3 | wbuf | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/isa/wavefront/wavefront_midi.c snd_wavefront_midi_start() -> snd_wavefront_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->has_fx | 0-1 |
| PARAM_VALUE | 0 | dev->interrupts_are_midi | 1 |
| PARAM_VALUE | 0 | dev->irq_cnt | 0 |
| PARAM_VALUE | 0 | dev->midi.timer_card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->midi.timer_card->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->midi.timer_card->wavefront.card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->midi.timer_card->wavefront.has_fx | 0-1 |
| PARAM_VALUE | 0 | dev->midi.timer_card->wavefront.interrupts_are_midi | 0-1 |
| PARAM_VALUE | 0 | dev->midi.timer_card->wavefront.irq_cnt | 0 |
| PARAM_VALUE | 0 | dev->midi_in_to_synth | 1 |
| PARAM_VALUE | 1 | cmd | 168 |
| PARAM_VALUE | 2 | rbuf | 2368110326665117696 |
| PARAM_VALUE | 3 | wbuf | 5807932661266051072 |
| BUF_SIZE | 0 | dev | 1424 |
| BUF_SIZE | 2 | rbuf | 4 |
| BUF_SIZE | 3 | wbuf | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |