Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/drivers/vx/vx_mixer.c vx_reset_codec() -> vx_set_codec_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->audio_source | 1 |
| PARAM_VALUE | 0 | chip->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->hw->num_codecs | 1-2 |
| PARAM_VALUE | 0 | chip->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->akm_write | 0 |
| PARAM_VALUE | 0 | chip->ops->in8 | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->out8 | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->reset_board | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->write_codec | 0,4096-ptr_max |
| PARAM_VALUE | 2 | reg | 2 |
| PARAM_VALUE | 3 | val | 56 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,40,56,136,168,376,448,1688,2552 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,40,56,136,168,376,448,1688,2552 |
| BUF_SIZE | 0 | chip->hw | (-1),40 |
| CAPPED_DATA | 1 | codec | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| PARAM_COMPARE | 0 | chip->hw->num_codecs | > $1 |
| PARAM_COMPARE | 1 | codec | < $0->hw->num_codecs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/drivers/vx/vx_mixer.c vx_reset_codec() -> vx_set_codec_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->audio_source | 1 |
| PARAM_VALUE | 0 | chip->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->hw->num_codecs | 1-2 |
| PARAM_VALUE | 0 | chip->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->akm_write | 0 |
| PARAM_VALUE | 0 | chip->ops->in8 | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->out8 | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->reset_board | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->write_codec | 0,4096-ptr_max |
| PARAM_VALUE | 2 | reg | 1 |
| PARAM_VALUE | 3 | val | 0 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,40,56,136,168,376,448,1688,2552 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,40,56,136,168,376,448,1688,2552 |
| BUF_SIZE | 0 | chip->hw | (-1),40 |
| CAPPED_DATA | 1 | codec | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| PARAM_COMPARE | 0 | chip->hw->num_codecs | > $1 |
| PARAM_COMPARE | 1 | codec | < $0->hw->num_codecs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/drivers/vx/vx_mixer.c vx_reset_codec() -> vx_set_codec_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->audio_source | 1 |
| PARAM_VALUE | 0 | chip->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->hw->num_codecs | 1-2 |
| PARAM_VALUE | 0 | chip->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->akm_write | 0 |
| PARAM_VALUE | 0 | chip->ops->in8 | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->out8 | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->reset_board | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->write_codec | 0,4096-ptr_max |
| PARAM_VALUE | 2 | reg | 5 |
| PARAM_VALUE | 3 | val | 101,117 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,40,56,136,168,376,448,1688,2552 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,40,56,136,168,376,448,1688,2552 |
| BUF_SIZE | 0 | chip->hw | (-1),40 |
| CAPPED_DATA | 1 | codec | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| FUZZY_MAX | 3 | val | 117 |
| PARAM_COMPARE | 0 | chip->hw->num_codecs | > $1 |
| PARAM_COMPARE | 1 | codec | < $0->hw->num_codecs |
| BIT_INFO | 3 | val | 0x65,0x7f |
| HARD_MAX | 3 | val | 117 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/drivers/vx/vx_mixer.c vx_reset_codec() -> vx_set_codec_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->audio_source | 1 |
| PARAM_VALUE | 0 | chip->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->hw->num_codecs | 1-2 |
| PARAM_VALUE | 0 | chip->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->akm_write | 0 |
| PARAM_VALUE | 0 | chip->ops->in8 | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->out8 | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->reset_board | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->write_codec | 0,4096-ptr_max |
| PARAM_VALUE | 2 | reg | 7 |
| PARAM_VALUE | 3 | val | 0 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,40,56,136,168,376,448,1688,2552 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,40,56,136,168,376,448,1688,2552 |
| BUF_SIZE | 0 | chip->hw | (-1),40 |
| CAPPED_DATA | 1 | codec | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| PARAM_COMPARE | 0 | chip->hw->num_codecs | > $1 |
| PARAM_COMPARE | 1 | codec | < $0->hw->num_codecs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/drivers/vx/vx_mixer.c vx_set_analog_output_level() -> vx_set_codec_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->hw->num_codecs | 1-2 |
| PARAM_VALUE | 0 | chip->hw->output_level_max | 147,227 |
| PARAM_VALUE | 0 | chip->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->akm_write | 0 |
| PARAM_VALUE | 0 | chip->ops->out8 | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->reset_board | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->write_codec | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->output_level | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 3 |
| PARAM_VALUE | 3 | val | (-80)-227 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,40,56,72,104,136,168,256,376,448,1688,2552,2728 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,40,56,72,104,136,168,256,376,448,1688,2552,2728 |
| BUF_SIZE | 0 | chip->hw | (-1),40 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | codec | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| UNITS | 1 | codec | unit_array_size |
| HALF_LOCKED2 | _T->lock |
sound/drivers/vx/vx_mixer.c vx_set_analog_output_level() -> vx_set_codec_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->hw->num_codecs | 1-2 |
| PARAM_VALUE | 0 | chip->hw->output_level_max | 147,227 |
| PARAM_VALUE | 0 | chip->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->akm_write | 0 |
| PARAM_VALUE | 0 | chip->ops->out8 | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->reset_board | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->write_codec | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->output_level | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 4 |
| PARAM_VALUE | 3 | val | (-80)-227 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,40,56,72,104,136,168,256,376,448,1688,2552,2728 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,40,56,72,104,136,168,256,376,448,1688,2552,2728 |
| BUF_SIZE | 0 | chip->hw | (-1),40 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | codec | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| UNITS | 1 | codec | unit_array_size |
| HALF_LOCKED2 | _T->lock |
sound/drivers/vx/vx_mixer.c vx_toggle_dac_mute() -> vx_set_codec_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->hw->num_codecs | 1-2 |
| PARAM_VALUE | 0 | chip->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->akm_write | 0 |
| PARAM_VALUE | 0 | chip->ops->in8 | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->out32 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->out8 | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->reset_codec | 2722807092438044672,4369224416520781824 |
| PARAM_VALUE | 0 | chip->ops->write_codec | 0,4096-ptr_max |
| PARAM_VALUE | 2 | reg | 2 |
| PARAM_VALUE | 3 | val | 8,56 |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | chip->hw | (-1),40 |
| CAPPED_DATA | 1 | codec | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| FUZZY_MAX | 3 | val | 56 |
| PARAM_COMPARE | 0 | chip->hw->num_codecs | > $1 |
| PARAM_COMPARE | 1 | codec | < $0->hw->num_codecs |
| BIT_INFO | 3 | val | 0x8,0x38 |
| HARD_MAX | 3 | val | 56 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| HALF_LOCKED2 | _T->lock |