H A D | core.c | 26 * The root of the list of all opp-tables. All opp_table structures branch off 27 * from here, with each opp_table containing the list of opps it supports in 40 static bool _find_opp_dev(const struct device *dev, struct opp_table *opp_table) in _find_opp_dev() argument 44 guard(mutex)(&opp_table->lock); in _find_opp_dev() 46 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in _find_opp_dev() 53 static struct opp_table *_find_opp_table_unlocked(struct device *dev) in _find_opp_table_unlocked() 55 struct opp_table *opp_table; in _find_opp_table_unlocked() local 57 list_for_each_entry(opp_table, in _find_opp_table_unlocked() 94 assert_single_clk(struct opp_table * opp_table,unsigned int __always_unused index) assert_single_clk() argument 103 assert_clk_index(struct opp_table * opp_table,unsigned int index) assert_clk_index() argument 112 assert_bandwidth_index(struct opp_table * opp_table,unsigned int index) assert_bandwidth_index() argument 426 _get_opp_count(struct opp_table * opp_table) _get_opp_count() argument 513 _opp_table_find_key(struct opp_table * opp_table,unsigned long * key,int index,bool available,unsigned long (* read)(struct dev_pm_opp * opp,int index),bool (* compare)(struct dev_pm_opp ** opp,struct dev_pm_opp * temp_opp,unsigned long opp_key,unsigned long key),bool (* assert)(struct opp_table * opp_table,unsigned int index)) _opp_table_find_key() argument 518 _opp_table_find_key(struct opp_table * opp_table,unsigned long * key,int index,bool available,unsigned long (* read)(struct dev_pm_opp * opp,int index),bool (* compare)(struct dev_pm_opp ** opp,struct dev_pm_opp * temp_opp,unsigned long opp_key,unsigned long key),bool (* assert)(struct opp_table * opp_table,unsigned int index)) _opp_table_find_key() argument 549 _find_key(struct device * dev,unsigned long * key,int index,bool available,unsigned long (* read)(struct dev_pm_opp * opp,int index),bool (* compare)(struct dev_pm_opp ** opp,struct dev_pm_opp * temp_opp,unsigned long opp_key,unsigned long key),bool (* assert)(struct opp_table * opp_table,unsigned int index)) _find_key() argument 567 _find_key_exact(struct device * dev,unsigned long key,int index,bool available,unsigned long (* read)(struct dev_pm_opp * opp,int index),bool (* assert)(struct opp_table * opp_table,unsigned int index)) _find_key_exact() argument 577 _opp_table_find_key_ceil(struct opp_table * opp_table,unsigned long * key,int index,bool available,unsigned long (* read)(struct dev_pm_opp * opp,int index),bool (* assert)(struct opp_table * opp_table,unsigned int index)) _opp_table_find_key_ceil() argument 580 _opp_table_find_key_ceil(struct opp_table * opp_table,unsigned long * key,int index,bool available,unsigned long (* read)(struct dev_pm_opp * opp,int index),bool (* assert)(struct opp_table * opp_table,unsigned int index)) _opp_table_find_key_ceil() argument 589 _find_key_ceil(struct device * dev,unsigned long * key,int index,bool available,unsigned long (* read)(struct dev_pm_opp * opp,int index),bool (* assert)(struct opp_table * opp_table,unsigned int index)) _find_key_ceil() argument 598 _find_key_floor(struct device * dev,unsigned long * key,int index,bool available,unsigned long (* read)(struct dev_pm_opp * opp,int index),bool (* assert)(struct opp_table * opp_table,unsigned int index)) _find_key_floor() argument 664 _find_freq_ceil(struct opp_table * opp_table,unsigned long * freq) _find_freq_ceil() argument 957 _opp_config_clk_single(struct device * dev,struct opp_table * opp_table,struct dev_pm_opp * opp,void * data,bool scaling_down) _opp_config_clk_single() argument 990 dev_pm_opp_config_clks_simple(struct device * dev,struct opp_table * opp_table,struct dev_pm_opp * opp,void * data,bool scaling_down) dev_pm_opp_config_clks_simple() argument 1049 _set_opp_bw(const struct opp_table * opp_table,struct dev_pm_opp * opp,struct device * dev) _set_opp_bw() argument 1099 _set_required_opps(struct device * dev,struct opp_table * opp_table,struct dev_pm_opp * opp,bool up) _set_required_opps() argument 1139 _find_current_opp(struct device * dev,struct opp_table * opp_table) _find_current_opp() argument 1163 _disable_opp_table(struct device * dev,struct opp_table * opp_table) _disable_opp_table() argument 1196 _set_opp(struct device * dev,struct opp_table * opp_table,struct dev_pm_opp * opp,void * clk_data,bool forced) _set_opp() argument 1395 _remove_opp_dev(struct opp_device * opp_dev,struct opp_table * opp_table) _remove_opp_dev() argument 1403 _add_opp_dev(const struct device * dev,struct opp_table * opp_table) _add_opp_dev() argument 1425 struct opp_table *opp_table; _allocate_opp_table() local 1480 _update_opp_table_clk(struct device * dev,struct opp_table * opp_table,bool getclk) _update_opp_table_clk() argument 1546 struct opp_table *opp_table; _add_opp_table_indexed() local 1607 struct opp_table *opp_table = container_of(kref, struct opp_table, kref); _opp_table_kref_release() local 1639 dev_pm_opp_get_opp_table_ref(struct opp_table * opp_table) dev_pm_opp_get_opp_table_ref() argument 1646 dev_pm_opp_put_opp_table(struct opp_table * opp_table) dev_pm_opp_put_opp_table() argument 1661 struct opp_table *opp_table = opp->opp_table; _opp_kref_release() local 1729 _opp_get_next(struct opp_table * opp_table,bool dynamic) _opp_get_next() argument 1753 _opp_remove_all(struct opp_table * opp_table,bool dynamic) _opp_remove_all() argument 1767 _opp_remove_all_static(struct opp_table * opp_table) _opp_remove_all_static() argument 1799 _opp_allocate(struct opp_table * opp_table) _opp_allocate() argument 1832 _opp_supported_by_regulators(struct dev_pm_opp * opp,struct opp_table * opp_table) _opp_supported_by_regulators() argument 1856 _opp_compare_rate(struct opp_table * opp_table,struct dev_pm_opp * opp1,struct dev_pm_opp * opp2) _opp_compare_rate() argument 1870 _opp_compare_bw(struct opp_table * opp_table,struct dev_pm_opp * opp1,struct dev_pm_opp * opp2) _opp_compare_bw() argument 1890 _opp_compare_key(struct opp_table * opp_table,struct dev_pm_opp * opp1,struct dev_pm_opp * opp2) _opp_compare_key() argument 1911 _opp_is_duplicate(struct device * dev,struct dev_pm_opp * new_opp,struct opp_table * opp_table,struct list_head ** head) _opp_is_duplicate() argument 1975 _opp_add(struct device * dev,struct dev_pm_opp * new_opp,struct opp_table * opp_table) _opp_add() argument 2031 _opp_add_v1(struct opp_table * opp_table,struct device * dev,struct dev_pm_opp_data * data,bool dynamic) _opp_add_v1() argument 2083 _opp_set_supported_hw(struct opp_table * opp_table,const u32 * versions,unsigned int count) _opp_set_supported_hw() argument 2100 _opp_put_supported_hw(struct opp_table * opp_table) _opp_put_supported_hw() argument 2115 _opp_set_prop_name(struct opp_table * opp_table,const char * name) _opp_set_prop_name() argument 2127 _opp_put_prop_name(struct opp_table * opp_table) _opp_put_prop_name() argument 2142 _opp_set_regulators(struct opp_table * opp_table,struct device * dev,const char * const names[]) _opp_set_regulators() argument 2197 _opp_put_regulators(struct opp_table * opp_table) _opp_put_regulators() argument 2217 _put_clks(struct opp_table * opp_table,int count) _put_clks() argument 2237 _opp_set_clknames(struct opp_table * opp_table,struct device * dev,const char * const names[],config_clks_t config_clks) _opp_set_clknames() argument 2312 _opp_put_clknames(struct opp_table * opp_table) _opp_put_clknames() argument 2328 _opp_set_config_regulators_helper(struct opp_table * opp_table,struct device * dev,config_regulators_t config_regulators) _opp_set_config_regulators_helper() argument 2338 _opp_put_config_regulators_helper(struct opp_table * opp_table) _opp_put_config_regulators_helper() argument 2344 _opp_set_required_dev(struct opp_table * opp_table,struct device * dev,struct device * required_dev,unsigned int index) _opp_set_required_dev() argument 2400 _opp_put_required_dev(struct opp_table * opp_table,unsigned int index) _opp_put_required_dev() argument 2445 struct opp_table *opp_table; dev_pm_opp_set_config() local 2740 struct opp_table *opp_table; dev_pm_opp_add_dynamic() local [all...] |
H A D | of.c | 45 struct opp_table *_managed_opp(struct device *dev, int index) in _managed_opp() 47 struct opp_table *opp_table, *managed_table = NULL; in _managed_opp() local 54 list_for_each_entry(opp_table, &opp_tables, node) { in _managed_opp() 55 if (opp_table->np == np) { in _managed_opp() 63 if (opp_table->shared_opp == OPP_TABLE_ACCESS_SHARED) in _managed_opp() 64 managed_table = dev_pm_opp_get_opp_table_ref(opp_table); in _managed_opp() 74 static struct dev_pm_opp *_find_opp_of_np(struct opp_table *opp_table, in _find_opp_of_np() argument 79 guard(mutex)(&opp_table in _find_opp_of_np() 99 struct opp_table *opp_table; _find_table_of_opp_np() local 116 _opp_table_free_required_tables(struct opp_table * opp_table) _opp_table_free_required_tables() argument 144 _opp_table_alloc_required_tables(struct opp_table * opp_table,struct device * dev,struct device_node * opp_np) _opp_table_alloc_required_tables() argument 199 _of_init_opp_table(struct opp_table * opp_table,struct device * dev,int index) _of_init_opp_table() argument 236 _of_clear_opp_table(struct opp_table * opp_table) _of_clear_opp_table() argument 246 _of_opp_free_required_opps(struct opp_table * opp_table,struct dev_pm_opp * opp) _of_opp_free_required_opps() argument 267 _of_clear_opp(struct opp_table * opp_table,struct dev_pm_opp * opp) _of_clear_opp() argument 293 _of_opp_alloc_required_opps(struct opp_table * opp_table,struct dev_pm_opp * opp) _of_opp_alloc_required_opps() argument 327 lazy_link_required_opps(struct opp_table * opp_table,struct opp_table * new_table,int index) lazy_link_required_opps() argument 345 struct opp_table *opp_table, *temp, **required_opp_tables; lazy_link_required_opp_table() local 402 _bandwidth_supported(struct device * dev,struct opp_table * opp_table) _bandwidth_supported() argument 439 dev_pm_opp_of_find_icc_paths(struct device * dev,struct opp_table * opp_table) dev_pm_opp_of_find_icc_paths() argument 496 _opp_is_supported(struct device * dev,struct opp_table * opp_table,struct device_node * np) _opp_is_supported() argument 553 _parse_named_prop(struct dev_pm_opp * opp,struct device * dev,struct opp_table * opp_table,const char * prop_type,bool * triplet) _parse_named_prop() argument 616 opp_parse_microvolt(struct dev_pm_opp * opp,struct device * dev,struct opp_table * opp_table,bool * triplet) opp_parse_microvolt() argument 644 opp_parse_supplies(struct dev_pm_opp * opp,struct device * dev,struct opp_table * opp_table) opp_parse_supplies() argument 717 _read_rate(struct dev_pm_opp * new_opp,struct opp_table * opp_table,struct device_node * np) _read_rate() argument 761 _read_bw(struct dev_pm_opp * new_opp,struct opp_table * opp_table,struct device_node * np,bool peak) _read_bw() argument 803 _read_opp_key(struct dev_pm_opp * new_opp,struct opp_table * opp_table,struct device_node * np) _read_opp_key() argument 862 _opp_add_static_v2(struct opp_table * opp_table,struct device * dev,struct device_node * np) _opp_add_static_v2() argument 953 _of_add_opp_table_v2(struct device * dev,struct opp_table * opp_table) _of_add_opp_table_v2() argument 1001 _of_add_opp_table_v1(struct device * dev,struct opp_table * opp_table) _of_add_opp_table_v1() argument 1065 struct opp_table *opp_table; _of_add_table_indexed() local [all...] |