Lines Matching defs:table
61 * Multiple devices can point to the same OPP table and
65 * OPP table contains a "opp-shared" property.
107 /* The caller must call dev_pm_opp_put_opp_table() after the table is used */
173 dev_err(dev, "Empty OPP table\n");
245 /* Get OPP table node */
365 dev_err(dev, "OPP table empty\n");
629 * dev_pm_opp_of_remove_table() - Free OPP table entries created from static DT
631 * @dev: device pointer used to lookup OPP table.
641 static int _read_bw(struct dev_pm_opp *new_opp, struct opp_table *table, struct device_node *np, bool peak)
654 if (table->path_count != count) {
655 pr_err("%s: Mismatch between %s and paths (%d %d)\n", __func__, name, count, table->path_count);
683 static int _read_opp_key(struct dev_pm_opp *new_opp, struct opp_table *table, struct device_node *np,
707 ret = _read_bw(new_opp, table, np, true);
710 ret = _read_bw(new_opp, table, np, false);
731 * @opp_table: OPP table
735 * This function adds an opp definition to the opp table and returns status. The
855 /* OPP table is already initialized for the device */
866 /* We have opp-table node now, iterate over it and add OPPs */
937 dev_err(dev, "%s: Invalid OPP table\n", __func__);
964 * dev_pm_opp_of_add_table() - Initialize opp table from device tree
965 * @dev: device pointer used to lookup OPP table.
967 * Register the initial OPP table with the OPP library for given device.
978 * -EINVAL when invalid entries are found in opp-v2 table
1009 * dev_pm_opp_of_add_table_indexed() - Initialize indexed opp table from device tree
1010 * @dev: device pointer used to lookup OPP table.
1013 * Register the initial OPP table with the OPP library for given device only
1025 * -EINVAL when invalid entries are found in opp-v2 table
1034 * If only one phandle is present, then the same OPP table
1060 * dev_pm_opp_of_cpumask_remove_table() - Removes OPP table for @cpumask
1061 * @cpumask: cpumask for which OPP table needs to be removed
1073 * dev_pm_opp_of_cpumask_add_table() - Adds OPP table for @cpumask
1074 * @cpumask: cpumask for which OPP table needs to be added.
1102 pr_debug("%s: couldn't find opp table for cpu:%d, %d\n", __func__, cpu, ret);
1215 pr_err("%s: Failed to find required OPP table %pOF: %ld\n", __func__, np, PTR_ERR(opp_table));