Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c, line 1788
- drivers/gpu/drm/bridge/tda998x_drv.c, line 867
- drivers/gpu/drm/display/drm_hdmi_state_helper.c, line 756
- drivers/gpu/drm/drm_edid.c, line 7538
- drivers/gpu/drm/i915/display/intel_hdmi.c, line 761
- drivers/gpu/drm/i915/display/intel_lspcon.c, line 589
- drivers/gpu/drm/i915/display/intel_sdvo.c, line 1120
- drivers/gpu/drm/nouveau/dispnv50/disp.c, line 830
- drivers/gpu/drm/radeon/radeon_audio.c, line 471
Smatch caller information:
drivers/gpu/drm/i915/display/intel_hdmi.c intel_hdmi_compute_avi_infoframe() -> drm_hdmi_avi_infoframe_quant_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 4096-ptr_max |
| PARAM_VALUE | 0 | frame->active_aspect | 8 |
| PARAM_VALUE | 0 | frame->bottom_bar | 0 |
| PARAM_VALUE | 0 | frame->colorimetry | 0-3 |
| PARAM_VALUE | 0 | frame->colorspace | 0,2 |
| PARAM_VALUE | 0 | frame->content_type | 0 |
| PARAM_VALUE | 0 | frame->extended_colorimetry | 0-6 |
| PARAM_VALUE | 0 | frame->itc | 0 |
| PARAM_VALUE | 0 | frame->left_bar | 0 |
| PARAM_VALUE | 0 | frame->length | 13 |
| PARAM_VALUE | 0 | frame->nups | 0 |
| PARAM_VALUE | 0 | frame->picture_aspect | 0-2 |
| PARAM_VALUE | 0 | frame->pixel_repeat | 0-1 |
| PARAM_VALUE | 0 | frame->quantization_range | 0 |
| PARAM_VALUE | 0 | frame->right_bar | 0 |
| PARAM_VALUE | 0 | frame->scan_mode | 2 |
| PARAM_VALUE | 0 | frame->top_bar | 0 |
| PARAM_VALUE | 0 | frame->type | 130 |
| PARAM_VALUE | 0 | frame->version | 2 |
| PARAM_VALUE | 0 | frame->video_code | 0-2,193 |
| PARAM_VALUE | 0 | frame->ycc_quantization_range | 0 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->display_info.hdmi.scdc.supported | 0 |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| PARAM_VALUE | 2 | mode->flags | 0,4-u32max |
| PARAM_VALUE | 3 | rgb_quant_range | 1-2 |
| BUF_SIZE | 0 | frame | 60 |
| BUF_SIZE | 2 | mode | 120 |
| FUZZY_MAX | 0 | frame->colorspace | 2 |
| FUZZY_MAX | 3 | rgb_quant_range | 2 |
| BIT_INFO | 0 | frame->colorspace | 0x0,0x2 |
| HARD_MAX | 0 | frame->colorspace | 2 |
| HARD_MAX | 3 | rgb_quant_range | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | mode->crtc_clock |
drivers/gpu/drm/display/drm_hdmi_state_helper.c hdmi_generate_avi_infoframe() -> drm_hdmi_avi_infoframe_quant_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 4096-ptr_max |
| PARAM_VALUE | 0 | frame->active_aspect | 8 |
| PARAM_VALUE | 0 | frame->bottom_bar | 0 |
| PARAM_VALUE | 0 | frame->colorimetry | 0 |
| PARAM_VALUE | 0 | frame->colorspace | 0-3 |
| PARAM_VALUE | 0 | frame->content_type | 0 |
| PARAM_VALUE | 0 | frame->extended_colorimetry | 0 |
| PARAM_VALUE | 0 | frame->itc | 0 |
| PARAM_VALUE | 0 | frame->left_bar | 0 |
| PARAM_VALUE | 0 | frame->length | 13 |
| PARAM_VALUE | 0 | frame->nups | 0 |
| PARAM_VALUE | 0 | frame->picture_aspect | 0-2 |
| PARAM_VALUE | 0 | frame->pixel_repeat | 0-1 |
| PARAM_VALUE | 0 | frame->quantization_range | 0 |
| PARAM_VALUE | 0 | frame->right_bar | 0 |
| PARAM_VALUE | 0 | frame->scan_mode | 2 |
| PARAM_VALUE | 0 | frame->top_bar | 0 |
| PARAM_VALUE | 0 | frame->type | 130 |
| PARAM_VALUE | 0 | frame->version | 2 |
| PARAM_VALUE | 0 | frame->video_code | 0-2,193 |
| PARAM_VALUE | 0 | frame->ycc_quantization_range | 0 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | connector->display_info.hdmi.scdc.supported | 0 |
| PARAM_VALUE | 1 | connector->display_info.is_hdmi | 1 |
| PARAM_VALUE | 1 | connector->hdmi.funcs | 0,4096-ptr_max |
| PARAM_VALUE | 1 | connector->helper_private | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->index | 0-s32max |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| PARAM_VALUE | 3 | rgb_quant_range | 1-2 |
| BUF_SIZE | 0 | frame | 60 |
| BUF_SIZE | 2 | mode | 120 |
| DATA_SOURCE | 1 | connector | $0 |
| DATA_SOURCE | 2 | mode | r connector_state_get_mode |
| FUZZY_MAX | 3 | rgb_quant_range | 2 |
| HARD_MAX | 3 | rgb_quant_range | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/bridge/tda998x_drv.c tda998x_write_avi() -> drm_hdmi_avi_infoframe_quant_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame->quantization_range | 2 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->display_info.cea_rev | 3-255 |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| PARAM_VALUE | 3 | rgb_quant_range | 1-2 |
| DATA_SOURCE | 2 | mode | $1 |
| FUZZY_MAX | 3 | rgb_quant_range | 2 |
| BIT_INFO | 2 | mode->flags | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | mode->clock | |
| LOCK2 | &priv->audio_mutex | ||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| TYPE_LOCK | (struct tda998x_priv)->audio_mutex |
drivers/gpu/drm/i915/display/intel_lspcon.c lspcon_set_infoframes() -> drm_hdmi_avi_infoframe_quant_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 4096-ptr_max |
| PARAM_VALUE | 0 | frame->active_aspect | 8 |
| PARAM_VALUE | 0 | frame->colorimetry | 0-3 |
| PARAM_VALUE | 0 | frame->extended_colorimetry | 0-6 |
| PARAM_VALUE | 0 | frame->itc | 0 |
| PARAM_VALUE | 0 | frame->left_bar | 0 |
| PARAM_VALUE | 0 | frame->length | 13 |
| PARAM_VALUE | 0 | frame->nups | 0 |
| PARAM_VALUE | 0 | frame->picture_aspect | 0-2 |
| PARAM_VALUE | 0 | frame->pixel_repeat | 0-1 |
| PARAM_VALUE | 0 | frame->quantization_range | 0 |
| PARAM_VALUE | 0 | frame->scan_mode | 2 |
| PARAM_VALUE | 0 | frame->top_bar | 0 |
| PARAM_VALUE | 0 | frame->type | 130 |
| PARAM_VALUE | 0 | frame->version | 2 |
| PARAM_VALUE | 0 | frame->video_code | 0-2,193 |
| PARAM_VALUE | 0 | frame->ycc_quantization_range | 0 |
| PARAM_VALUE | 1 | connector | 0,4096-ptr_max |
| PARAM_VALUE | 1 | connector->display_info.hdmi.scdc.supported | 0 |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| PARAM_VALUE | 3 | rgb_quant_range | 1-2 |
| BUF_SIZE | 2 | mode | 120 |
| FUZZY_MAX | 3 | rgb_quant_range | 2 |
| HARD_MAX | 3 | rgb_quant_range | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c hdmi_config_AVI() -> drm_hdmi_avi_infoframe_quant_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 8232256347770097664 |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| PARAM_VALUE | 3 | rgb_quant_range | 1-2 |
| DATA_SOURCE | 1 | connector | $1 |
| DATA_SOURCE | 2 | mode | $2 |
| FUZZY_MAX | 3 | rgb_quant_range | 2 |
| HARD_MAX | 3 | rgb_quant_range | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &hdmi->mutex | ||
| TYPE_LOCK | (struct dw_hdmi)->mutex |
drivers/gpu/drm/radeon/radeon_audio.c radeon_audio_set_avi_packet() -> drm_hdmi_avi_infoframe_quant_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 2170473533342695424 |
| PARAM_VALUE | 0 | frame->active_aspect | 8 |
| PARAM_VALUE | 0 | frame->itc | 0 |
| PARAM_VALUE | 0 | frame->left_bar | 0 |
| PARAM_VALUE | 0 | frame->length | 13 |
| PARAM_VALUE | 0 | frame->nups | 0 |
| PARAM_VALUE | 0 | frame->picture_aspect | 0-2 |
| PARAM_VALUE | 0 | frame->pixel_repeat | 0-1 |
| PARAM_VALUE | 0 | frame->quantization_range | 0 |
| PARAM_VALUE | 0 | frame->scan_mode | 2 |
| PARAM_VALUE | 0 | frame->top_bar | 0 |
| PARAM_VALUE | 0 | frame->type | 130 |
| PARAM_VALUE | 0 | frame->version | 2 |
| PARAM_VALUE | 0 | frame->video_code | 0-2,193 |
| PARAM_VALUE | 0 | frame->ycc_quantization_range | 0 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->display_info.hdmi.scdc.supported | 0 |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| PARAM_VALUE | 3 | rgb_quant_range | 1-2 |
| DATA_SOURCE | 1 | connector | r radeon_get_connector_for_encoder |
| DATA_SOURCE | 2 | mode | $1 |
| FUZZY_MAX | 3 | rgb_quant_range | 2 |
| HARD_MAX | 3 | rgb_quant_range | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_compute_avi_infoframe() -> drm_hdmi_avi_infoframe_quant_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 4096-ptr_max |
| PARAM_VALUE | 0 | frame->active_aspect | 8 |
| PARAM_VALUE | 0 | frame->bottom_bar | 0 |
| PARAM_VALUE | 0 | frame->colorimetry | 0 |
| PARAM_VALUE | 0 | frame->colorspace | 0 |
| PARAM_VALUE | 0 | frame->content_type | 0 |
| PARAM_VALUE | 0 | frame->extended_colorimetry | 0 |
| PARAM_VALUE | 0 | frame->itc | 0 |
| PARAM_VALUE | 0 | frame->left_bar | 0 |
| PARAM_VALUE | 0 | frame->length | 13 |
| PARAM_VALUE | 0 | frame->nups | 0 |
| PARAM_VALUE | 0 | frame->picture_aspect | 0-2 |
| PARAM_VALUE | 0 | frame->pixel_repeat | 0-1 |
| PARAM_VALUE | 0 | frame->quantization_range | 0 |
| PARAM_VALUE | 0 | frame->right_bar | 0 |
| PARAM_VALUE | 0 | frame->scan_mode | 2 |
| PARAM_VALUE | 0 | frame->top_bar | 0 |
| PARAM_VALUE | 0 | frame->type | 130 |
| PARAM_VALUE | 0 | frame->version | 2 |
| PARAM_VALUE | 0 | frame->video_code | 0-2,193 |
| PARAM_VALUE | 0 | frame->ycc_quantization_range | 0 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->display_info.hdmi.scdc.supported | 0 |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| PARAM_VALUE | 3 | rgb_quant_range | 1-2 |
| BUF_SIZE | 0 | frame | 60 |
| BUF_SIZE | 2 | mode | 120 |
| FUZZY_MAX | 3 | rgb_quant_range | 2 |
| HARD_MAX | 3 | rgb_quant_range | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/nouveau/dispnv50/disp.c nv50_hdmi_enable() -> drm_hdmi_avi_infoframe_quant_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame->active_aspect | 8 |
| PARAM_VALUE | 0 | frame->itc | 0 |
| PARAM_VALUE | 0 | frame->left_bar | 0 |
| PARAM_VALUE | 0 | frame->length | 13 |
| PARAM_VALUE | 0 | frame->nups | 0 |
| PARAM_VALUE | 0 | frame->picture_aspect | 0-2 |
| PARAM_VALUE | 0 | frame->pixel_repeat | 0-1 |
| PARAM_VALUE | 0 | frame->quantization_range | 0 |
| PARAM_VALUE | 0 | frame->scan_mode | 2 |
| PARAM_VALUE | 0 | frame->top_bar | 0 |
| PARAM_VALUE | 0 | frame->type | 130 |
| PARAM_VALUE | 0 | frame->version | 2 |
| PARAM_VALUE | 0 | frame->video_code | 0-2,193 |
| PARAM_VALUE | 0 | frame->ycc_quantization_range | 0 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->display_info.hdmi.scdc.supported | 0 |
| PARAM_VALUE | 1 | connector->display_info.is_hdmi | 1 |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| PARAM_VALUE | 3 | rgb_quant_range | 2 |
| BUF_SIZE | 2 | mode | 120 |
| DATA_SOURCE | 2 | mode | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |