Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/hda/codecs/generic.c create_input_ctls() -> parse_capture_source()
| 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->corb.buf | 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.bus->rirb.rp | 0-65534 |
| PARAM_VALUE | 0 | codec->core.bus->rirb.wp | 0-65534 |
| PARAM_VALUE | 0 | codec->core.dev.iommu->attach_deferred | 0-1 |
| 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->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| 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->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->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-65534 |
| 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 | 2 | cfg_idx | 0-s32max |
| PARAM_VALUE | 3 | num_adcs | 0-s32max |
| BUF_SIZE | 4 | label | 3-5,9-12,14 |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.hp_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.line_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.num_inputs | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.speaker_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| CAPPED_DATA | 2 | cfg_idx | 1 |
| CAPPED_DATA | 3 | num_adcs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 3 | num_adcs | r fill_adc_nids |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| UNITS | 1 | pin | unit_array_size |
| UNITS | 2 | cfg_idx | unit_array_size |
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/hda/codecs/generic.c create_input_ctls() -> parse_capture_source()
| 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->corb.buf | 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.bus->rirb.rp | 0-65534 |
| PARAM_VALUE | 0 | codec->core.bus->rirb.wp | 0-65534 |
| PARAM_VALUE | 0 | codec->core.dev.iommu->attach_deferred | 0-1 |
| 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->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| 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->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->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-65534 |
| 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 | pin | 1-u16max |
| PARAM_VALUE | 2 | cfg_idx | 99 |
| PARAM_VALUE | 3 | num_adcs | 0-s32max |
| PARAM_VALUE | 4 | label | 5500421622585278464 |
| PARAM_VALUE | 5 | anchor | 0 |
| BUF_SIZE | 4 | label | 11 |
| CAPPED_DATA | 0 | codec->core.end_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.hp_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.line_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.num_inputs | 1 |
| CAPPED_DATA | 0 | codec->spec->autocfg.speaker_outs | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| CAPPED_DATA | 3 | num_adcs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 3 | num_adcs | r fill_adc_nids |
| STR_LEN | 0 | codec | 10 |
| TERMINATED | 4 | label | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/hda/codecs/generic.c snd_hda_gen_parse_auto_config() -> parse_capture_source()
| 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->dev->power.wakeirq->status | 0-4294967295 |
| 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->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 | pin | 1-u16max |
| PARAM_VALUE | 2 | cfg_idx | 99 |
| PARAM_VALUE | 4 | label | 5500421622585278464 |
| PARAM_VALUE | 5 | anchor | 0 |
| BUF_SIZE | 4 | label | 11 |
| 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->input_mux.num_items | 1 |
| CAPPED_DATA | 0 | codec->spec->mixer_nid | 1 |
| CAPPED_DATA | 0 | codec->spec->num_all_dacs | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| STR_LEN | 0 | codec | 10 |
| NOSPEC | 0 | codec->spec->mixer_nid | |
| TERMINATED | 4 | label | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | codec->spec->mixer_nid | 0-u16max[c] |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |