Searched refs:cooling_dev (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/thermal/int340x_thermal/ |
D | int3406_thermal.c | 28 struct thermal_cooling_device *cooling_dev; member 45 int3406_thermal_get_max_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_get_max_state() argument 48 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_get_max_state() 55 int3406_thermal_set_cur_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_set_cur_state() argument 58 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_set_cur_state() 72 int3406_thermal_get_cur_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_get_cur_state() argument 75 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_get_cur_state() 164 d->cooling_dev = thermal_cooling_device_register(acpi_device_bid(adev), in int3406_thermal_probe() 166 if (IS_ERR(d->cooling_dev)) in int3406_thermal_probe() 179 thermal_cooling_device_unregister(d->cooling_dev); in int3406_thermal_probe() [all …]
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tt.c | 545 mvm->cooling_dev.cur_state = state; in iwl_mvm_ctdp_command() 785 *state = mvm->cooling_dev.cur_state; in iwl_mvm_tcool_get_cur_state() 832 mvm->cooling_dev.cdev = in iwl_mvm_cooling_device_register() 837 if (IS_ERR(mvm->cooling_dev.cdev)) { in iwl_mvm_cooling_device_register() 840 PTR_ERR(mvm->cooling_dev.cdev)); in iwl_mvm_cooling_device_register() 841 mvm->cooling_dev.cdev = NULL; in iwl_mvm_cooling_device_register() 860 if (!iwl_mvm_is_ctdp_supported(mvm) || !mvm->cooling_dev.cdev) in iwl_mvm_cooling_device_unregister() 864 if (mvm->cooling_dev.cdev) { in iwl_mvm_cooling_device_unregister() 865 thermal_cooling_device_unregister(mvm->cooling_dev.cdev); in iwl_mvm_cooling_device_unregister() 866 mvm->cooling_dev.cdev = NULL; in iwl_mvm_cooling_device_unregister()
|
D | fw.c | 1116 mvm->cooling_dev.cur_state); in iwl_mvm_up()
|
D | mvm.h | 1014 struct iwl_mvm_cooling_device cooling_dev; member
|
/Linux-v4.19/drivers/acpi/ |
D | acpi_video.c | 218 struct thermal_cooling_device *cooling_dev; member 267 static int video_get_max_state(struct thermal_cooling_device *cooling_dev, in video_get_max_state() argument 270 struct acpi_device *device = cooling_dev->devdata; in video_get_max_state() 277 static int video_get_cur_state(struct thermal_cooling_device *cooling_dev, in video_get_cur_state() argument 280 struct acpi_device *device = cooling_dev->devdata; in video_get_cur_state() 298 video_set_cur_state(struct thermal_cooling_device *cooling_dev, unsigned long state) in video_set_cur_state() argument 300 struct acpi_device *device = cooling_dev->devdata; in video_set_cur_state() 1768 device->cooling_dev = thermal_cooling_device_register("LCD", in acpi_video_dev_register_backlight() 1770 if (IS_ERR(device->cooling_dev)) { in acpi_video_dev_register_backlight() 1777 device->cooling_dev = NULL; in acpi_video_dev_register_backlight() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/thermal/ |
D | zx2967-thermal.txt | 28 cooling_dev: cooling_dev {
|
/Linux-v4.19/drivers/thermal/ |
D | intel_powerclamp.c | 105 static struct thermal_cooling_device *cooling_dev; variable 775 cooling_dev = thermal_cooling_device_register("intel_powerclamp", NULL, in powerclamp_init() 777 if (IS_ERR(cooling_dev)) { in powerclamp_init() 804 thermal_cooling_device_unregister(cooling_dev); in powerclamp_exit()
|