Searched refs:trips_nr (Results 1 – 2 of 2) sorted by relevance
105 if (zdev->trips_nr) in thermal_ofw_setup()116 zdev->trips_nr = rt_ofw_get_child_count(tmp_np); in thermal_ofw_setup()117 if (!zdev->trips_nr) in thermal_ofw_setup()121 zdev->trips = rt_calloc(zdev->trips_nr, sizeof(*zdev->trips)); in thermal_ofw_setup()252 zdev->trips_nr = 0; in rt_thermal_zone_device_register()578 for (int i = 0; i < zdev->trips_nr; ++i) in rt_thermal_zone_device_update()636 for (int i = 0; i < zdev->trips_nr; ++i) in rt_thermal_zone_device_update()782 if (trip_id >= zdev->trips_nr) in rt_thermal_zone_set_trip()841 if (!zdev->trips_nr) in rt_thermal_zone_get_trip()847 if (trip_id >= zdev->trips_nr) in rt_thermal_zone_get_trip()
81 rt_size_t trips_nr; member
Completed in 7 milliseconds