Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/gpu/drm/i915/display/intel_plane.c hscale_cdclk() -> drm_rect_calc_hscale()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 min_hscale 0
PARAM_VALUE 3 max_hscale s32max
DATA_SOURCE 0 src $0
DATA_SOURCE 1 dst $1

drivers/gpu/drm/i915/display/intel_plane.c intel_plane_check_clipping() -> drm_rect_calc_hscale()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 min_hscale 1,65536
PARAM_VALUE 3 max_hscale 65536,131071-131072,196607,1048576
BUF_SIZE 0 src 16
BUF_SIZE 1 dst 16
DATA_SOURCE 2 min_hscale $2
DATA_SOURCE 3 max_hscale $3
FUZZY_MAX 2 min_hscale 65536
FUZZY_MAX 3 max_hscale 1048576
BIT_INFO 2 min_hscale 0x0,0x10001
BIT_INFO 3 max_hscale 0x0,0x13ffff
HARD_MAX 2 min_hscale 65536
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/display/intel_sprite.c g4x_sprite_min_cdclk() -> drm_rect_calc_hscale()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 min_hscale 0
PARAM_VALUE 3 max_hscale s32max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_check_plane_state() -> drm_rect_calc_hscale()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
BUF_SIZE 0 src 16
BUF_SIZE 1 dst 16
DATA_SOURCE 2 min_hscale $2
DATA_SOURCE 3 max_hscale $3
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/display/skl_scaler.c intel_atomic_setup_scaler() -> drm_rect_calc_hscale()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 min_hscale 1
PARAM_VALUE 3 max_hscale 131071,196607
BUF_SIZE 0 src 16
BUF_SIZE 1 dst 16
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/display/skl_scaler.c intel_atomic_setup_scaler() -> drm_rect_calc_hscale()

Type Parameter Key Value
PARAM_VALUE 0 src 3632145131286769664
PARAM_VALUE 0 src->x1 0
PARAM_VALUE 0 src->x2 s32min-(-65536),0,65536-s32max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 min_hscale 0
PARAM_VALUE 3 max_hscale 98303,196607
FUZZY_MAX 3 max_hscale 98303
BIT_INFO 3 max_hscale 0x7fff,0x3ffff
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/display/skl_scaler.c skl_pfit_enable() -> drm_rect_calc_hscale()

Type Parameter Key Value
PARAM_VALUE 0 src 975705152346820608
PARAM_VALUE 0 src->x1 0
PARAM_VALUE 0 src->x2 s32min-(-65536),0,65536-s32max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 min_hscale 0
PARAM_VALUE 3 max_hscale s32max
BUF_SIZE 1 dst 16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/i915/display/skl_scaler.c skl_program_plane_scaler() -> drm_rect_calc_hscale()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 min_hscale 0
PARAM_VALUE 3 max_hscale s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

drivers/gpu/drm/tests/drm_rect_test.c drm_test_rect_calc_hscale() -> drm_rect_calc_hscale()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max

drivers/gpu/drm/i915/display/intel_pfit.c intel_pch_pfit_check_scaling() -> drm_rect_calc_hscale()

Type Parameter Key Value
PARAM_VALUE 0 src 653604256435437568
PARAM_VALUE 0 src->x1 0
PARAM_VALUE 0 src->x2 s32min-(-65536),0,65536-s32max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 1 dst->x1 s32min-0,2-s32max
PARAM_VALUE 2 min_hscale 0
PARAM_VALUE 3 max_hscale 73728
BUF_SIZE 1 dst 16
RX_PATH
TASK_NOT_RUNNING