Lines Matching full:em

183  * em_table_free() - Handles safe free of the EM table when needed
184 * @table : EM table which is going to be freed
194 * em_table_alloc() - Allocate a new EM table
195 * @pd : EM performance domain for which this must be done
197 * Allocate a new EM table and initialize its kref to indicate that it
232 * boot time, but the EM will be updated a bit later with correct one. in em_init_performance()
255 dev_err(dev, "EM: invalid cost %lu %d\n", in em_compute_costs()
269 dev_dbg(dev, "EM: OPP:%lu is inefficient\n", in em_compute_costs()
280 * em_dev_compute_costs() - Calculate cost values for new runtime EM table
281 * @dev : Device for which the EM table is to be updated
282 * @table : The new EM table that is going to get the costs calculated
285 * Calculate the em_perf_state::cost values for new runtime EM table. The
288 * successfully the EM table is ready to be updated and used by EAS.
299 * em_dev_update_perf_domain() - Update runtime EM table for a device
300 * @dev : Device for which the EM is to be updated
301 * @new_table : The new EM table that is going to be used from now
303 * Update EM runtime modifiable table for the @dev using the provided @table.
360 dev_err(dev, "EM: invalid perf. state: %d\n", in em_create_perf_table()
370 dev_err(dev, "EM: non-increasing freq: %lu\n", in em_create_perf_table()
380 dev_err(dev, "EM: invalid power: %lu\n", in em_create_perf_table()
412 dev_err(dev, "EM: too many CPUs, overflow possible\n"); in em_create_pd()
470 dev_warn(dev, "EM: No online CPU for CPUFreq policy\n"); in em_cpufreq_update_efficiencies()
476 dev_warn(dev, "EM: Access to CPUFreq policy failed\n"); in em_cpufreq_update_efficiencies()
495 * will be skipped. The EM can do the same. in em_cpufreq_update_efficiencies()
536 * em_dev_register_perf_domain() - Register the Energy Model (EM) for a device
537 * @dev : Device for which the EM is to register
550 * sub-systems might rely on this flag and check if all devices in the EM are
582 dev_err(dev, "EM: invalid CPU mask\n"); in em_dev_register_perf_domain()
589 dev_err(dev, "EM: exists for CPU%d\n", cpu); in em_dev_register_perf_domain()
600 dev_err(dev, "EM: CPUs of %*pbl must have the same capacity\n", in em_dev_register_perf_domain()
616 * EM only supports uW (exception is artificial EM). in em_dev_register_perf_domain()
621 dev_err(dev, "EM: only supports uW power values\n"); in em_dev_register_perf_domain()
637 dev_info(dev, "EM: created perf domain\n"); in em_dev_register_perf_domain()
650 * em_dev_unregister_perf_domain() - Unregister Energy Model (EM) for a device
651 * @dev : Device for which the EM is registered
653 * Unregister the EM for the specified @dev (but not a CPU device).
718 * The EM framework has incremented the usage counter and from now in em_recalc_and_update()
738 dev_warn(dev, "EM: allocation failed\n"); in em_adjust_new_capacity()
760 /* Check if CPUs capacity has changed than update EM */ in em_check_capacity_update()
819 * This function allows to update easily the EM with new values available in
840 dev_warn(dev, "EM: allocation failed\n"); in em_dev_update_chip_binning()
866 * @pd : Performance Domain with EM that has to be updated.
870 * This function allows to update the EM with information about available