Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/drivers/vx/vx_mixer.c vx_reset_audio_levels() -> vx_adjust_audio_level()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->audio_info 0-255
PARAM_VALUE 0 chip->audio_ins 0
PARAM_VALUE 0 chip->audio_outs 0-31
PARAM_VALUE 0 chip->capture_pipes 16
PARAM_VALUE 0 chip->card 4096-ptr_max
PARAM_VALUE 0 chip->card->controls.prev 4096-ptr_max
PARAM_VALUE 0 chip->card->controls.prev->next 4096-ptr_max
PARAM_VALUE 0 chip->card->controls.prev->next->next 4096-ptr_max
PARAM_VALUE 0 chip->card->ctl_hash.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chip->card->ctl_numids.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chip->hw 4096-ptr_max
PARAM_VALUE 0 chip->hw->num_codecs 1-2
PARAM_VALUE 0 chip->hw->num_ins 1-2
PARAM_VALUE 0 chip->hw->num_outs 1-2
PARAM_VALUE 0 chip->hw->output_level_db_scale 1522539895898996736,2053948607258849280,7636816162424143872
PARAM_VALUE 0 chip->ibl.granularity 0-255
PARAM_VALUE 0 chip->ibl.max_size 0-255
PARAM_VALUE 0 chip->ibl.min_size 0-255
PARAM_VALUE 0 chip->ops->out32 0,4096-ptr_max
PARAM_VALUE 0 chip->playback_pipes 16,4096-ptr_max
PARAM_VALUE 1 audio 0-3
PARAM_VALUE 2 capture 0-1
PARAM_VALUE 3 info 1649437825640353792
PARAM_VALUE 3 info->has_level 1
PARAM_VALUE 3 info->level 439
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 0 chip->hw->num_codecs 1
CAPPED_DATA 0 chip->hw->num_ins 1
CAPPED_DATA 0 chip->hw->num_outs 1
CAPPED_DATA 1 audio 1
DATA_SOURCE 0 chip $0
MEM_ZERO 0 chip->audio_active
MEM_ZERO 0 chip->audio_gain
MEM_ZERO 0 chip->audio_monitor
MEM_ZERO 0 chip->audio_monitor_active
MEM_ZERO 3 info
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 chip->audio_ins
NO_OVERFLOW_SIMPLE 0 chip->audio_outs

sound/drivers/vx/vx_mixer.c vx_set_audio_gain() -> vx_adjust_audio_level()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->audio_gain 4096-ptr_max
PARAM_VALUE 1 audio 0-256
PARAM_VALUE 2 capture 0-1
PARAM_VALUE 3 info 7611146501105774592
PARAM_VALUE 3 info->has_level 1
PARAM_VALUE 3 info->level 0-511
BUF_SIZE 0 chip (-1),72,104,256,376,448,2728
BUF_SIZE 0 chip (-1),72,104,256,376,448,2728
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 audio $1
DATA_SOURCE 2 capture $2
MEM_ZERO 3 info
RX_PATH
TASK_NOT_RUNNING
UNITS 0 chip unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex

sound/drivers/vx/vx_mixer.c vx_set_audio_switch() -> vx_adjust_audio_level()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->audio_active 4096-ptr_max
PARAM_VALUE 0 *chip->audio_active 0-255
PARAM_VALUE 1 audio 0-256
PARAM_VALUE 2 capture 0
PARAM_VALUE 3 info 6228754498468196352
PARAM_VALUE 3 info->has_mute 1
PARAM_VALUE 3 info->mute 0-1
BUF_SIZE 0 chip (-1),72,104,256,376,448,2728
BUF_SIZE 0 chip (-1),72,104,256,376,448,2728
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 audio $1
MEM_ZERO 3 info
RX_PATH
TASK_NOT_RUNNING
UNITS 0 chip unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex

sound/drivers/vx/vx_mixer.c vx_set_monitor_level() -> vx_adjust_audio_level()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->audio_monitor 4096-ptr_max
PARAM_VALUE 0 chip->audio_monitor_active 4096-ptr_max
PARAM_VALUE 0 chip->ops->in8 4096-ptr_max
PARAM_VALUE 0 *chip->audio_monitor s32min-s32max
PARAM_VALUE 0 *chip->audio_monitor_active 0-255
PARAM_VALUE 2 capture 0
PARAM_VALUE 3 info 7215235070958944256
PARAM_VALUE 3 info->has_monitor_level 1
PARAM_VALUE 3 info->has_monitor_mute 1
PARAM_VALUE 3 info->monitor_mute 0-1
BUF_SIZE 0 chip s32min-(-1),1-s32max
BUF_SIZE 0 chip s32min-(-1),1-s32max
CAPPED_DATA 1 audio 1
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 audio $1
MEM_ZERO 3 info
RX_PATH
TASK_NOT_RUNNING
UNITS 0 chip unit_byte
UNITS 1 audio unit_array_size
HALF_LOCKED2 _T->lock