Home
last modified time | relevance | path

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

/linux/tools/lib/thermal/
H A Dcommands.c47 struct thermal_zone *__tz = NULL; in parse_tz_get() local
57 __tz = realloc(__tz, sizeof(*__tz) * (size + 2)); in parse_tz_get()
58 if (!__tz) in parse_tz_get()
61 __tz[size - 1].id = nla_get_u32(attr); in parse_tz_get()
66 nla_strlcpy(__tz[size - 1].name, attr, in parse_tz_get()
70 if (__tz) in parse_tz_get()
71 __tz[size].id = -1; in parse_tz_get()
73 *tz = __tz; in parse_tz_get()
/linux/drivers/thermal/
H A Dthermal_core.h273 #define for_each_trip_desc(__tz, __td) \ argument
274 for (__td = __tz->trips; __td - __tz->trips < __tz->num_trips; __td++)