Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/mediatek/mtk_hdmi.c, line 1102
- drivers/gpu/drm/mediatek/mtk_hdmi_common.c, line 177
- drivers/gpu/drm/mediatek/mtk_hdmi_v2.c, line 1373
Smatch caller information:
drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_audio_hw_params() -> mtk_hdmi_audio_params()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdmi | 4096-ptr_max |
| PARAM_VALUE | 0 | hdmi->audio_enable | 1 |
| PARAM_VALUE | 1 | daifmt | 4096-ptr_max |
| PARAM_VALUE | 2 | params | 7238709801445371904 |
| PARAM_VALUE | 2 | params->cea.channel_allocation | 0 |
| PARAM_VALUE | 2 | params->cea.channels | 0 |
| PARAM_VALUE | 2 | params->cea.coding_type | 0 |
| PARAM_VALUE | 2 | params->cea.coding_type_ext | 0 |
| PARAM_VALUE | 2 | params->cea.downmix_inhibit | 0 |
| PARAM_VALUE | 2 | params->cea.length | 10 |
| PARAM_VALUE | 2 | params->cea.level_shift_value | 0 |
| PARAM_VALUE | 2 | params->cea.sample_frequency | 0 |
| PARAM_VALUE | 2 | params->cea.sample_size | 0 |
| PARAM_VALUE | 2 | params->cea.type | 132 |
| PARAM_VALUE | 2 | params->cea.version | 1 |
| PARAM_VALUE | 2 | params->channels | 0 |
| PARAM_VALUE | 2 | params->iec.pad | 0 |
| PARAM_VALUE | 2 | params->sample_rate | 0 |
| PARAM_VALUE | 2 | params->sample_width | (-22),3-5,8,16,18,20,24,32,64 |
| BUF_SIZE | 0 | hdmi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hdmi | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | daifmt | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | daifmt | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | daifmt | $2 |
| DATA_SOURCE | 2 | params | $3 |
| MEM_ZERO | 2 | params | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hdmi | unit_byte |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_audio_hw_params() -> mtk_hdmi_audio_params()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdmi | 4096-ptr_max |
| PARAM_VALUE | 0 | hdmi->audio_enable | 1 |
| PARAM_VALUE | 1 | daifmt | 4096-ptr_max |
| PARAM_VALUE | 2 | params | 7238709801445371904 |
| PARAM_VALUE | 2 | params->cea.channel_allocation | 0 |
| PARAM_VALUE | 2 | params->cea.channels | 0 |
| PARAM_VALUE | 2 | params->cea.coding_type | 0 |
| PARAM_VALUE | 2 | params->cea.coding_type_ext | 0 |
| PARAM_VALUE | 2 | params->cea.downmix_inhibit | 0 |
| PARAM_VALUE | 2 | params->cea.length | 10 |
| PARAM_VALUE | 2 | params->cea.level_shift_value | 0 |
| PARAM_VALUE | 2 | params->cea.sample_frequency | 0 |
| PARAM_VALUE | 2 | params->cea.sample_size | 0 |
| PARAM_VALUE | 2 | params->cea.type | 132 |
| PARAM_VALUE | 2 | params->cea.version | 1 |
| PARAM_VALUE | 2 | params->channels | 0 |
| PARAM_VALUE | 2 | params->iec.pad | 0 |
| PARAM_VALUE | 2 | params->sample_rate | 0 |
| PARAM_VALUE | 2 | params->sample_width | (-22),3-5,8,16,18,20,24,32,64 |
| BUF_SIZE | 0 | hdmi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hdmi | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | daifmt | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | daifmt | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | daifmt | $2 |
| DATA_SOURCE | 2 | params | $3 |
| MEM_ZERO | 2 | params | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hdmi | unit_byte |