Home
last modified time | relevance | path

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

/components/drivers/thermal/
A Dthermal.c426 if (!gov || !gov->name || !gov->tuning) in rt_thermal_cooling_governor_register()
431 rt_list_init(&gov->list); in rt_thermal_cooling_governor_register()
432 rt_list_init(&gov->cdev_nodes); in rt_thermal_cooling_governor_register()
455 if (!gov) in rt_thermal_cooling_governor_unregister()
460 if (gov == &dumb_governor) in rt_thermal_cooling_governor_unregister()
467 if (!rt_list_isempty(&gov->cdev_nodes)) in rt_thermal_cooling_governor_unregister()
472 rt_list_remove(&gov->list); in rt_thermal_cooling_governor_unregister()
484 struct rt_thermal_cooling_governor *gov; in rt_thermal_cooling_device_change_governor() local
498 if (!rt_strcmp(gov->name, name)) in rt_thermal_cooling_device_change_governor()
500 if (cdev->gov) in rt_thermal_cooling_device_change_governor()
[all …]
/components/drivers/include/drivers/
A Dthermal.h131 struct rt_thermal_cooling_governor *gov; member
186 rt_err_t rt_thermal_cooling_governor_register(struct rt_thermal_cooling_governor *gov);
187 rt_err_t rt_thermal_cooling_governor_unregister(struct rt_thermal_cooling_governor *gov);

Completed in 5 milliseconds