Searched refs:cooling_dev (Results 1 – 2 of 2) sorted by relevance
220 struct thermal_cooling_device *cooling_dev; member298 static int video_get_max_state(struct thermal_cooling_device *cooling_dev, unsigned in video_get_max_state() argument301 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() argument311 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() argument330 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 …]
91 static struct thermal_cooling_device *cooling_dev; variable795 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()