Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/acpi/
Dvideo.c220 struct thermal_cooling_device *cooling_dev; member
298 static int video_get_max_state(struct thermal_cooling_device *cooling_dev, unsigned in video_get_max_state() argument
301 struct acpi_device *device = cooling_dev->devdata; in video_get_max_state()
308 static int video_get_cur_state(struct thermal_cooling_device *cooling_dev, unsigned in video_get_cur_state() argument
311 struct acpi_device *device = cooling_dev->devdata; in video_get_cur_state()
328 video_set_cur_state(struct thermal_cooling_device *cooling_dev, unsigned long state) in video_set_cur_state() argument
330 struct acpi_device *device = cooling_dev->devdata; in video_set_cur_state()
1742 device->cooling_dev = thermal_cooling_device_register("LCD", in acpi_video_dev_register_backlight()
1744 if (IS_ERR(device->cooling_dev)) { in acpi_video_dev_register_backlight()
1751 device->cooling_dev = NULL; in acpi_video_dev_register_backlight()
[all …]
/linux-4.1.27/drivers/thermal/
Dintel_powerclamp.c91 static struct thermal_cooling_device *cooling_dev; variable
795 cooling_dev = thermal_cooling_device_register("intel_powerclamp", NULL, in powerclamp_init()
797 if (IS_ERR(cooling_dev)) { in powerclamp_init()
824 thermal_cooling_device_unregister(cooling_dev); in powerclamp_exit()