Searched refs:get_cost (Results 1 – 4 of 4) sorted by relevance
118 定义回调。回调.get_cost()是可选的,它提供EAS使用的“成本”值。这对那些只提121 进去。.get_cost()允许提供反映CPU效率的“成本”值。这将允许提供EAS信息,它123 将标志“microwatts”设置为0,提供.get_power()回调和.get_cost()回调。EM
159 int (*get_cost)(struct device *dev, unsigned long freq, member165 .get_cost = _cost_cb }
163 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()
131 .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 the141 and provide .get_cost() callback. The EM framework would handle such platform