Home
last modified time | relevance | path

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

/linux/drivers/thermal/
H A Dthermal_debugfs.c153 int *trips_crossed; member
645 tz_dbg->trips_crossed[tz_dbg->nr_trips++] = trip_id; in thermal_debug_tz_trip_up()
695 if (tz_dbg->trips_crossed[i] == trip_id) in thermal_debug_tz_trip_down()
705 tz_dbg->trips_crossed[i] = tz_dbg->trips_crossed[tz_dbg->nr_trips]; in thermal_debug_tz_trip_down()
745 int trip_id = tz_dbg->trips_crossed[i]; in thermal_debug_update_trip_stats()
874 tz_dbg->trips_crossed = kzalloc(sizeof(int) * tz->num_trips, GFP_KERNEL); in thermal_debug_tz_add()
875 if (!tz_dbg->trips_crossed) { in thermal_debug_tz_add()
893 int *trips_crossed; in thermal_debug_tz_remove() local
911 trips_crossed = tz_dbg->trips_crossed; in thermal_debug_tz_remove()
921 kfree(trips_crossed); in thermal_debug_tz_remove()
[all …]