Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/thermal/
Dthermal_core.c809 static struct class *thermal_class; variable
862 if (!thermal_class) in __thermal_cooling_device_register()
886 cdev->device.class = thermal_class; in __thermal_cooling_device_register()
1274 if (!thermal_class) in thermal_zone_device_register_with_trips()
1305 tz->device.class = thermal_class; in thermal_zone_device_register_with_trips()
1563 thermal_class = kzalloc(sizeof(*thermal_class), GFP_KERNEL); in thermal_init()
1564 if (!thermal_class) { in thermal_init()
1569 thermal_class->name = "thermal"; in thermal_init()
1570 thermal_class->dev_release = thermal_release; in thermal_init()
1572 result = class_register(thermal_class); in thermal_init()
[all …]