Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/modules/power/
H A Dpower_helpers.c136 static const struct custom_backlight_profile custom_backlight_profiles[] = { variable
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()