Home
last modified time | relevance | path

Searched refs:thermal_class (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/drivers/thermal/
H A Dthermal_core.c814 static struct class *thermal_class; variable
867 if (!thermal_class) in __thermal_cooling_device_register()
891 cdev->device.class = thermal_class; in __thermal_cooling_device_register()
1279 if (!thermal_class) in thermal_zone_device_register_with_trips()
1310 tz->device.class = thermal_class; in thermal_zone_device_register_with_trips()
1585 thermal_class = kzalloc(sizeof(*thermal_class), GFP_KERNEL); in thermal_init()
1586 if (!thermal_class) { in thermal_init()
1591 thermal_class->name = "thermal"; in thermal_init()
1592 thermal_class in thermal_init()
[all...]
/kernel/linux/linux-5.10/drivers/thermal/
H A Dthermal_core.c997 static struct class thermal_class = { variable
1124 cdev->device.class = &thermal_class; in __thermal_cooling_device_register()
1441 tz->device.class = &thermal_class; in thermal_zone_device_register()
1670 result = class_register(&thermal_class); in thermal_init()
1686 class_unregister(&thermal_class); in thermal_init()

Completed in 4 milliseconds