Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/gpu/drm/bridge/sii902x.c, line 730
- drivers/gpu/drm/exynos/exynos_hdmi.c, line 801
- drivers/gpu/drm/mediatek/mtk_hdmi.c, line 773
- drivers/gpu/drm/mediatek/mtk_hdmi_v2.c, line 274
- drivers/gpu/drm/radeon/r600_hdmi.c, line 421
- drivers/gpu/drm/sti/sti_hdmi.c, line 497
- drivers/gpu/drm/tegra/hdmi.c, line 768
- drivers/gpu/drm/tegra/sor.c, line 2040
- drivers/video/hdmi.c
- sound/soc/codecs/hdac_hdmi.c, line 391
Smatch caller information:
drivers/video/hdmi.c hdmi_infoframe_pack() -> hdmi_audio_infoframe_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 1620592042571268096,3880746429496532992,4942936519979184128,5563509486802915328,5943722601480544256,6044588929128599552,6554956842382065664,8977450053101113344 |
| PARAM_VALUE | 2 | size | 14,31-32 |
| BUF_SIZE | 1 | buffer | 14,31-32 |
| BUF_SIZE | 1 | buffer | 14,31-32 |
| DATA_SOURCE | 1 | buffer | $1 |
| DATA_SOURCE | 2 | size | $2 |
| HARD_MAX | 2 | size | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &connector->hdmi.infoframes.lock | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex.mutex | ||
| HALF_LOCKED2 | &priv->audio_mutex |
sound/soc/codecs/hdac_hdmi.c hdac_hdmi_setup_audio_infoframe() -> hdmi_audio_infoframe_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 2573097403681714176 |
| PARAM_VALUE | 0 | frame->coding_type | 0 |
| PARAM_VALUE | 0 | frame->coding_type_ext | 0 |
| PARAM_VALUE | 0 | frame->downmix_inhibit | 0 |
| PARAM_VALUE | 0 | frame->length | 10 |
| PARAM_VALUE | 0 | frame->level_shift_value | 0 |
| PARAM_VALUE | 0 | frame->sample_frequency | 0 |
| PARAM_VALUE | 0 | frame->sample_size | 0 |
| PARAM_VALUE | 0 | frame->type | 132 |
| PARAM_VALUE | 0 | frame->version | 1 |
| PARAM_VALUE | 1 | buffer | 3352495841690599424 |
| PARAM_VALUE | 2 | size | 14 |
| BUF_SIZE | 1 | buffer | 14 |
| MEM_ZERO | 0 | frame | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/exynos/exynos_hdmi.c hdmi_audio_infoframe_apply() -> hdmi_audio_infoframe_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 7772386535719510016 |
| PARAM_VALUE | 2 | size | 14 |
| BUF_SIZE | 0 | frame | 28 |
| BUF_SIZE | 1 | buffer | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | &hdata->mutex | ||
| TYPE_LOCK | (struct hdmi_context)->mutex |
drivers/gpu/drm/tegra/hdmi.c tegra_hdmi_setup_audio_infoframe() -> hdmi_audio_infoframe_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 1195778660555522048 |
| PARAM_VALUE | 0 | frame->channel_allocation | 0 |
| PARAM_VALUE | 0 | frame->coding_type | 0 |
| PARAM_VALUE | 0 | frame->coding_type_ext | 0 |
| PARAM_VALUE | 0 | frame->downmix_inhibit | 0 |
| PARAM_VALUE | 0 | frame->length | 10 |
| PARAM_VALUE | 0 | frame->level_shift_value | 0 |
| PARAM_VALUE | 0 | frame->sample_frequency | 0 |
| PARAM_VALUE | 0 | frame->sample_size | 0 |
| PARAM_VALUE | 0 | frame->type | 132 |
| PARAM_VALUE | 0 | frame->version | 1 |
| PARAM_VALUE | 1 | buffer | 6500946464366211072 |
| PARAM_VALUE | 2 | size | 14 |
| BUF_SIZE | 1 | buffer | 14 |
| MEM_ZERO | 0 | frame | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | frame->channels | 1-16[c] |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &hdmi->audio_lock |
drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_setup_audio_infoframe() -> hdmi_audio_infoframe_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 1548955220302815232 |
| PARAM_VALUE | 0 | frame->channel_allocation | 0 |
| PARAM_VALUE | 0 | frame->channels | 2-8 |
| PARAM_VALUE | 0 | frame->coding_type | 0 |
| PARAM_VALUE | 0 | frame->coding_type_ext | 0 |
| PARAM_VALUE | 0 | frame->downmix_inhibit | 0 |
| PARAM_VALUE | 0 | frame->length | 10 |
| PARAM_VALUE | 0 | frame->level_shift_value | 0 |
| PARAM_VALUE | 0 | frame->sample_frequency | 0 |
| PARAM_VALUE | 0 | frame->sample_size | 0 |
| PARAM_VALUE | 0 | frame->type | 132 |
| PARAM_VALUE | 0 | frame->version | 1 |
| PARAM_VALUE | 1 | buffer | 371381505049825280 |
| PARAM_VALUE | 2 | size | 14 |
| BUF_SIZE | 1 | buffer | 14 |
| MEM_ZERO | 0 | frame | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/tegra/sor.c tegra_sor_hdmi_enable_audio_infoframe() -> hdmi_audio_infoframe_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 4428559272769675264 |
| PARAM_VALUE | 0 | frame->channel_allocation | 0 |
| PARAM_VALUE | 0 | frame->channels | 1-16 |
| PARAM_VALUE | 0 | frame->coding_type | 0 |
| PARAM_VALUE | 0 | frame->coding_type_ext | 0 |
| PARAM_VALUE | 0 | frame->downmix_inhibit | 0 |
| PARAM_VALUE | 0 | frame->length | 10 |
| PARAM_VALUE | 0 | frame->level_shift_value | 0 |
| PARAM_VALUE | 0 | frame->sample_frequency | 0 |
| PARAM_VALUE | 0 | frame->sample_size | 0 |
| PARAM_VALUE | 0 | frame->type | 132 |
| PARAM_VALUE | 0 | frame->version | 1 |
| PARAM_VALUE | 1 | buffer | 7472980941753171968 |
| PARAM_VALUE | 2 | size | 14 |
| BUF_SIZE | 1 | buffer | 14 |
| MEM_ZERO | 0 | frame | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | frame->channels | 1-16[c] |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_setup_audio_infoframe() -> hdmi_audio_infoframe_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 595354033211207680 |
| PARAM_VALUE | 1 | buffer | 3007668652860125184 |
| PARAM_VALUE | 2 | size | 14 |
| BUF_SIZE | 1 | buffer | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
drivers/gpu/drm/radeon/r600_hdmi.c r600_hdmi_update_audio_settings() -> hdmi_audio_infoframe_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 6470839441883860992 |
| PARAM_VALUE | 0 | frame->channel_allocation | 0 |
| PARAM_VALUE | 0 | frame->channels | 0-8,255 |
| PARAM_VALUE | 0 | frame->coding_type | 0 |
| PARAM_VALUE | 0 | frame->coding_type_ext | 0 |
| PARAM_VALUE | 0 | frame->downmix_inhibit | 0 |
| PARAM_VALUE | 0 | frame->length | 10 |
| PARAM_VALUE | 0 | frame->level_shift_value | 0 |
| PARAM_VALUE | 0 | frame->sample_frequency | 0 |
| PARAM_VALUE | 0 | frame->sample_size | 0 |
| PARAM_VALUE | 0 | frame->type | 132 |
| PARAM_VALUE | 0 | frame->version | 1 |
| PARAM_VALUE | 1 | buffer | 8832216452663123968 |
| PARAM_VALUE | 2 | size | 14 |
| BUF_SIZE | 1 | buffer | 14 |
| MEM_ZERO | 0 | frame | |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/bridge/sii902x.c sii902x_audio_hw_params() -> hdmi_audio_infoframe_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 7238709801445371904 |
| PARAM_VALUE | 0 | frame->channel_allocation | 0 |
| PARAM_VALUE | 0 | frame->channels | 0 |
| PARAM_VALUE | 0 | frame->coding_type | 0 |
| PARAM_VALUE | 0 | frame->coding_type_ext | 0 |
| PARAM_VALUE | 0 | frame->downmix_inhibit | 0 |
| PARAM_VALUE | 0 | frame->length | 10 |
| PARAM_VALUE | 0 | frame->level_shift_value | 0 |
| PARAM_VALUE | 0 | frame->sample_frequency | 0 |
| PARAM_VALUE | 0 | frame->sample_size | 0 |
| PARAM_VALUE | 0 | frame->type | 132 |
| PARAM_VALUE | 0 | frame->version | 1 |
| PARAM_VALUE | 1 | buffer | 6517147271089225728 |
| PARAM_VALUE | 2 | size | 14 |
| BUF_SIZE | 1 | buffer | 14 |
| MEM_ZERO | 0 | frame | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | &sii902x->mutex | ||
| TYPE_LOCK | (struct sii902x)->mutex |
drivers/gpu/drm/sti/sti_hdmi.c hdmi_audio_infoframe_config() -> hdmi_audio_infoframe_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4564647721548767232 |
| PARAM_VALUE | 2 | size | 14 |
| BUF_SIZE | 1 | buffer | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |