Defined in 4 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

sound/pci/echoaudio/layla24.c restore_dsp_settings() -> set_digital_mode()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->asic_loaded 1
PARAM_VALUE 0 chip->card->dev 0,4096-ptr_max
PARAM_VALUE 0 chip->comm_page 4096-ptr_max
PARAM_VALUE 0 chip->comm_page->gd_clock_state 255
PARAM_VALUE 0 chip->comm_page->gd_spdif_status 255
PARAM_VALUE 0 chip->comm_page->handshake 0
PARAM_VALUE 0 chip->monitor_gain 4096-ptr_max
PARAM_VALUE 0 chip->output_gain 4096-ptr_max
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->output_gain (-128)-127
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip->pci (-1),1-s32max
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 chip->pci->current_state 0-3[c]
UNITS 0 chip unit_byte

sound/pci/echoaudio/layla24.c snd_echo_digital_mode_put() -> set_digital_mode()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->digital_mode_list 4096-ptr_max
PARAM_VALUE 0 chip->num_digital_modes 1-u16max
PARAM_VALUE 0 chip->opencount 0
PARAM_VALUE 1 mode 0-5
BUF_SIZE 0 chip (-1),72,104,256,376,448,2728
BUF_SIZE 0 chip (-1),72,104,256,376,448,2728
PARAM_COMPARE 0 chip->digital_mode != $1
PARAM_COMPARE 1 mode != $0->digital_mode
RX_PATH
TASK_NOT_RUNNING
UNITS 0 chip unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &pool->lock

sound/pci/echoaudio/mona.c restore_dsp_settings() -> set_digital_mode()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->asic_code 3-6
PARAM_VALUE 0 chip->asic_loaded 1
PARAM_VALUE 0 chip->bad_board 0
PARAM_VALUE 0 chip->card->dev 0,4096-ptr_max
PARAM_VALUE 0 chip->card_name 1851371868972683264
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->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
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->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->digital_modes 7
PARAM_VALUE 0 chip->dsp_code 0,4096-ptr_max
PARAM_VALUE 0 chip->dsp_code_to_load 1-2
PARAM_VALUE 0 chip->input_clock_types 27
PARAM_VALUE 0 chip->monitor_gain 4096-ptr_max
PARAM_VALUE 0 chip->output_gain 4096-ptr_max
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->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
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip->pci (-1),1-s32max
DATA_SOURCE 0 chip $0
TERMINATED 0 chip->card_name 1
MEM_ZERO 0 chip->comm_page
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 chip->pci->current_state 0-3[c]
UNITS 0 chip unit_byte

sound/pci/echoaudio/mona.c snd_echo_digital_mode_put() -> set_digital_mode()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->digital_mode_list 4096-ptr_max
PARAM_VALUE 0 chip->num_digital_modes 1-u16max
PARAM_VALUE 0 chip->opencount 0
PARAM_VALUE 1 mode 0-5
BUF_SIZE 0 chip (-1),72,104,256,376,448,2728
BUF_SIZE 0 chip (-1),72,104,256,376,448,2728
PARAM_COMPARE 0 chip->digital_mode != $1
PARAM_COMPARE 1 mode != $0->digital_mode
RX_PATH
TASK_NOT_RUNNING
UNITS 0 chip unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &pool->lock

sound/pci/echoaudio/gina24.c restore_dsp_settings() -> set_digital_mode()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->asic_code 3-4
PARAM_VALUE 0 chip->asic_loaded 1
PARAM_VALUE 0 chip->bad_board 0
PARAM_VALUE 0 chip->card->dev 0,4096-ptr_max
PARAM_VALUE 0 chip->card_name 6207748796833611776
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->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
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->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->digital_modes 7,15
PARAM_VALUE 0 chip->dsp_code 0,4096-ptr_max
PARAM_VALUE 0 chip->dsp_code_to_load 1-2
PARAM_VALUE 0 chip->input_clock_types 121
PARAM_VALUE 0 chip->monitor_gain 4096-ptr_max
PARAM_VALUE 0 chip->output_gain 4096-ptr_max
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->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
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip->pci (-1),1-s32max
DATA_SOURCE 0 chip $0
TERMINATED 0 chip->card_name 1
MEM_ZERO 0 chip->comm_page
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 chip->pci->current_state 0-3[c]
UNITS 0 chip unit_byte

sound/pci/echoaudio/gina24.c snd_echo_digital_mode_put() -> set_digital_mode()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->digital_mode_list 4096-ptr_max
PARAM_VALUE 0 chip->num_digital_modes 1-u16max
PARAM_VALUE 0 chip->opencount 0
PARAM_VALUE 1 mode 0-5
BUF_SIZE 0 chip (-1),72,104,256,376,448,2728
BUF_SIZE 0 chip (-1),72,104,256,376,448,2728
PARAM_COMPARE 0 chip->digital_mode != $1
PARAM_COMPARE 1 mode != $0->digital_mode
RX_PATH
TASK_NOT_RUNNING
UNITS 0 chip unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &pool->lock

sound/pci/echoaudio/echo3g.c restore_dsp_settings() -> set_digital_mode()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->card->dev 0,4096-ptr_max
PARAM_VALUE 0 chip->comm_page 4096-ptr_max
PARAM_VALUE 0 chip->comm_page->control_register 0,9-u32max
PARAM_VALUE 0 chip->comm_page->gd_clock_state 255
PARAM_VALUE 0 chip->comm_page->gd_spdif_status 255
PARAM_VALUE 0 chip->comm_page->handshake 0
PARAM_VALUE 0 chip->input_clock 1-255
PARAM_VALUE 0 chip->pci 4096-ptr_max
PARAM_VALUE 0 chip->pipe_alloc_mask 0
PARAM_VALUE 0 *chip->comm_page->line_out_level (-128)-127
PARAM_VALUE 0 *chip->comm_page->monitors (-128)-127
PARAM_VALUE 0 *chip->output_gain (-128)-127
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 chip unit_byte
HALF_LOCKED2 &fsm->lock

sound/pci/echoaudio/echo3g.c snd_echo_digital_mode_put() -> set_digital_mode()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->digital_mode_list 4096-ptr_max
PARAM_VALUE 0 chip->num_digital_modes 1-u16max
PARAM_VALUE 0 chip->opencount 0
PARAM_VALUE 1 mode 0-5
BUF_SIZE 0 chip (-1),72,104,256,376,448,2728
BUF_SIZE 0 chip (-1),72,104,256,376,448,2728
PARAM_COMPARE 0 chip->digital_mode != $1
PARAM_COMPARE 1 mode != $0->digital_mode
RX_PATH
TASK_NOT_RUNNING
UNITS 0 chip unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &pool->lock