Lines Matching refs:gov
199 struct thermal_governor *gov; in thermal_zone_device_set_policy() local
205 gov = __find_governor(strim(policy)); in thermal_zone_device_set_policy()
206 if (!gov) in thermal_zone_device_set_policy()
209 ret = thermal_set_governor(tz, gov); in thermal_zone_device_set_policy()
263 struct thermal_governor **gov; in thermal_register_governors() local
265 for_each_governor_table(gov) { in thermal_register_governors()
266 if (gov == governor) in thermal_register_governors()
268 thermal_unregister_governor(*gov); in thermal_register_governors()
676 struct thermal_governor *gov; in for_each_thermal_governor() local
680 list_for_each_entry(gov, &thermal_governor_list, governor_list) { in for_each_thermal_governor()
681 ret = cb(gov, data); in for_each_thermal_governor()