Home
last modified time | relevance | path

Searched refs:config_no (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/display/modules/power/
H A Dpower_helpers.c978 bool fill_custom_backlight_caps(unsigned int config_no, struct dm_acpi_atif_backlight_caps *caps) in fill_custom_backlight_caps() argument
982 if (config_no >= ARRAY_SIZE(custom_backlight_profiles)) in fill_custom_backlight_caps()
985 data_points_size = custom_backlight_profiles[config_no].num_data_points in fill_custom_backlight_caps()
986 * sizeof(custom_backlight_profiles[config_no].data_points[0]); in fill_custom_backlight_caps()
991 caps->ac_level_percentage = custom_backlight_profiles[config_no].ac_level_percentage; in fill_custom_backlight_caps()
992 caps->dc_level_percentage = custom_backlight_profiles[config_no].dc_level_percentage; in fill_custom_backlight_caps()
993 caps->min_input_signal = custom_backlight_profiles[config_no].min_input_signal; in fill_custom_backlight_caps()
994 caps->max_input_signal = custom_backlight_profiles[config_no].max_input_signal; in fill_custom_backlight_caps()
995 caps->num_data_points = custom_backlight_profiles[config_no].num_data_points; in fill_custom_backlight_caps()
996 memcpy(caps->data_points, custom_backlight_profiles[config_no].data_points, data_points_size); in fill_custom_backlight_caps()
H A Dpower_helpers.h68 bool fill_custom_backlight_caps(unsigned int config_no,