Home
last modified time | relevance | path

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

/components/drivers/thermal/
A Dthermal.c121 zdev->trips = rt_calloc(zdev->trips_nr, sizeof(*zdev->trips)); in thermal_ofw_setup()
124 if (!zdev->trips) in thermal_ofw_setup()
183 if (!map->trips) in thermal_ofw_setup()
250 if (!zdev->trips) in rt_thermal_zone_device_register()
306 rt_free(zdev->trips); in rt_thermal_zone_device_unregister()
812 if (zdev->trips && in rt_thermal_zone_set_trip()
815 zdev->trips[trip_id] = *trip; in rt_thermal_zone_set_trip()
853 *out_trip = zdev->trips[trip_id]; in rt_thermal_zone_get_trip()
885 trips = map->trips; in list_thermal()
895 trips->temperature / 1000, rt_abs(trips->temperature) % 1000, in list_thermal()
[all …]
/components/drivers/include/drivers/
A Dthermal.h70 struct rt_thermal_trip *trips; member
82 struct rt_thermal_trip *trips; member

Completed in 6 milliseconds