Home
last modified time | relevance | path

Searched refs:get_cost (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/Documentation/translations/zh_CN/power/
Denergy-model.rst118 定义回调。回调.get_cost()是可选的,它提供EAS使用的“成本”值。这对那些只提
121 进去。.get_cost()允许提供反映CPU效率的“成本”值。这将允许提供EAS信息,它
123 将标志“microwatts”设置为0,提供.get_power()回调和.get_cost()回调。EM
/linux-6.6.21/include/linux/
Denergy_model.h159 int (*get_cost)(struct device *dev, unsigned long freq, member
165 .get_cost = _cost_cb }
/linux-6.6.21/kernel/power/
Denergy_model.c163 ret = cb->get_cost(dev, table[i].frequency, &cost); in em_create_perf_table()
391 else if (cb->get_cost) in em_dev_register_perf_domain()
/linux-6.6.21/Documentation/power/
Denergy-model.rst131 .get_cost() is optional and provides the 'cost' values used by the EAS.
136 The .get_cost() allows to provide the 'cost' values which reflect the
141 and provide .get_cost() callback. The EM framework would handle such platform