Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/sspl/dc_spl_isharp_filters.c spl_build_isharp_1dlut_from_reference_curve() -> spl_fixpt_from_int()

Type Parameter Key Value
PARAM_VALUE 0 arg 0-255,50397184
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/sspl/dc_spl_isharp_filters.c spl_build_isharp_1dlut_from_reference_curve() -> spl_fixpt_from_int()

Type Parameter Key Value
PARAM_VALUE 0 arg 3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/sspl/dc_spl_isharp_filters.c spl_build_isharp_1dlut_from_reference_curve() -> spl_fixpt_from_int()

Type Parameter Key Value
PARAM_VALUE 0 arg 255
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/sspl/spl_fixpt31_32.c spl_fixpt_div_int() -> spl_fixpt_from_int()

Type Parameter Key Value
DATA_SOURCE 0 arg $1

drivers/gpu/drm/amd/amdgpu/../display/dc/sspl/spl_fixpt31_32.c spl_fixpt_from_int_dy() -> spl_fixpt_from_int()

Type Parameter Key Value
DATA_SOURCE 0 arg $0

drivers/gpu/drm/amd/amdgpu/../display/dc/sspl/spl_fixpt31_32.c spl_fixpt_mul_int() -> spl_fixpt_from_int()

Type Parameter Key Value
DATA_SOURCE 0 arg $1

drivers/gpu/drm/amd/amdgpu/../display/dc/sspl/dc_spl.c spl_fixpt_add_int() -> spl_fixpt_from_int()

Type Parameter Key Value
PARAM_VALUE 0 arg (-2147483647)-s32max
CAPPED_DATA 0 arg 1
DATA_SOURCE 0 arg $1
FUZZY_MAX 0 arg s32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/sspl/dc_spl.c spl_fixpt_div_int() -> spl_fixpt_from_int()

Type Parameter Key Value
PARAM_VALUE 0 arg 2
DATA_SOURCE 0 arg $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/sspl/dc_spl.c spl_fixpt_mul_int() -> spl_fixpt_from_int()

Type Parameter Key Value
DATA_SOURCE 0 arg $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 arg unit_byte