Searched refs:cooling_dev (Results 1 – 2 of 2) sorted by relevance
211 struct thermal_cooling_device *cooling_dev; member271 static int video_get_max_state(struct thermal_cooling_device *cooling_dev, unsigned in video_get_max_state() argument274 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() argument284 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() argument303 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 …]
91 static struct thermal_cooling_device *cooling_dev; variable799 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()