Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/hda/codecs/generic.c activate_amp() -> update_amp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->core->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.bus->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.bus->rirb.rp | 0-65534 |
| PARAM_VALUE | 0 | codec->core.bus->rirb.wp | 0-65534 |
| PARAM_VALUE | 0 | codec->core.dev.power.request | 0-4 |
| PARAM_VALUE | 0 | codec->core.dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | codec->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.in_pm.counter | 0-s32max |
| PARAM_VALUE | 0 | codec->core.regmap->async | 0-1 |
| PARAM_VALUE | 0 | codec->core.regmap->async_ret | s32min-s32max |
| PARAM_VALUE | 0 | codec->core.regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | codec->core.regmap->cache_bypass | 0-1 |
| PARAM_VALUE | 0 | codec->core.regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | codec->core.regmap->cache_type | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.regmap->no_sync_defaults | 0-1 |
| PARAM_VALUE | 0 | codec->jackpoll_work.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | codec->jackpoll_work.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | codec->jackpoll_work.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 2 | dir | 0-1 |
| PARAM_VALUE | 3 | idx | 0-s32max |
| PARAM_VALUE | 4 | mask | 127-128,255 |
| PARAM_VALUE | 5 | val | 0-128 |
| BUF_SIZE | 0 | codec | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | codec | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | codec->core.start_nid | 1 |
| CAPPED_DATA | 3 | idx | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | nid | $1 |
| DATA_SOURCE | 2 | dir | $2 |
| DATA_SOURCE | 3 | idx | $3 |
| DATA_SOURCE | 4 | mask | r get_amp_mask_to_modify |
| HARD_MAX | 2 | dir | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| NO_OVERFLOW_SIMPLE | 3 | idx | |
| UNITS | 0 | codec | unit_byte |
| HALF_LOCKED2 | _T->lock |
sound/hda/codecs/generic.c mute_all_mixer_nid() -> update_amp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->conn_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->conn_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->core->bus->last_cmd | 0-u32max |
| PARAM_VALUE | 0 | codec->core->bus->rirb.res | 0-u32max |
| PARAM_VALUE | 0 | codec->core->bus->unsol_queue | 0-u32max |
| PARAM_VALUE | 0 | codec->core->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.bus->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | codec->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1,4096-s64max |
| PARAM_VALUE | 0 | codec->core.regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | codec->init_pins.list->target | 0-255 |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec->add_jack_modes | 0-1 |
| PARAM_VALUE | 0 | codec->spec->add_stereo_mix_input | 0-1 |
| PARAM_VALUE | 0 | codec->spec->auto_mute_via_amp | 0-1 |
| PARAM_VALUE | 0 | codec->spec->autocfg.dig_in_pin | 0-u16max |
| PARAM_VALUE | 0 | codec->spec->autocfg.dig_in_type | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->autocfg.dig_outs | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->autocfg.hp_outs | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->autocfg.line_out_type | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->autocfg.line_outs | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->autocfg.mono_out_pin | 0-u16max |
| PARAM_VALUE | 0 | codec->spec->autocfg.num_inputs | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->autocfg.speaker_outs | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->digin_path | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->dyn_adc_switch | 1 |
| PARAM_VALUE | 0 | codec->spec->ext_channel_count | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->hp_mic | 0-1 |
| PARAM_VALUE | 0 | codec->spec->indep_hp | 0-1 |
| PARAM_VALUE | 0 | codec->spec->inv_dmic_split | 0-1 |
| PARAM_VALUE | 0 | codec->spec->kctls.alloced | 0-4294967295 |
| PARAM_VALUE | 0 | codec->spec->kctls.used | 0-4294967295 |
| PARAM_VALUE | 0 | codec->spec->line_in_auto_switch | 0-1 |
| PARAM_VALUE | 0 | codec->spec->loopback_list.alloced | 0-4294967295 |
| PARAM_VALUE | 0 | codec->spec->loopback_list.used | 0-4294967295 |
| PARAM_VALUE | 0 | codec->spec->min_channel_count | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->mixer_nid | 0-u16max |
| PARAM_VALUE | 0 | codec->spec->multi_cap_vol | 0-1 |
| PARAM_VALUE | 0 | codec->spec->multiout.num_dacs | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->need_dac_fix | 0-1 |
| PARAM_VALUE | 0 | codec->spec->no_multi_io | 0-1 |
| PARAM_VALUE | 0 | codec->spec->no_primary_hp | 0-1 |
| PARAM_VALUE | 0 | codec->spec->num_adc_nids | 0-s32max |
| PARAM_VALUE | 0 | codec->spec->num_all_adcs | 0-s32max |
| PARAM_VALUE | 0 | codec->spec->num_all_dacs | 0-s32max |
| PARAM_VALUE | 0 | codec->spec->power_down_unused | 0-1 |
| PARAM_VALUE | 0 | codec->spec->suppress_auto_mic | 0-1 |
| PARAM_VALUE | 0 | codec->spec->suppress_auto_mute | 0-1 |
| PARAM_VALUE | 0 | codec->spec->suppress_hp_mic_detect | 0-1 |
| PARAM_VALUE | 0 | codec->spec->suppress_vmaster | 0-1 |
| PARAM_VALUE | 0 | codec->spec->vmaster_nid | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->aamix_out_paths | s32min-s32max |
| PARAM_VALUE | 0 | *codec->spec->adc_nids | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->all_adcs | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->all_dacs | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->autocfg->hp_pins | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->autocfg->line_out_pins | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->autocfg->speaker_pins | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->digout_paths | s32min-s32max |
| PARAM_VALUE | 0 | *codec->spec->hp_paths | s32min-s32max |
| PARAM_VALUE | 0 | *codec->spec->input_label_idxs | s32min-s32max |
| PARAM_VALUE | 0 | *codec->spec->loopback_paths | s32min-s32max |
| PARAM_VALUE | 0 | *codec->spec->multiout.dac_nids | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->multiout.extra_out_nid | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->multiout.hp_out_nid | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->private_dac_nids | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->speaker_paths | s32min-s32max |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 2 | dir | 0 |
| PARAM_VALUE | 3 | idx | 0-s32max |
| PARAM_VALUE | 4 | mask | 255 |
| PARAM_VALUE | 5 | val | 128 |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.line_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.num_inputs | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| CAPPED_DATA | 1 | nid | 1 |
| CAPPED_DATA | 3 | idx | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | nid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| NO_OVERFLOW_SIMPLE | 3 | idx | |
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/hda/codecs/generic.c mute_all_mixer_nid() -> update_amp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->conn_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->conn_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->conn_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->core->bus->last_cmd | 0-u32max |
| PARAM_VALUE | 0 | codec->core->bus->rirb.res | 0-u32max |
| PARAM_VALUE | 0 | codec->core->bus->unsol_queue | 0-u32max |
| PARAM_VALUE | 0 | codec->core->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.bus->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | codec->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1,4096-s64max |
| PARAM_VALUE | 0 | codec->core.regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | codec->init_pins.list->target | 0-255 |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec->add_jack_modes | 0-1 |
| PARAM_VALUE | 0 | codec->spec->add_stereo_mix_input | 0-1 |
| PARAM_VALUE | 0 | codec->spec->auto_mute_via_amp | 0-1 |
| PARAM_VALUE | 0 | codec->spec->autocfg.dig_in_pin | 0-u16max |
| PARAM_VALUE | 0 | codec->spec->autocfg.dig_in_type | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->autocfg.dig_outs | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->autocfg.hp_outs | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->autocfg.line_out_type | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->autocfg.line_outs | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->autocfg.mono_out_pin | 0-u16max |
| PARAM_VALUE | 0 | codec->spec->autocfg.num_inputs | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->autocfg.speaker_outs | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->digin_path | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->dyn_adc_switch | 1 |
| PARAM_VALUE | 0 | codec->spec->ext_channel_count | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->hp_mic | 0-1 |
| PARAM_VALUE | 0 | codec->spec->indep_hp | 0-1 |
| PARAM_VALUE | 0 | codec->spec->inv_dmic_split | 0-1 |
| PARAM_VALUE | 0 | codec->spec->kctls.alloced | 0-4294967295 |
| PARAM_VALUE | 0 | codec->spec->kctls.used | 0-4294967295 |
| PARAM_VALUE | 0 | codec->spec->line_in_auto_switch | 0-1 |
| PARAM_VALUE | 0 | codec->spec->loopback_list.alloced | 0-4294967295 |
| PARAM_VALUE | 0 | codec->spec->loopback_list.used | 0-4294967295 |
| PARAM_VALUE | 0 | codec->spec->min_channel_count | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->mixer_nid | 0-u16max |
| PARAM_VALUE | 0 | codec->spec->multi_cap_vol | 0-1 |
| PARAM_VALUE | 0 | codec->spec->multiout.num_dacs | s32min-s32max |
| PARAM_VALUE | 0 | codec->spec->need_dac_fix | 0-1 |
| PARAM_VALUE | 0 | codec->spec->no_multi_io | 0-1 |
| PARAM_VALUE | 0 | codec->spec->no_primary_hp | 0-1 |
| PARAM_VALUE | 0 | codec->spec->num_adc_nids | 0-s32max |
| PARAM_VALUE | 0 | codec->spec->num_all_adcs | 0-s32max |
| PARAM_VALUE | 0 | codec->spec->num_all_dacs | 0-s32max |
| PARAM_VALUE | 0 | codec->spec->power_down_unused | 0-1 |
| PARAM_VALUE | 0 | codec->spec->suppress_auto_mic | 0-1 |
| PARAM_VALUE | 0 | codec->spec->suppress_auto_mute | 0-1 |
| PARAM_VALUE | 0 | codec->spec->suppress_hp_mic_detect | 0-1 |
| PARAM_VALUE | 0 | codec->spec->suppress_vmaster | 0-1 |
| PARAM_VALUE | 0 | codec->spec->vmaster_nid | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->aamix_out_paths | s32min-s32max |
| PARAM_VALUE | 0 | *codec->spec->adc_nids | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->all_adcs | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->all_dacs | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->autocfg->hp_pins | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->autocfg->line_out_pins | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->autocfg->speaker_pins | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->digout_paths | s32min-s32max |
| PARAM_VALUE | 0 | *codec->spec->hp_paths | s32min-s32max |
| PARAM_VALUE | 0 | *codec->spec->input_label_idxs | s32min-s32max |
| PARAM_VALUE | 0 | *codec->spec->loopback_paths | s32min-s32max |
| PARAM_VALUE | 0 | *codec->spec->multiout.dac_nids | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->multiout.extra_out_nid | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->multiout.hp_out_nid | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->private_dac_nids | 0-u16max |
| PARAM_VALUE | 0 | *codec->spec->speaker_paths | s32min-s32max |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 2 | dir | 1 |
| PARAM_VALUE | 3 | idx | 0 |
| PARAM_VALUE | 4 | mask | 255 |
| PARAM_VALUE | 5 | val | 128 |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.line_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.num_inputs | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |