Home
last modified time | relevance | path

Searched refs:cooling_dev (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/thermal/intel/int340x_thermal/
H A Dint3406_thermal.c24 struct thermal_cooling_device *cooling_dev; member
41 int3406_thermal_get_max_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_get_max_state() argument
44 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() argument
54 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() argument
71 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...]
/kernel/linux/linux-6.6/drivers/thermal/intel/int340x_thermal/
H A Dint3406_thermal.c24 struct thermal_cooling_device *cooling_dev; member
41 int3406_thermal_get_max_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_get_max_state() argument
44 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() argument
54 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() argument
71 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...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtt.c591 mvm->cooling_dev.cur_state = state; in iwl_mvm_ctdp_command()
845 *state = mvm->cooling_dev.cur_state; in iwl_mvm_tcool_get_cur_state()
892 mvm->cooling_dev.cdev = in iwl_mvm_cooling_device_register()
897 if (IS_ERR(mvm->cooling_dev.cdev)) { in iwl_mvm_cooling_device_register()
900 PTR_ERR(mvm->cooling_dev.cdev)); in iwl_mvm_cooling_device_register()
901 mvm->cooling_dev.cdev = NULL; in iwl_mvm_cooling_device_register()
920 if (!iwl_mvm_is_ctdp_supported(mvm) || !mvm->cooling_dev.cdev) in iwl_mvm_cooling_device_unregister()
924 if (mvm->cooling_dev.cdev) { in iwl_mvm_cooling_device_unregister()
925 thermal_cooling_device_unregister(mvm->cooling_dev.cdev); in iwl_mvm_cooling_device_unregister()
926 mvm->cooling_dev in iwl_mvm_cooling_device_unregister()
[all...]
H A Dfw.c1538 mvm->cooling_dev.cur_state); in iwl_mvm_up()
H A Dmvm.h1030 struct iwl_mvm_cooling_device cooling_dev; member
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtt.c532 mvm->cooling_dev.cur_state = state; in iwl_mvm_ctdp_command()
739 *state = mvm->cooling_dev.cur_state; in iwl_mvm_tcool_get_cur_state()
786 mvm->cooling_dev.cdev = in iwl_mvm_cooling_device_register()
791 if (IS_ERR(mvm->cooling_dev.cdev)) { in iwl_mvm_cooling_device_register()
794 PTR_ERR(mvm->cooling_dev.cdev)); in iwl_mvm_cooling_device_register()
795 mvm->cooling_dev.cdev = NULL; in iwl_mvm_cooling_device_register()
814 if (!iwl_mvm_is_ctdp_supported(mvm) || !mvm->cooling_dev.cdev) in iwl_mvm_cooling_device_unregister()
818 if (mvm->cooling_dev.cdev) { in iwl_mvm_cooling_device_unregister()
819 thermal_cooling_device_unregister(mvm->cooling_dev.cdev); in iwl_mvm_cooling_device_unregister()
820 mvm->cooling_dev in iwl_mvm_cooling_device_unregister()
[all...]
H A Dmvm.h1062 struct iwl_mvm_cooling_device cooling_dev; member
H A Dfw.c1668 mvm->cooling_dev.cur_state); in iwl_mvm_up()
/kernel/linux/linux-5.10/drivers/acpi/
H A Dacpi_video.c211 struct thermal_cooling_device *cooling_dev; member
260 static int video_get_max_state(struct thermal_cooling_device *cooling_dev, in video_get_max_state() argument
263 struct acpi_device *device = cooling_dev->devdata; in video_get_max_state()
270 static int video_get_cur_state(struct thermal_cooling_device *cooling_dev, in video_get_cur_state() argument
273 struct acpi_device *device = cooling_dev->devdata; in video_get_cur_state()
291 video_set_cur_state(struct thermal_cooling_device *cooling_dev, unsigned long state) in video_set_cur_state() argument
293 struct acpi_device *device = cooling_dev->devdata; in video_set_cur_state()
1830 device->cooling_dev = thermal_cooling_device_register("LCD", in acpi_video_dev_register_backlight()
1832 if (IS_ERR(device->cooling_dev)) { in acpi_video_dev_register_backlight()
1834 * Set cooling_dev t in acpi_video_dev_register_backlight()
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dacpi_video.c204 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()
1755 device->cooling_dev = thermal_cooling_device_register("LCD", device, in acpi_video_dev_register_backlight()
1757 if (IS_ERR(device->cooling_dev)) { in acpi_video_dev_register_backlight()
1759 * Set cooling_dev t in acpi_video_dev_register_backlight()
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dmax6650.c764 struct thermal_cooling_device *cooling_dev; in max6650_probe() local
798 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()
/kernel/linux/linux-5.10/drivers/thermal/intel/
H A Dintel_powerclamp.c88 static struct thermal_cooling_device *cooling_dev; variable
747 cooling_dev = thermal_cooling_device_register("intel_powerclamp", NULL, in powerclamp_init()
749 if (IS_ERR(cooling_dev)) { in powerclamp_init()
776 thermal_cooling_device_unregister(cooling_dev); in powerclamp_exit()
/kernel/linux/linux-6.6/drivers/thermal/intel/
H A Dintel_powerclamp.c73 static struct thermal_cooling_device *cooling_dev; variable
814 cooling_dev = thermal_cooling_device_register("intel_powerclamp", NULL, in powerclamp_init()
816 if (IS_ERR(cooling_dev)) in powerclamp_init()
834 thermal_cooling_device_unregister(cooling_dev); in powerclamp_exit()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dmax6650.c764 struct thermal_cooling_device *cooling_dev; in max6650_probe() local
798 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 23 milliseconds