Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/thermal/intel/int340x_thermal/
H A 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()
/kernel/linux/linux-6.6/drivers/thermal/intel/int340x_thermal/
H A 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()

Completed in 2 milliseconds