cooling_dev       211 drivers/acpi/acpi_video.c 	struct thermal_cooling_device *cooling_dev;
cooling_dev       260 drivers/acpi/acpi_video.c static int video_get_max_state(struct thermal_cooling_device *cooling_dev,
cooling_dev       263 drivers/acpi/acpi_video.c 	struct acpi_device *device = cooling_dev->devdata;
cooling_dev       270 drivers/acpi/acpi_video.c static int video_get_cur_state(struct thermal_cooling_device *cooling_dev,
cooling_dev       273 drivers/acpi/acpi_video.c 	struct acpi_device *device = cooling_dev->devdata;
cooling_dev       291 drivers/acpi/acpi_video.c video_set_cur_state(struct thermal_cooling_device *cooling_dev, unsigned long state)
cooling_dev       293 drivers/acpi/acpi_video.c 	struct acpi_device *device = cooling_dev->devdata;
cooling_dev      1792 drivers/acpi/acpi_video.c 	device->cooling_dev = thermal_cooling_device_register("LCD",
cooling_dev      1794 drivers/acpi/acpi_video.c 	if (IS_ERR(device->cooling_dev)) {
cooling_dev      1801 drivers/acpi/acpi_video.c 		device->cooling_dev = NULL;
cooling_dev      1806 drivers/acpi/acpi_video.c 		 device->cooling_dev->id);
cooling_dev      1808 drivers/acpi/acpi_video.c 			&device->cooling_dev->device.kobj,
cooling_dev      1812 drivers/acpi/acpi_video.c 	result = sysfs_create_link(&device->cooling_dev->device.kobj,
cooling_dev      1884 drivers/acpi/acpi_video.c 	if (device->cooling_dev) {
cooling_dev      1886 drivers/acpi/acpi_video.c 		sysfs_remove_link(&device->cooling_dev->device.kobj, "device");
cooling_dev      1887 drivers/acpi/acpi_video.c 		thermal_cooling_device_unregister(device->cooling_dev);
cooling_dev      1888 drivers/acpi/acpi_video.c 		device->cooling_dev = NULL;
cooling_dev       763 drivers/hwmon/max6650.c 	struct thermal_cooling_device *cooling_dev;
cooling_dev       796 drivers/hwmon/max6650.c 		cooling_dev = devm_thermal_of_cooling_device_register(dev,
cooling_dev       799 drivers/hwmon/max6650.c 		if (IS_ERR(cooling_dev)) {
cooling_dev       801 drivers/hwmon/max6650.c 				 PTR_ERR(cooling_dev));
cooling_dev      1451 drivers/net/wireless/intel/iwlwifi/mvm/fw.c 					   mvm->cooling_dev.cur_state);
cooling_dev      1039 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 	struct iwl_mvm_cooling_device cooling_dev;
cooling_dev       532 drivers/net/wireless/intel/iwlwifi/mvm/tt.c 		mvm->cooling_dev.cur_state = state;
cooling_dev       779 drivers/net/wireless/intel/iwlwifi/mvm/tt.c 	*state = mvm->cooling_dev.cur_state;
cooling_dev       826 drivers/net/wireless/intel/iwlwifi/mvm/tt.c 	mvm->cooling_dev.cdev =
cooling_dev       831 drivers/net/wireless/intel/iwlwifi/mvm/tt.c 	if (IS_ERR(mvm->cooling_dev.cdev)) {
cooling_dev       834 drivers/net/wireless/intel/iwlwifi/mvm/tt.c 			       PTR_ERR(mvm->cooling_dev.cdev));
cooling_dev       835 drivers/net/wireless/intel/iwlwifi/mvm/tt.c 		mvm->cooling_dev.cdev = NULL;
cooling_dev       854 drivers/net/wireless/intel/iwlwifi/mvm/tt.c 	if (!iwl_mvm_is_ctdp_supported(mvm) || !mvm->cooling_dev.cdev)
cooling_dev       858 drivers/net/wireless/intel/iwlwifi/mvm/tt.c 	if (mvm->cooling_dev.cdev) {
cooling_dev       859 drivers/net/wireless/intel/iwlwifi/mvm/tt.c 		thermal_cooling_device_unregister(mvm->cooling_dev.cdev);
cooling_dev       860 drivers/net/wireless/intel/iwlwifi/mvm/tt.c 		mvm->cooling_dev.cdev = NULL;
cooling_dev        24 drivers/thermal/intel/int340x_thermal/int3406_thermal.c 	struct thermal_cooling_device *cooling_dev;
cooling_dev        41 drivers/thermal/intel/int340x_thermal/int3406_thermal.c int3406_thermal_get_max_state(struct thermal_cooling_device *cooling_dev,
cooling_dev        44 drivers/thermal/intel/int340x_thermal/int3406_thermal.c 	struct int3406_thermal_data *d = cooling_dev->devdata;
cooling_dev        51 drivers/thermal/intel/int340x_thermal/int3406_thermal.c int3406_thermal_set_cur_state(struct thermal_cooling_device *cooling_dev,
cooling_dev        54 drivers/thermal/intel/int340x_thermal/int3406_thermal.c 	struct int3406_thermal_data *d = cooling_dev->devdata;
cooling_dev        68 drivers/thermal/intel/int340x_thermal/int3406_thermal.c int3406_thermal_get_cur_state(struct thermal_cooling_device *cooling_dev,
cooling_dev        71 drivers/thermal/intel/int340x_thermal/int3406_thermal.c 	struct int3406_thermal_data *d = cooling_dev->devdata;
cooling_dev       160 drivers/thermal/intel/int340x_thermal/int3406_thermal.c 	d->cooling_dev = thermal_cooling_device_register(acpi_device_bid(adev),
cooling_dev       162 drivers/thermal/intel/int340x_thermal/int3406_thermal.c 	if (IS_ERR(d->cooling_dev))
cooling_dev       175 drivers/thermal/intel/int340x_thermal/int3406_thermal.c 	thermal_cooling_device_unregister(d->cooling_dev);
cooling_dev       185 drivers/thermal/intel/int340x_thermal/int3406_thermal.c 	thermal_cooling_device_unregister(d->cooling_dev);
cooling_dev        90 drivers/thermal/intel/intel_powerclamp.c static struct thermal_cooling_device *cooling_dev;
cooling_dev       740 drivers/thermal/intel/intel_powerclamp.c 	cooling_dev = thermal_cooling_device_register("intel_powerclamp", NULL,
cooling_dev       742 drivers/thermal/intel/intel_powerclamp.c 	if (IS_ERR(cooling_dev)) {
cooling_dev       769 drivers/thermal/intel/intel_powerclamp.c 	thermal_cooling_device_unregister(cooling_dev);