Lines Matching refs:__tt
121 struct thermal_trip *__tt = NULL; in parse_tz_get_trip() local
131 __tt = realloc(__tt, sizeof(*__tt) * (size + 2)); in parse_tz_get_trip()
132 if (!__tt) in parse_tz_get_trip()
135 __tt[size - 1].id = nla_get_u32(attr); in parse_tz_get_trip()
139 __tt[size - 1].type = nla_get_u32(attr); in parse_tz_get_trip()
142 __tt[size - 1].temp = nla_get_u32(attr); in parse_tz_get_trip()
145 __tt[size - 1].hyst = nla_get_u32(attr); in parse_tz_get_trip()
148 if (__tt) in parse_tz_get_trip()
149 __tt[size].id = -1; in parse_tz_get_trip()
151 tz->trip = __tt; in parse_tz_get_trip()
194 struct thermal_threshold *__tt = NULL; in parse_threshold_get() local
214 __tt = realloc(__tt, sizeof(*__tt) * (size + 2)); in parse_threshold_get()
215 if (!__tt) in parse_threshold_get()
218 __tt[size - 1].temperature = nla_get_u32(attr); in parse_threshold_get()
222 __tt[size - 1].direction = nla_get_u32(attr); in parse_threshold_get()
225 if (__tt) in parse_threshold_get()
226 __tt[size].temperature = INT_MAX; in parse_threshold_get()
228 tz->thresholds = __tt; in parse_threshold_get()