Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/i915/display/intel_dp.c intel_dp_compute_config() -> intel_link_compute_m_n()

Type Parameter Key Value
PARAM_VALUE 3 link_clock s32min-999999
PARAM_VALUE 4 bw_overhead 1000000,1028530
PARAM_VALUE 5 m_n 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 pixel_clock unit_byte

drivers/gpu/drm/i915/display/intel_dp.c intel_dp_drrs_compute_config() -> intel_link_compute_m_n()

Type Parameter Key Value
PARAM_VALUE 4 bw_overhead 1000000,1028530
PARAM_VALUE 5 m_n 4096-ptr_max
DATA_SOURCE 0 bits_per_pixel_x16 $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 pixel_clock
UNITS 2 pixel_clock unit_byte

drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dp_mst_compute_m_n() -> intel_link_compute_m_n()

Type Parameter Key Value
PARAM_VALUE 4 bw_overhead 1000000-s32max
PARAM_VALUE 5 m_n 4096-ptr_max
DATA_SOURCE 0 bits_per_pixel_x16 $2
DATA_SOURCE 4 bw_overhead $1
DATA_SOURCE 5 m_n $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 pixel_clock
UNITS 2 pixel_clock unit_byte

drivers/gpu/drm/i915/display/intel_fdi.c ilk_fdi_compute_config() -> intel_link_compute_m_n()

Type Parameter Key Value
PARAM_VALUE 4 bw_overhead 1000000
PARAM_VALUE 5 m_n 4096-ptr_max
DATA_SOURCE 1 nlanes r ilk_get_lanes_required
BIT_INFO 4 bw_overhead 0xf4240,0xf4240
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 pixel_clock unit_byte