Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power.c mod_power_create() -> backlight_millipercent_to_millinit()

Type Parameter Key Value
PARAM_VALUE 0 core_power 4096-ptr_max
PARAM_VALUE 0 core_power->bl_prop 4096-ptr_max
PARAM_VALUE 2 inst 0-254
BUF_SIZE 0 core_power 264
BUF_SIZE 0 core_power->map 1280
CAPPED_DATA 0 core_power->edp_num 1
CAPPED_DATA 2 inst 1
DATA_SOURCE 0 core_power r _kzalloc_noprof

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_abm.c mod_power_backlight_percent_to_nits() -> backlight_millipercent_to_millinit()

Type Parameter Key Value
PARAM_VALUE 0 core_power 4096-ptr_max
CAPPED_DATA 0 core_power->dc->link_count 1
DATA_SOURCE 1 millipercent $2

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_abm.c mod_power_set_backlight_percent() -> backlight_millipercent_to_millinit()

Type Parameter Key Value
PARAM_VALUE 0 core_power 4096-ptr_max
CAPPED_DATA 0 core_power->dc->link_count 1
DATA_SOURCE 1 millipercent $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dm->dc_lock
TYPE_LOCK (struct amdgpu_display_manager)->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_abm.c mod_power_update_backlight() -> backlight_millipercent_to_millinit()

Type Parameter Key Value
PARAM_VALUE 0 core_power 4096-ptr_max
CAPPED_DATA 0 core_power->dc->link_count 1
DATA_SOURCE 1 millipercent $2