Home
last modified time | relevance | path

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

/linux/drivers/thermal/
H A Dthermal_helpers.c62 guard(cooling_dev)(cdev); in thermal_trip_is_bound_to_cdev() local
193 guard(cooling_dev)(cdev); in thermal_cdev_update() local
207 guard(cooling_dev)(cdev); in thermal_cdev_update_nocheck() local
H A Dthermal_sysfs.c550 guard(cooling_dev)(cdev); in cur_state_store() local
634 guard(cooling_dev)(cdev); in total_trans_show() local
656 guard(cooling_dev)(cdev); in time_in_state_ms_show() local
683 guard(cooling_dev)(cdev); in reset_store() local
714 guard(cooling_dev)(cdev); in trans_table_show() local
H A Dthermal_core.c804 guard(cooling_dev)(cdev); in thermal_instance_add() local
916 guard(cooling_dev)(instance->cdev); in thermal_instance_delete()
1281 guard(cooling_dev)(cdev); in thermal_cooling_device_update() local
H A Dgov_power_allocator.c560 scoped_guard(cooling_dev, cdev) { in allow_maximum_power()
/linux/drivers/acpi/
H A Dacpi_video.c205 struct thermal_cooling_device *cooling_dev; member
254 static int video_get_max_state(struct thermal_cooling_device *cooling_dev, in video_get_max_state() argument
257 struct acpi_video_device *video = cooling_dev->devdata; in video_get_max_state()
263 static int video_get_cur_state(struct thermal_cooling_device *cooling_dev, in video_get_cur_state() argument
266 struct acpi_video_device *video = cooling_dev->devdata; in video_get_cur_state()
283 video_set_cur_state(struct thermal_cooling_device *cooling_dev, unsigned long state) in video_set_cur_state() argument
285 struct acpi_video_device *video = cooling_dev->devdata; in video_set_cur_state()
1762 device->cooling_dev = thermal_cooling_device_register("LCD", device, in acpi_video_dev_register_backlight()
1764 if (IS_ERR(device->cooling_dev)) { in acpi_video_dev_register_backlight()
1771 device->cooling_dev = NULL; in acpi_video_dev_register_backlight()
[all …]
/linux/drivers/hwmon/
H A Dmax6650.c764 struct thermal_cooling_device *cooling_dev; in max6650_probe() local
796 cooling_dev = devm_thermal_of_cooling_device_register(dev, in max6650_probe()
799 if (IS_ERR(cooling_dev)) { in max6650_probe()
801 PTR_ERR(cooling_dev)); in max6650_probe()