Lines Matching defs:opp_table

40 static bool _find_opp_dev(const struct device *dev, struct opp_table *opp_table)  in _find_opp_dev()
55 struct opp_table *opp_table; in _find_opp_table_unlocked() local
94 static bool assert_single_clk(struct opp_table *opp_table, in assert_single_clk()
103 static bool assert_clk_index(struct opp_table *opp_table, in assert_clk_index()
112 static bool assert_bandwidth_index(struct opp_table *opp_table, in assert_bandwidth_index()
426 int _get_opp_count(struct opp_table *opp_table) in _get_opp_count()
513 static struct dev_pm_opp *_opp_table_find_key(struct opp_table *opp_table, in _opp_table_find_key()
518 bool (*assert)(struct opp_table *opp_table, unsigned int index)) in _opp_table_find_key()
549 bool (*assert)(struct opp_table *opp_table, unsigned int index)) in _find_key()
567 bool (*assert)(struct opp_table *opp_table, unsigned int index)) in _find_key_exact()
577 static struct dev_pm_opp *_opp_table_find_key_ceil(struct opp_table *opp_table, in _opp_table_find_key_ceil()
580 bool (*assert)(struct opp_table *opp_table, unsigned int index)) in _opp_table_find_key_ceil()
589 bool (*assert)(struct opp_table *opp_table, unsigned int index)) in _find_key_ceil()
598 bool (*assert)(struct opp_table *opp_table, unsigned int index)) in _find_key_floor()
664 static noinline struct dev_pm_opp *_find_freq_ceil(struct opp_table *opp_table, in _find_freq_ceil()
957 _opp_config_clk_single(struct device *dev, struct opp_table *opp_table, in _opp_config_clk_single()
990 struct opp_table *opp_table, struct dev_pm_opp *opp, void *data, in dev_pm_opp_config_clks_simple()
1049 static int _set_opp_bw(const struct opp_table *opp_table, in _set_opp_bw()
1099 static int _set_required_opps(struct device *dev, struct opp_table *opp_table, in _set_required_opps()
1139 static void _find_current_opp(struct device *dev, struct opp_table *opp_table) in _find_current_opp()
1163 static int _disable_opp_table(struct device *dev, struct opp_table *opp_table) in _disable_opp_table()
1196 static int _set_opp(struct device *dev, struct opp_table *opp_table, in _set_opp()
1395 struct opp_table *opp_table) in _remove_opp_dev()
1403 struct opp_table *opp_table) in _add_opp_dev()
1425 struct opp_table *opp_table; in _allocate_opp_table() local
1480 struct opp_table *opp_table, in _update_opp_table_clk()
1546 struct opp_table *opp_table; in _add_opp_table_indexed() local
1607 struct opp_table *opp_table = container_of(kref, struct opp_table, kref); in _opp_table_kref_release() local
1639 struct opp_table *dev_pm_opp_get_opp_table_ref(struct opp_table *opp_table) in dev_pm_opp_get_opp_table_ref()
1646 void dev_pm_opp_put_opp_table(struct opp_table *opp_table) in dev_pm_opp_put_opp_table()
1661 struct opp_table *opp_table = opp->opp_table; in _opp_kref_release() local
1729 static struct dev_pm_opp *_opp_get_next(struct opp_table *opp_table, in _opp_get_next()
1753 static void _opp_remove_all(struct opp_table *opp_table, bool dynamic) in _opp_remove_all()
1767 bool _opp_remove_all_static(struct opp_table *opp_table) in _opp_remove_all_static()
1799 struct dev_pm_opp *_opp_allocate(struct opp_table *opp_table) in _opp_allocate()
1832 struct opp_table *opp_table) in _opp_supported_by_regulators()
1856 static int _opp_compare_rate(struct opp_table *opp_table, in _opp_compare_rate()
1870 static int _opp_compare_bw(struct opp_table *opp_table, struct dev_pm_opp *opp1, in _opp_compare_bw()
1890 int _opp_compare_key(struct opp_table *opp_table, struct dev_pm_opp *opp1, in _opp_compare_key()
1911 struct opp_table *opp_table, in _opp_is_duplicate()
1975 struct opp_table *opp_table) in _opp_add()
2031 int _opp_add_v1(struct opp_table *opp_table, struct device *dev, in _opp_add_v1()
2083 static int _opp_set_supported_hw(struct opp_table *opp_table, in _opp_set_supported_hw()
2100 static void _opp_put_supported_hw(struct opp_table *opp_table) in _opp_put_supported_hw()
2115 static int _opp_set_prop_name(struct opp_table *opp_table, const char *name) in _opp_set_prop_name()
2127 static void _opp_put_prop_name(struct opp_table *opp_table) in _opp_put_prop_name()
2142 static int _opp_set_regulators(struct opp_table *opp_table, struct device *dev, in _opp_set_regulators()
2197 static void _opp_put_regulators(struct opp_table *opp_table) in _opp_put_regulators()
2217 static void _put_clks(struct opp_table *opp_table, int count) in _put_clks()
2237 static int _opp_set_clknames(struct opp_table *opp_table, struct device *dev, in _opp_set_clknames()
2312 static void _opp_put_clknames(struct opp_table *opp_table) in _opp_put_clknames()
2328 static int _opp_set_config_regulators_helper(struct opp_table *opp_table, in _opp_set_config_regulators_helper()
2338 static void _opp_put_config_regulators_helper(struct opp_table *opp_table) in _opp_put_config_regulators_helper()
2344 static int _opp_set_required_dev(struct opp_table *opp_table, in _opp_set_required_dev()
2400 static void _opp_put_required_dev(struct opp_table *opp_table, in _opp_put_required_dev()
2445 struct opp_table *opp_table; in dev_pm_opp_set_config() local
2740 struct opp_table *opp_table; in dev_pm_opp_add_dynamic() local