Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/i915/display/intel_pfit.c gmch_panel_fitting() -> centre_horizontally()

Type Parameter Key Value
PARAM_VALUE 0 adjusted_mode 4096-ptr_max
PARAM_VALUE 1 width 0-u16max
BUF_SIZE 0 adjusted_mode 120
CAPPED_DATA 1 width 1
DATA_SOURCE 1 width r drm_rect_width
PARAM_COMPARE 0 adjusted_mode->crtc_hdisplay >= $1
PARAM_COMPARE 1 width <= $0->crtc_hdisplay
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 adjusted_mode->crtc_clock
UNITS 1 width unit_byte

drivers/gpu/drm/i915/display/intel_pfit.c i9xx_scale_aspect() -> centre_horizontally()

Type Parameter Key Value
PARAM_VALUE 0 adjusted_mode 4096-ptr_max
PARAM_VALUE 1 width s32min-(-2),0-s32max
BUF_SIZE 0 adjusted_mode 120
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL