Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- sound/pci/echoaudio/echoaudio.c, line 2188
- sound/pci/echoaudio/echoaudio_dsp.c, line 940
- sound/pci/echoaudio/midi.c, line 156
Smatch caller information:
sound/pci/echoaudio/layla24.c rest_in_peace() -> enable_midi_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->comm_page | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->meters_enabled | 0 |
| PARAM_VALUE | 0 | *chip->comm_page->peak_meter | (-128)-127 |
| PARAM_VALUE | 0 | *chip->comm_page->vu_meter | (-128)-127 |
| PARAM_VALUE | 1 | enable | 0 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/pci/echoaudio/layla24.c snd_echo_midi_input_trigger() -> enable_midi_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | enable | 0-1 |
| BUF_SIZE | 0 | chip | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| BUF_SIZE | 0 | chip | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| DATA_SOURCE | 1 | enable | $1 |
| PARAM_COMPARE | 0 | chip->midi_input_enabled | != $1 |
| PARAM_COMPARE | 1 | enable | != $0->midi_input_enabled |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &chip->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct echoaudio)->lock |
sound/pci/echoaudio/layla24.c snd_echo_resume() -> enable_midi_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->asic_loaded | 0-1 |
| PARAM_VALUE | 0 | chip->card | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->sync_irq | 0 |
| PARAM_VALUE | 0 | chip->irq | 0 |
| PARAM_VALUE | 0 | chip->midi_input_enabled | 1-255 |
| PARAM_VALUE | 0 | chip->pci | 4096-ptr_max |
| PARAM_VALUE | 1 | enable | 1 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
sound/pci/echoaudio/layla20.c rest_in_peace() -> enable_midi_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->comm_page | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->meters_enabled | 0 |
| PARAM_VALUE | 0 | *chip->comm_page->peak_meter | (-128)-127 |
| PARAM_VALUE | 0 | *chip->comm_page->vu_meter | (-128)-127 |
| PARAM_VALUE | 1 | enable | 0 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/pci/echoaudio/layla20.c snd_echo_midi_input_trigger() -> enable_midi_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | enable | 0-1 |
| BUF_SIZE | 0 | chip | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| BUF_SIZE | 0 | chip | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| DATA_SOURCE | 1 | enable | $1 |
| PARAM_COMPARE | 0 | chip->midi_input_enabled | != $1 |
| PARAM_COMPARE | 1 | enable | != $0->midi_input_enabled |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &chip->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct echoaudio)->lock |
sound/pci/echoaudio/layla20.c snd_echo_resume() -> enable_midi_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->asic_loaded | 0-1 |
| PARAM_VALUE | 0 | chip->bad_board | 0-1 |
| PARAM_VALUE | 0 | chip->card | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->sync_irq | 0 |
| PARAM_VALUE | 0 | chip->card_name | 1236913368476549120 |
| PARAM_VALUE | 0 | chip->comm_page->cmd_add_buffer | 0 |
| PARAM_VALUE | 0 | chip->comm_page->cmd_reset | 0 |
| PARAM_VALUE | 0 | chip->comm_page->cmd_start | 0 |
| PARAM_VALUE | 0 | chip->comm_page->cmd_stop | 0 |
| PARAM_VALUE | 0 | chip->comm_page->comm_size | 3072 |
| PARAM_VALUE | 0 | chip->comm_page->control_register | 0 |
| PARAM_VALUE | 0 | chip->comm_page->e3g_frq_register | 0 |
| PARAM_VALUE | 0 | chip->comm_page->ext_box_status | 0 |
| PARAM_VALUE | 0 | chip->comm_page->filler2 | 0 |
| PARAM_VALUE | 0 | chip->comm_page->flags | 0 |
| PARAM_VALUE | 0 | chip->comm_page->gd_clock_state | 0,255 |
| PARAM_VALUE | 0 | chip->comm_page->gd_resampler_state | 0 |
| PARAM_VALUE | 0 | chip->comm_page->gd_spdif_status | 0,255 |
| PARAM_VALUE | 0 | chip->comm_page->handshake | 0,u32max |
| PARAM_VALUE | 0 | chip->comm_page->input_clock | 0 |
| PARAM_VALUE | 0 | chip->comm_page->midi_out_free_count | 64 |
| PARAM_VALUE | 0 | chip->comm_page->monitors | 0 |
| PARAM_VALUE | 0 | chip->comm_page->nominal_level_mask | 0 |
| PARAM_VALUE | 0 | chip->comm_page->output_clock | 0 |
| PARAM_VALUE | 0 | chip->comm_page->sample_rate | 44100 |
| PARAM_VALUE | 0 | chip->comm_page->status_clocks | 0 |
| PARAM_VALUE | 0 | chip->comm_page->unused | 0 |
| PARAM_VALUE | 0 | chip->comm_page->unused2 | 0 |
| PARAM_VALUE | 0 | chip->comm_page->vmixer | 0 |
| PARAM_VALUE | 0 | chip->dsp_code | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->dsp_code_to_load | 0 |
| PARAM_VALUE | 0 | chip->has_midi | 1 |
| PARAM_VALUE | 0 | chip->input_clock_types | 15 |
| PARAM_VALUE | 0 | chip->irq | 0 |
| PARAM_VALUE | 0 | chip->midi_input_enabled | 1-255 |
| PARAM_VALUE | 0 | chip->output_clock_types | 6 |
| PARAM_VALUE | 0 | chip->pci | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->pci->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->pci->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | *chip->comm_page->monitors | (-128)-127 |
| PARAM_VALUE | 0 | *chip->comm_page->vmixer | (-128)-127 |
| PARAM_VALUE | 1 | enable | 1 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| TERMINATED | 0 | chip->card_name | 1 |
| MEM_ZERO | 0 | chip->comm_page | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
sound/pci/echoaudio/mia.c rest_in_peace() -> enable_midi_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->comm_page | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->meters_enabled | 0 |
| PARAM_VALUE | 0 | *chip->comm_page->peak_meter | (-128)-127 |
| PARAM_VALUE | 0 | *chip->comm_page->vu_meter | (-128)-127 |
| PARAM_VALUE | 1 | enable | 0 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/pci/echoaudio/mia.c snd_echo_midi_input_trigger() -> enable_midi_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | enable | 0-1 |
| BUF_SIZE | 0 | chip | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| BUF_SIZE | 0 | chip | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| DATA_SOURCE | 1 | enable | $1 |
| PARAM_COMPARE | 0 | chip->midi_input_enabled | != $1 |
| PARAM_COMPARE | 1 | enable | != $0->midi_input_enabled |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &chip->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct echoaudio)->lock |
sound/pci/echoaudio/mia.c snd_echo_resume() -> enable_midi_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->asic_loaded | 1 |
| PARAM_VALUE | 0 | chip->bad_board | 0 |
| PARAM_VALUE | 0 | chip->card | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->sync_irq | 0 |
| PARAM_VALUE | 0 | chip->card_name | 6028604159507689472 |
| PARAM_VALUE | 0 | chip->comm_page->cmd_add_buffer | 0 |
| PARAM_VALUE | 0 | chip->comm_page->cmd_reset | 0 |
| PARAM_VALUE | 0 | chip->comm_page->cmd_start | 0 |
| PARAM_VALUE | 0 | chip->comm_page->cmd_stop | 0 |
| PARAM_VALUE | 0 | chip->comm_page->comm_size | 3072 |
| PARAM_VALUE | 0 | chip->comm_page->control_register | 0 |
| PARAM_VALUE | 0 | chip->comm_page->e3g_frq_register | 0 |
| PARAM_VALUE | 0 | chip->comm_page->ext_box_status | 0 |
| PARAM_VALUE | 0 | chip->comm_page->filler2 | 0 |
| PARAM_VALUE | 0 | chip->comm_page->flags | 0 |
| PARAM_VALUE | 0 | chip->comm_page->gd_clock_state | 255 |
| PARAM_VALUE | 0 | chip->comm_page->gd_resampler_state | 0 |
| PARAM_VALUE | 0 | chip->comm_page->gd_spdif_status | 255 |
| PARAM_VALUE | 0 | chip->comm_page->handshake | 0,u32max |
| PARAM_VALUE | 0 | chip->comm_page->input_clock | 0 |
| PARAM_VALUE | 0 | chip->comm_page->midi_out_free_count | 64 |
| PARAM_VALUE | 0 | chip->comm_page->monitors | 0 |
| PARAM_VALUE | 0 | chip->comm_page->nominal_level_mask | 0 |
| PARAM_VALUE | 0 | chip->comm_page->output_clock | 0 |
| PARAM_VALUE | 0 | chip->comm_page->sample_rate | 44100 |
| PARAM_VALUE | 0 | chip->comm_page->status_clocks | 0 |
| PARAM_VALUE | 0 | chip->comm_page->unused | 0 |
| PARAM_VALUE | 0 | chip->comm_page->unused2 | 0 |
| PARAM_VALUE | 0 | chip->comm_page->vmixer | 0 |
| PARAM_VALUE | 0 | chip->dsp_code | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->dsp_code_to_load | 1 |
| PARAM_VALUE | 0 | chip->has_midi | 1 |
| PARAM_VALUE | 0 | chip->input_clock_types | 9 |
| PARAM_VALUE | 0 | chip->irq | 0 |
| PARAM_VALUE | 0 | chip->midi_input_enabled | 1-255 |
| PARAM_VALUE | 0 | chip->pci | 4096-ptr_max |
| PARAM_VALUE | 0 | *chip->comm_page->line_out_level | (-128)-127 |
| PARAM_VALUE | 0 | *chip->comm_page->monitors | (-128)-127 |
| PARAM_VALUE | 0 | *chip->comm_page->vmixer | (-128)-127 |
| PARAM_VALUE | 0 | *chip->output_gain | (-128)-127 |
| PARAM_VALUE | 1 | enable | 1 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| TERMINATED | 0 | chip->card_name | 1 |
| MEM_ZERO | 0 | chip->comm_page | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
sound/pci/echoaudio/echo3g.c rest_in_peace() -> enable_midi_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->comm_page | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->meters_enabled | 0 |
| PARAM_VALUE | 0 | *chip->comm_page->peak_meter | (-128)-127 |
| PARAM_VALUE | 0 | *chip->comm_page->vu_meter | (-128)-127 |
| PARAM_VALUE | 1 | enable | 0 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/pci/echoaudio/echo3g.c snd_echo_midi_input_trigger() -> enable_midi_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | enable | 0-1 |
| BUF_SIZE | 0 | chip | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| BUF_SIZE | 0 | chip | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| DATA_SOURCE | 1 | enable | $1 |
| PARAM_COMPARE | 0 | chip->midi_input_enabled | != $1 |
| PARAM_COMPARE | 1 | enable | != $0->midi_input_enabled |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &chip->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct echoaudio)->lock |
sound/pci/echoaudio/echo3g.c snd_echo_resume() -> enable_midi_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->sync_irq | 0 |
| PARAM_VALUE | 0 | chip->comm_page | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->comm_page->handshake | 0 |
| PARAM_VALUE | 0 | chip->irq | 0 |
| PARAM_VALUE | 0 | chip->midi_input_enabled | 1-255 |
| PARAM_VALUE | 0 | chip->pci | 4096-ptr_max |
| PARAM_VALUE | 1 | enable | 1 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |