Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/acpi/
Dacpi_video.c211 struct thermal_cooling_device *cooling_dev; member
271 static int video_get_max_state(struct thermal_cooling_device *cooling_dev, unsigned in video_get_max_state() argument
274 struct acpi_device *device = cooling_dev->devdata; in video_get_max_state()
281 static int video_get_cur_state(struct thermal_cooling_device *cooling_dev, unsigned in video_get_cur_state() argument
284 struct acpi_device *device = cooling_dev->devdata; in video_get_cur_state()
301 video_set_cur_state(struct thermal_cooling_device *cooling_dev, unsigned long state) in video_set_cur_state() argument
303 struct acpi_device *device = cooling_dev->devdata; in video_set_cur_state()
1675 device->cooling_dev = thermal_cooling_device_register("LCD", in acpi_video_dev_register_backlight()
1677 if (IS_ERR(device->cooling_dev)) { in acpi_video_dev_register_backlight()
1684 device->cooling_dev = NULL; in acpi_video_dev_register_backlight()
[all …]
/linux-4.4.14/drivers/thermal/
Dintel_powerclamp.c91 static struct thermal_cooling_device *cooling_dev; variable
799 cooling_dev = thermal_cooling_device_register("intel_powerclamp", NULL, in powerclamp_init()
801 if (IS_ERR(cooling_dev)) { in powerclamp_init()
828 thermal_cooling_device_unregister(cooling_dev); in powerclamp_exit()