Lines Matching refs:gov
202 struct thermal_governor *gov; in thermal_zone_device_set_policy() local
208 gov = __find_governor(strim(policy)); in thermal_zone_device_set_policy()
209 if (!gov) in thermal_zone_device_set_policy()
212 ret = thermal_set_governor(tz, gov); in thermal_zone_device_set_policy()
268 struct thermal_governor **gov; in thermal_register_governors() local
270 for_each_governor_table(gov) { in thermal_register_governors()
271 if (gov == governor) in thermal_register_governors()
273 thermal_unregister_governor(*gov); in thermal_register_governors()
707 struct thermal_governor *gov; in for_each_thermal_governor() local
711 list_for_each_entry(gov, &thermal_governor_list, governor_list) { in for_each_thermal_governor()
712 ret = cb(gov, data); in for_each_thermal_governor()