Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- sound/hda/codecs/hdmi/hdmi.c, line 1467
- sound/hda/codecs/hdmi/intelhdmi.c, line 363
- sound/hda/common/codec.c
Smatch caller information:
sound/hda/codecs/hdmi/intelhdmi.c intel_not_share_assigned_cvt() -> snd_hda_get_num_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | nid | unit_array_size |
| LOCK2 | _T->lock |
sound/hda/codecs/hdmi/hdmi.c hdmi_add_pin() -> snd_hda_get_num_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->bus->pci | 0,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 | 0-ptr_max |
| 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->core.start_nid | 0-65532 |
| PARAM_VALUE | 0 | codec->core.vendor_verbs.alloc_align | 8 |
| PARAM_VALUE | 0 | codec->core.vendor_verbs.elem_size | 4 |
| PARAM_VALUE | 0 | codec->dp_mst | 1 |
| PARAM_VALUE | 0 | codec->preset | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 1 | nid | 1-65532 |
| CAPPED_DATA | 0 | codec->core.start_nid | 1 |
| CAPPED_DATA | 1 | nid | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | nid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| HALF_LOCKED2 | &card->mutex |
sound/hda/common/codec.c snd_hda_get_devices() -> snd_hda_get_num_devices()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->core->bus->corb.buf | 0-4294967294 |
| PARAM_VALUE | 0 | codec->core->bus->last_cmd | 0-u32max |
| PARAM_VALUE | 0 | codec->core.afg | 1-126 |
| PARAM_VALUE | 0 | codec->core.dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | codec->core.dev.class | 0,4096-ptr_max |
| 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.dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | codec->dp_mst | 1 |
| PARAM_VALUE | 0 | codec->mixers.used | 0-s32max |
| PARAM_VALUE | 0 | codec->nids.used | 0-s32max |
| PARAM_VALUE | 1 | nid | 1-126 |
| BUF_SIZE | 0 | codec | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | codec | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | codec->mixers.used | 1 |
| CAPPED_DATA | 0 | codec->nids.used | 1 |
| CAPPED_DATA | 1 | nid | 1 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | nid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | codec | unit_byte |
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
sound/hda/common/codec.c snd_hda_set_dev_select() -> snd_hda_get_num_devices()
| 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->dp_mst | 1 |
| PARAM_VALUE | 0 | *codec->core.bus->last_cmd | 0-4294967295 |
| PARAM_VALUE | 0 | *codec->core.bus->rirb.res | 0-4294967295 |
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| UNITS | 0 | codec | unit_byte |
| UNITS | 1 | nid | unit_array_size |
| HALF_LOCKED2 | &seq->lock | ||
| HALF_LOCKED2 | _T->lock |