Searched refs:cooling_dev (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tt.c | 532 mvm->cooling_dev.cur_state = state; in iwl_mvm_ctdp_command() 720 *state = mvm->cooling_dev.cur_state; in iwl_mvm_tcool_get_cur_state() 758 mvm->cooling_dev.cdev = in iwl_mvm_cooling_device_register() 763 if (IS_ERR(mvm->cooling_dev.cdev)) { in iwl_mvm_cooling_device_register() 766 PTR_ERR(mvm->cooling_dev.cdev)); in iwl_mvm_cooling_device_register() 767 mvm->cooling_dev.cdev = NULL; in iwl_mvm_cooling_device_register() 786 if (!iwl_mvm_is_ctdp_supported(mvm) || !mvm->cooling_dev.cdev) in iwl_mvm_cooling_device_unregister() 790 if (mvm->cooling_dev.cdev) { in iwl_mvm_cooling_device_unregister() 791 thermal_cooling_device_unregister(mvm->cooling_dev.cdev); in iwl_mvm_cooling_device_unregister() 792 mvm->cooling_dev.cdev = NULL; in iwl_mvm_cooling_device_unregister()
|
H A D | fw.c | 1545 mvm->cooling_dev.cur_state); in iwl_mvm_up()
|
H A D | mvm.h | 1228 struct iwl_mvm_cooling_device cooling_dev; member
|
/linux/drivers/thermal/ |
H A D | thermal_helpers.c | 62 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 D | thermal_sysfs.c | 547 guard(cooling_dev)(cdev); in cur_state_store() local 631 guard(cooling_dev)(cdev); in total_trans_show() local 653 guard(cooling_dev)(cdev); in time_in_state_ms_show() local 680 guard(cooling_dev)(cdev); in reset_store() local 711 guard(cooling_dev)(cdev); in trans_table_show() local
|
H A D | thermal_core.c | 801 guard(cooling_dev)(cdev); in thermal_instance_add() local 913 guard(cooling_dev)(instance->cdev); in thermal_instance_delete() 1278 guard(cooling_dev)(cdev); in thermal_cooling_device_update() local
|
H A D | thermal_debugfs.c | 523 guard(cooling_dev)(cdev); in thermal_debug_cdev_clear() local
|
/linux/drivers/acpi/ |
H A D | acpi_video.c | 204 struct thermal_cooling_device *cooling_dev; member 253 static int video_get_max_state(struct thermal_cooling_device *cooling_dev, in video_get_max_state() argument 256 struct acpi_video_device *video = cooling_dev->devdata; in video_get_max_state() 262 static int video_get_cur_state(struct thermal_cooling_device *cooling_dev, in video_get_cur_state() argument 265 struct acpi_video_device *video = cooling_dev->devdata; in video_get_cur_state() 282 video_set_cur_state(struct thermal_cooling_device *cooling_dev, unsigned long state) in video_set_cur_state() argument 284 struct acpi_video_device *video = cooling_dev->devdata; in video_set_cur_state() 1749 device->cooling_dev = thermal_cooling_device_register("LCD", device, in acpi_video_dev_register_backlight() 1751 if (IS_ERR(device->cooling_dev)) { in acpi_video_dev_register_backlight() 1758 device->cooling_dev = NULL; in acpi_video_dev_register_backlight() [all …]
|
/linux/drivers/thermal/intel/ |
H A D | intel_powerclamp.c | 72 static struct thermal_cooling_device *cooling_dev; variable 782 cooling_dev = thermal_cooling_device_register("intel_powerclamp", NULL, in powerclamp_init() 784 if (IS_ERR(cooling_dev)) in powerclamp_init() 802 thermal_cooling_device_unregister(cooling_dev); in powerclamp_exit()
|
/linux/drivers/hwmon/ |
H A D | max6650.c | 764 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()
|
/linux/include/linux/ |
H A D | thermal.h | 143 DEFINE_GUARD(cooling_dev, struct thermal_cooling_device *, mutex_lock(&_T->lock),
|