Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/hda/codecs/generic.c add_pin_power_ctls() -> set_path_power()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->conn_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->core.bus->dev->iommu->attach_deferred | 0-1 |
| 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->async | 0-1 |
| 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->power_save_node | 1 |
| 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->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 | pin_state | 1 |
| PARAM_VALUE | 3 | stream_state | (-1) |
| 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 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| HALF_LOCKED2 | &card->mutex |
sound/hda/codecs/generic.c beep_power_hook() -> set_path_power()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | pin_state | (-1) |
| DATA_SOURCE | 3 | stream_state | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nid | unit_array_size |
sound/hda/codecs/generic.c do_automute() -> set_path_power()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->alloc | 0,1744715142275031040,2065280936184246272,2938795245442469888 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->alloc_pages_op | 0,4686288359180861440,6350905364812603392,6978773206971854848 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->dma_supported | 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->free | 0,4778164490434129920,7144974343242604544,7861694134817480704 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->free_pages | 0,239457316199952384,5196233516945883136,7413093576918179840 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->get_required_mask | 0,7770840938859397120 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->get_sgtable | 0,1322759480623644672 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->map_phys | 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->map_sg | 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->max_mapping_size | 0,8830639662091943936 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->sync_sg_for_cpu | 0,4862850025765572608 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->sync_sg_for_device | 0,3732476178258022400 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->sync_single_for_cpu | 0,1155325867376779264 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->sync_single_for_device | 0,8781567156597239808 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->unmap_phys | 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048 |
| PARAM_VALUE | 0 | codec->card->card_dev.dma_ops->unmap_sg | 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440 |
| PARAM_VALUE | 0 | codec->card->card_dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | codec->card->card_dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | codec->card->debugfs_root->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | codec->card->debugfs_root->d_inode->i_rwsem.first_waiter->type | 0-1 |
| 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.regmap | 0,4096-ptr_max |
| 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->blklen | 0-4294967295 |
| 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->power_save_node | 1 |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 0 | *codec->core.bus->rirb.res | 0-4294967295 |
| PARAM_VALUE | 0 | *codec->core.bus->unsol_queue | 0-4294967295 |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 3 | stream_state | (-1) |
| BUF_SIZE | 0 | codec | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | codec | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | codec->spec | (-1),24,32,56,6168,6192,6768,7712 |
| CAPPED_DATA | 1 | nid | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->card->card_dev.dma_range_map | |
| NO_OVERFLOW_SIMPLE | 0 | codec->card->card_dev.p->deferred_probe_reason | |
| NO_OVERFLOW_SIMPLE | 0 | codec->card->mixername | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.regmap->cache_word_size | |
| UNITS | 0 | codec | unit_byte |
sound/hda/codecs/generic.c set_pin_power_jack() -> set_path_power()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 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->async | 0-1 |
| PARAM_VALUE | 0 | codec->core.regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | codec->power_save_node | 1 |
| PARAM_VALUE | 0 | *codec->core.bus->last_cmd | 0-4294967295 |
| PARAM_VALUE | 0 | *codec->core.bus->rirb.res | 0-4294967295 |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 3 | stream_state | (-1) |
| CAPPED_DATA | 1 | nid | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | nid | $1 |
| DATA_SOURCE | 2 | pin_state | r detect_pin_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| UNITS | 1 | nid | unit_array_size |
sound/hda/codecs/generic.c snd_hda_gen_stream_pm() -> set_path_power()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->core.bus->audio_component->ops->sync_audio_rate | 0,6923335159372324864 |
| 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->power_save_node | 1 |
| PARAM_VALUE | 2 | pin_state | (-1) |
| BUF_SIZE | 0 | codec | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | codec | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | nid | $1 |
| DATA_SOURCE | 3 | stream_state | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| HALF_LOCKED2 | _T->lock |