Lines Matching full:em

171  * em_table_free() - Handles safe free of the EM table when needed
172 * @table : EM table which is going to be freed
182 * em_table_alloc() - Allocate a new EM table
183 * @pd : EM performance domain for which this must be done
185 * Allocate a new EM table and initialize its kref to indicate that it
220 * boot time, but the EM will be updated a bit later with correct one. in em_init_performance()
247 dev_err(dev, "EM: invalid cost %lu %d\n", in em_compute_costs()
261 dev_dbg(dev, "EM: OPP:%lu is inefficient\n", in em_compute_costs()
272 * em_dev_compute_costs() - Calculate cost values for new runtime EM table
273 * @dev : Device for which the EM table is to be updated
274 * @table : The new EM table that is going to get the costs calculated
277 * Calculate the em_perf_state::cost values for new runtime EM table. The
280 * successfully the EM table is ready to be updated and used by EAS.
291 * em_dev_update_perf_domain() - Update runtime EM table for a device
292 * @dev : Device for which the EM is to be updated
293 * @new_table : The new EM table that is going to be used from now
295 * Update EM runtime modifiable table for the @dev using the provided @table.
353 dev_err(dev, "EM: invalid perf. state: %d\n", in em_create_perf_table()
363 dev_err(dev, "EM: non-increasing freq: %lu\n", in em_create_perf_table()
373 dev_err(dev, "EM: invalid power: %lu\n", in em_create_perf_table()
406 dev_err(dev, "EM: too many CPUs, overflow possible\n"); in em_create_pd()
464 dev_warn(dev, "EM: No online CPU for CPUFreq policy\n"); in em_cpufreq_update_efficiencies()
470 dev_warn(dev, "EM: Access to CPUFreq policy failed\n"); in em_cpufreq_update_efficiencies()
489 * will be skipped. The EM can do the same. in em_cpufreq_update_efficiencies()
530 * em_dev_register_perf_domain() - Register the Energy Model (EM) for a device
531 * @dev : Device for which the EM is to register
544 * sub-systems might rely on this flag and check if all devices in the EM are
571 * @microwatts : Whether or not the power values in the EM will be in uW
601 dev_err(dev, "EM: invalid CPU mask\n"); in em_dev_register_pd_no_update()
608 dev_err(dev, "EM: exists for CPU%d\n", cpu); in em_dev_register_pd_no_update()
619 dev_err(dev, "EM: CPUs of %*pbl must have the same capacity\n", in em_dev_register_pd_no_update()
635 * EM only supports uW (exception is artificial EM). in em_dev_register_pd_no_update()
640 dev_err(dev, "EM: only supports uW power values\n"); in em_dev_register_pd_no_update()
658 dev_info(dev, "EM: created perf domain\n"); in em_dev_register_pd_no_update()
668 * em_dev_unregister_perf_domain() - Unregister Energy Model (EM) for a device
669 * @dev : Device for which the EM is registered
671 * Unregister the EM for the specified @dev (but not a CPU device).
739 * The EM framework has incremented the usage counter and from now in em_recalc_and_update()
772 dev_warn(dev, "EM: allocation failed\n"); in em_adjust_new_capacity()
782 * em_adjust_cpu_capacity() - Adjust the EM for a CPU after a capacity update.
785 * Adjust the existing EM for @cpu after a capacity update under the assumption
809 /* Check if CPUs capacity has changed than update EM */ in em_check_capacity_update()
852 * This function allows to update easily the EM with new values available in
873 dev_warn(dev, "EM: allocation failed\n"); in em_dev_update_chip_binning()
899 * @pd : Performance Domain with EM that has to be updated.
903 * This function allows to update the EM with information about available