Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- sound/hda/common/codec.c
- sound/hda/common/proc.c, line 23
- sound/hda/core/device.c
- sound/soc/codecs/hdac_hdmi.c, line 229
Smatch caller information:
sound/soc/codecs/hdac_hdmi.c hdac_hdmi_get_port_len() -> snd_hdac_read_parm_uncached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->bus->audio_component->audio_ops->master_bind | 0,1463339374290759680 |
| PARAM_VALUE | 0 | codec->bus->audio_component->audio_ops->master_unbind | 0,4929029982278672384 |
| PARAM_VALUE | 0 | codec->bus->audio_component->audio_ops->pin2port | 0,3602411483385262080,3766632217465208832,4260519016963674112,6401921669255995392 |
| PARAM_VALUE | 0 | codec->bus->audio_component->audio_ops->pin_eld_notify | 0,864575191636475904,2216993472915767296,4535824539567558656,5073301419575996416 |
| PARAM_VALUE | 0 | codec->bus->rirb.rp | 0-65534 |
| PARAM_VALUE | 0 | codec->bus->rirb.wp | 0-65534 |
| PARAM_VALUE | 0 | codec->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | codec->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | codec->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | codec->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->in_pm.counter | 0-s32max |
| PARAM_VALUE | 0 | codec->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | *codec->bus->last_cmd | 0-4294967295 |
| PARAM_VALUE | 0 | *codec->bus->rirb.res | 0-4294967295 |
| PARAM_VALUE | 0 | *codec->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 2 | parm | 21 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | nid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/hda/common/proc.c print_amp_caps() -> snd_hdac_read_parm_uncached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->afg | 1-u16max |
| PARAM_VALUE | 0 | codec->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | codec->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 2 | parm | 13,18 |
| CAPPED_DATA | 1 | nid | 1 |
| DATA_SOURCE | 1 | nid | $2 |
| FUZZY_MAX | 2 | parm | 18 |
| HARD_MAX | 2 | parm | 18 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
sound/hda/common/proc.c print_codec_info() -> snd_hdac_read_parm_uncached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec->afg | 1-126 |
| PARAM_VALUE | 0 | codec->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | codec->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | codec->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | codec->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 2 | parm | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
sound/hda/common/proc.c print_gpio() -> snd_hdac_read_parm_uncached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->afg | 1-126 |
| PARAM_VALUE | 0 | codec->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | codec->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | codec->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | codec->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | codec->in_pm.counter | 0-s32max |
| PARAM_VALUE | 1 | nid | 1-126 |
| PARAM_VALUE | 2 | parm | 17 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | nid | unit_array_size |
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
sound/hda/common/proc.c print_pcm_caps() -> snd_hdac_read_parm_uncached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->afg | 1-u16max |
| PARAM_VALUE | 0 | codec->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | codec->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | codec->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | codec->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 2 | parm | 10 |
| CAPPED_DATA | 1 | nid | 1 |
| DATA_SOURCE | 1 | nid | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
sound/hda/common/proc.c print_pcm_caps() -> snd_hdac_read_parm_uncached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->afg | 1-u16max |
| PARAM_VALUE | 0 | codec->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | codec->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | codec->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | codec->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | codec->in_pm.counter | 0-s32max |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 2 | parm | 11 |
| CAPPED_DATA | 1 | nid | 1 |
| DATA_SOURCE | 1 | nid | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
sound/hda/common/proc.c print_pin_caps() -> snd_hdac_read_parm_uncached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->afg | 1-126 |
| PARAM_VALUE | 0 | codec->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | codec->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 2 | parm | 12 |
| CAPPED_DATA | 1 | nid | 1 |
| DATA_SOURCE | 1 | nid | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
sound/hda/common/proc.c print_power_state() -> snd_hdac_read_parm_uncached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->afg | 1-u16max |
| PARAM_VALUE | 0 | codec->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | codec->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 2 | parm | 15 |
| CAPPED_DATA | 1 | nid | 1 |
| DATA_SOURCE | 1 | nid | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
sound/hda/common/proc.c print_proc_caps() -> snd_hdac_read_parm_uncached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->afg | 1-126 |
| PARAM_VALUE | 0 | codec->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | codec->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | codec->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | codec->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | codec->in_pm.counter | 0-s32max |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 2 | parm | 16 |
| CAPPED_DATA | 1 | nid | 1 |
| DATA_SOURCE | 1 | nid | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
sound/hda/common/proc.c print_vol_knob() -> snd_hdac_read_parm_uncached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->afg | 1-126 |
| PARAM_VALUE | 0 | codec->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | codec->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 2 | parm | 19 |
| CAPPED_DATA | 1 | nid | 1 |
| DATA_SOURCE | 1 | nid | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
sound/hda/core/device.c snd_hdac_get_sub_nodes() -> snd_hdac_read_parm_uncached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | *codec->bus->last_cmd | 0-4294967295 |
| PARAM_VALUE | 0 | *codec->bus->rirb.res | 0-4294967295 |
| PARAM_VALUE | 0 | *codec->bus->unsol_queue | 0-4294967295 |
| PARAM_VALUE | 2 | parm | 4 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | nid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->num_nodes | |
| HALF_LOCKED2 | &seq->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/hda/common/codec.c read_widget_caps() -> snd_hdac_read_parm_uncached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->num_nodes | 1-u32max |
| PARAM_VALUE | 2 | parm | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->num_nodes | |
| UNITS | 1 | nid | unit_array_size |
sound/hda/common/codec.c snd_hda_get_num_devices() -> snd_hdac_read_parm_uncached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 2 | parm | 21 |
| CAPPED_DATA | 1 | nid | 1 |
| DATA_SOURCE | 1 | nid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->num_nodes | |
| UNITS | 1 | nid | unit_array_size |
| HALF_LOCKED2 | &seq->lock | ||
| HALF_LOCKED2 | _T->lock |