Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/thermal/intel/int340x_thermal/
Dint3406_thermal.c23 struct backlight_device *raw_bd; member
37 #define ACPI_TO_RAW(v, d) (d->raw_bd->props.max_brightness * v / 100)
38 #define RAW_TO_ACPI(v, d) (v * 100 / d->raw_bd->props.max_brightness)
64 return backlight_device_set_brightness(d->raw_bd, raw_level); in int3406_thermal_set_cur_state()
75 acpi_level = RAW_TO_ACPI(d->raw_bd->props.brightness, d); in int3406_thermal_get_cur_state()
152 d->raw_bd = bd; in int3406_thermal_probe()