Home
last modified time | relevance | path

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

/linux/drivers/thermal/intel/int340x_thermal/
H A Dint340x_thermal_zone.c120 struct int34x_thermal_zone *int34x_zone; in int340x_thermal_zone_add() local
127 int34x_zone = kzalloc(sizeof(*int34x_zone), GFP_KERNEL); in int340x_thermal_zone_add()
128 if (!int34x_zone) in int340x_thermal_zone_add()
131 int34x_zone->adev = adev; in int340x_thermal_zone_add()
135 int34x_zone->aux_trip_nr = trip_cnt; in int340x_thermal_zone_add()
162 int34x_zone->lpat_table = acpi_lpat_get_conversion_table(adev->handle); in int340x_thermal_zone_add()
164 int34x_zone->zone = thermal_zone_device_register_with_trips( in int340x_thermal_zone_add()
167 int34x_zone, in int340x_thermal_zone_add()
173 if (IS_ERR(int34x_zone->zone)) { in int340x_thermal_zone_add()
174 ret = PTR_ERR(int34x_zone->zone); in int340x_thermal_zone_add()
[all …]
H A Dint340x_thermal_zone.h32 void int340x_thermal_update_trips(struct int34x_thermal_zone *int34x_zone);