Home
last modified time | relevance | path

Searched refs:governor (Results 1 - 11 of 11) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/devfreq/
H A Ddevfreq.c29 #include "governor.h"
257 * find_devfreq_governor() - find devfreq governor from name
258 * @name: name of the governor
261 * governor's pointer. devfreq_list_lock should be held by the caller.
285 * try_then_request_governor() - Try to find the governor and request the
287 * @name: name of the governor
290 * if is not found. This can happen when both drivers (the governor driver
293 * governor's pointer or an error pointer.
297 struct devfreq_governor *governor; in try_then_request_governor() local
307 governor in try_then_request_governor()
774 struct devfreq_governor *governor; devfreq_add_device() local
1196 devfreq_add_governor(struct devfreq_governor *governor) devfreq_add_governor() argument
1251 devfreq_remove_governor(struct devfreq_governor *governor) devfreq_remove_governor() argument
1320 const struct devfreq_governor *governor, *prev_governor; governor_store() local
1397 struct devfreq_governor *governor; available_governors_show() local
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/thermal/
H A Dthermal_core.c53 * the thermal core and by the thermal governor code.
71 * bind_previous_governor() - bind the previous governor of the thermal zone
73 * @failed_gov_name: the name of the governor that failed to register
75 * Register the previous governor of the thermal zone after a new
76 * governor has failed to be bound.
80 if (tz->governor && tz->governor->bind_to_tz) { in bind_previous_governor()
81 if (tz->governor->bind_to_tz(tz)) { in bind_previous_governor()
83 "governor %s failed to bind and the previous one (%s) failed to bind again, thermal zone %s has no " in bind_previous_governor()
84 "governor\ in bind_previous_governor()
122 thermal_register_governor(struct thermal_governor *governor) thermal_register_governor() argument
177 thermal_unregister_governor(struct thermal_governor *governor) thermal_unregister_governor() argument
250 struct thermal_governor **governor; thermal_unregister_governors() local
258 struct thermal_governor **governor; thermal_register_governors() local
1406 struct thermal_governor *governor; thermal_zone_device_register() local
[all...]
H A Dthermal_core.h38 #define THERMAL_GOVERNOR_DECLARE(name) THERMAL_TABLE_ENTRY(governor, name)
111 int thermal_register_governor(struct thermal_governor *governor);
112 void thermal_unregister_governor(struct thermal_governor *governor);
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
H A Dgovernor.h3 * governor.h - internal header for devfreq governors.
29 * struct devfreq_governor - Devfreq policy governor
32 * @immutable: Immutable flag for governor. If the value is 1,
33 * this governor is never changeable to other governor.
35 * governor if value is set to 1.
43 * to governors. Events include per device governor
66 int devfreq_add_governor(struct devfreq_governor *governor);
67 int devfreq_remove_governor(struct devfreq_governor *governor);
H A Dthermal_core.h39 #define THERMAL_GOVERNOR_DECLARE(name) THERMAL_TABLE_ENTRY(governor, name)
H A Drockchip_system_monitor.c1344 if (of_find_property(np, "rockchip,thermal-governor-dummy", NULL)) { in rockchip_system_monitor_parse_dt()
1345 if (monitor->tz->governor->unbind_from_tz) in rockchip_system_monitor_parse_dt()
1346 monitor->tz->governor->unbind_from_tz(monitor->tz); in rockchip_system_monitor_parse_dt()
1347 monitor->tz->governor = &thermal_gov_dummy; in rockchip_system_monitor_parse_dt()
/device/soc/rockchip/rk3588/kernel/drivers/devfreq/
H A Dgovernor.h3 * governor.h - internal header for devfreq governors.
29 * struct devfreq_governor - Devfreq policy governor
32 * @immutable: Immutable flag for governor. If the value is 1,
33 * this governor is never changeable to other governor.
35 * governor if value is set to 1.
43 * to governors. Events include per device governor
66 int devfreq_add_governor(struct devfreq_governor *governor);
67 int devfreq_remove_governor(struct devfreq_governor *governor);
/device/soc/rockchip/common/vendor/drivers/devfreq/
H A Drockchip_dmc_dbg.c188 char governor[20] = {0}; in dmcinfo_proc_show() local
243 fp = filp_open("/sys/class/devfreq/dmc/governor", O_RDONLY, 0); in dmcinfo_proc_show()
248 kernel_read(fp, governor, sizeof(governor), &pos); in dmcinfo_proc_show()
255 "governor: %s\n" in dmcinfo_proc_show()
257 governor, cur_freq); in dmcinfo_proc_show()
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dthermal.h130 * step-wise governor.
134 * @governor: pointer to the governor for this thermal zone
135 * @governor_data: private pointer for governor data
168 struct thermal_governor *governor; member
179 * struct thermal_governor - structure that holds thermal governor information
180 * @name: name of the governor
182 * returns 0, the governor is bound to the thermal zone,
184 * @unbind_from_tz: callback called when a governor is unbound from a
/device/soc/rockchip/common/vendor/drivers/rockchip/
H A Drockchip_system_monitor.c1328 if (of_find_property(np, "rockchip,thermal-governor-dummy", NULL)) { in rockchip_system_monitor_parse_dt()
1329 if (monitor->tz->governor->unbind_from_tz) { in rockchip_system_monitor_parse_dt()
1330 monitor->tz->governor->unbind_from_tz(monitor->tz); in rockchip_system_monitor_parse_dt()
1332 monitor->tz->governor = &thermal_gov_dummy; in rockchip_system_monitor_parse_dt()
/device/soc/rockchip/common/sdk_linux/kernel/sched/
H A Dtopology.c398 gov = policy->governor; in build_perf_domains()

Completed in 13 milliseconds