Lines Matching refs:td
130 struct thermal_data *td = arg; in tz_disable() local
131 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in tz_disable()
140 struct thermal_data *td = arg; in tz_enable() local
141 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in tz_enable()
150 struct thermal_data *td = arg; in trip_high() local
151 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in trip_high()
161 struct thermal_data *td = arg; in trip_low() local
162 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in trip_low()
188 struct thermal_data *td = arg; in trip_change() local
189 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in trip_change()
224 struct thermal_data *td = arg; in gov_change() local
225 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in gov_change()
294 struct thermal_data *td = arg; in thermal_event() local
296 return thermal_events_handle(td->th, td); in thermal_event()
365 struct thermal_data td; in main() local
386 td.th = thermal_init(&ops); in main()
387 if (!td.th) { in main()
392 td.tz = thermal_zone_discover(td.th); in main()
393 if (!td.tz) { in main()
398 for_each_thermal_zone(td.tz, set_threshold, td.th); in main()
400 for_each_thermal_zone(td.tz, show_tz, td.th); in main()
407 if (mainloop_add(thermal_events_fd(td.th), thermal_event, &td)) { in main()