Searched refs:cooling_dev (Results 1 – 7 of 7) sorted by relevance
24 struct thermal_cooling_device *cooling_dev; member41 int3406_thermal_get_max_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_get_max_state() argument44 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_get_max_state()51 int3406_thermal_set_cur_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_set_cur_state() argument54 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_set_cur_state()68 int3406_thermal_get_cur_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_get_cur_state() argument71 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_get_cur_state()160 d->cooling_dev = thermal_cooling_device_register(acpi_device_bid(adev), in int3406_thermal_probe()162 if (IS_ERR(d->cooling_dev)) in int3406_thermal_probe()175 thermal_cooling_device_unregister(d->cooling_dev); in int3406_thermal_probe()[all …]
527 mvm->cooling_dev.cur_state = state; in iwl_mvm_ctdp_command()781 *state = mvm->cooling_dev.cur_state; in iwl_mvm_tcool_get_cur_state()828 mvm->cooling_dev.cdev = in iwl_mvm_cooling_device_register()833 if (IS_ERR(mvm->cooling_dev.cdev)) { in iwl_mvm_cooling_device_register()836 PTR_ERR(mvm->cooling_dev.cdev)); in iwl_mvm_cooling_device_register()837 mvm->cooling_dev.cdev = NULL; in iwl_mvm_cooling_device_register()856 if (!iwl_mvm_is_ctdp_supported(mvm) || !mvm->cooling_dev.cdev) in iwl_mvm_cooling_device_unregister()860 if (mvm->cooling_dev.cdev) { in iwl_mvm_cooling_device_unregister()861 thermal_cooling_device_unregister(mvm->cooling_dev.cdev); in iwl_mvm_cooling_device_unregister()862 mvm->cooling_dev.cdev = NULL; in iwl_mvm_cooling_device_unregister()
1586 mvm->cooling_dev.cur_state); in iwl_mvm_up()
986 struct iwl_mvm_cooling_device cooling_dev; member
208 struct thermal_cooling_device *cooling_dev; member260 struct acpi_device *device = cooling_dev->devdata; in video_get_max_state()270 struct acpi_device *device = cooling_dev->devdata; in video_get_cur_state()290 struct acpi_device *device = cooling_dev->devdata; in video_set_cur_state()1805 if (IS_ERR(device->cooling_dev)) { in acpi_video_dev_register_backlight()1812 device->cooling_dev = NULL; in acpi_video_dev_register_backlight()1817 device->cooling_dev->id); in acpi_video_dev_register_backlight()1819 &device->cooling_dev->device.kobj, in acpi_video_dev_register_backlight()1896 if (device->cooling_dev) { in acpi_video_dev_unregister_backlight()1899 thermal_cooling_device_unregister(device->cooling_dev); in acpi_video_dev_unregister_backlight()[all …]
87 static struct thermal_cooling_device *cooling_dev; variable735 cooling_dev = thermal_cooling_device_register("intel_powerclamp", NULL, in powerclamp_init()737 if (IS_ERR(cooling_dev)) { in powerclamp_init()764 thermal_cooling_device_unregister(cooling_dev); in powerclamp_exit()
764 struct thermal_cooling_device *cooling_dev; in max6650_probe() local798 cooling_dev = devm_thermal_of_cooling_device_register(dev, in max6650_probe()801 if (IS_ERR(cooling_dev)) { in max6650_probe()803 PTR_ERR(cooling_dev)); in max6650_probe()
Completed in 27 milliseconds