Lines Matching defs:table
25 * dev_pm_opp_init_cpufreq_table() - create a cpufreq table for a device
27 * @table: Cpufreq table returned back to caller
29 * Generate a cpufreq table for a provided device- this assumes that the
30 * opp table is already initialized and ready for usage.
32 * This function allocates required memory for the cpufreq table. It is
34 * the table as required.
37 * if no memory available for the operation (table is not populated), returns 0
38 * if successful and table is populated.
41 * the table if any of the mentioned functions have been invoked in the interim.
44 struct cpufreq_frequency_table **table)
79 *table = &freq_table[0];
90 * dev_pm_opp_free_cpufreq_table() - free the cpufreq table
92 * @table: table to free
94 * Free up the table allocated by dev_pm_opp_init_cpufreq_table
97 struct cpufreq_frequency_table **table)
99 if (!table)
102 kfree(*table);
103 *table = NULL;
132 * dev_pm_opp_cpumask_remove_table() - Removes OPP table for @cpumask
133 * @cpumask: cpumask for which OPP table needs to be removed
146 * dev_pm_opp_set_sharing_cpus() - Mark OPP table as shared by few CPUs
148 * @cpumask: cpumask of the CPUs which share the OPP table with @cpu_dev
150 * This marks OPP table of the @cpu_dev as shared by the CPUs present in
153 * Returns -ENODEV if OPP table isn't already present.
185 /* Mark opp-table as multiple CPUs are sharing it now */
202 * Returns -ENODEV if OPP table isn't already present and -EINVAL if the OPP
203 * table's status is access-unknown.