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 45 mutex_lock(&opp_table->lock); in _find_opp_dev() 46 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in _find_opp_dev() 52 mutex_unlock(&opp_table->lock); in _find_opp_dev() 56 static struct opp_table *_find_opp_table_unlocked(struct device *dev) in _find_opp_table_unlocked() 58 struct opp_table *opp_table; in _find_opp_table_unlocked() local 83 struct opp_table *opp_table; _find_opp_table() local 104 assert_single_clk(struct opp_table * opp_table) assert_single_clk() argument 278 struct opp_table *opp_table; dev_pm_opp_get_max_clock_latency() local 301 struct opp_table *opp_table; dev_pm_opp_get_max_volt_latency() local 387 struct opp_table *opp_table; dev_pm_opp_get_suspend_opp_freq() local 403 _get_opp_count(struct opp_table * opp_table) _get_opp_count() argument 429 struct opp_table *opp_table; dev_pm_opp_get_opp_count() local 497 _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)) _opp_table_find_key() argument 502 _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)) _opp_table_find_key() argument 535 _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)) _find_key() argument 537 struct opp_table *opp_table; _find_key() local 558 _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)) _find_key_exact() argument 568 _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)) _opp_table_find_key_ceil() argument 571 _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)) _opp_table_find_key_ceil() argument 580 _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)) _find_key_ceil() argument 589 _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)) _find_key_floor() argument 654 _find_freq_ceil(struct opp_table * opp_table,unsigned long * freq) _find_freq_ceil() argument 904 _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 937 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 996 _set_opp_bw(const struct opp_table * opp_table,struct dev_pm_opp * opp,struct device * dev) _set_opp_bw() argument 1043 _opp_set_required_opps_generic(struct device * dev,struct opp_table * opp_table,struct dev_pm_opp * opp,bool scaling_down) _opp_set_required_opps_generic() argument 1050 _opp_set_required_opps_genpd(struct device * dev,struct opp_table * opp_table,struct dev_pm_opp * opp,bool scaling_down) _opp_set_required_opps_genpd() argument 1083 _set_required_opps(struct device * dev,struct opp_table * opp_table,struct dev_pm_opp * opp,bool up) _set_required_opps() argument 1097 _update_set_required_opps(struct opp_table * opp_table) _update_set_required_opps() argument 1110 _find_current_opp(struct device * dev,struct opp_table * opp_table) _find_current_opp() argument 1135 _disable_opp_table(struct device * dev,struct opp_table * opp_table) _disable_opp_table() argument 1163 _set_opp(struct device * dev,struct opp_table * opp_table,struct dev_pm_opp * opp,void * clk_data,bool forced) _set_opp() argument 1274 struct opp_table *opp_table; dev_pm_opp_set_rate() local 1351 struct opp_table *opp_table; dev_pm_opp_set_opp() local 1369 _remove_opp_dev(struct opp_device * opp_dev,struct opp_table * opp_table) _remove_opp_dev() argument 1377 _add_opp_dev(const struct device * dev,struct opp_table * opp_table) _add_opp_dev() argument 1400 struct opp_table *opp_table; _allocate_opp_table() local 1456 _get_opp_table_kref(struct opp_table * opp_table) _get_opp_table_kref() argument 1462 _update_opp_table_clk(struct device * dev,struct opp_table * opp_table,bool getclk) _update_opp_table_clk() argument 1528 struct opp_table *opp_table; _add_opp_table_indexed() local 1589 struct opp_table *opp_table = container_of(kref, struct opp_table, kref); _opp_table_kref_release() local 1622 dev_pm_opp_put_opp_table(struct opp_table * opp_table) dev_pm_opp_put_opp_table() argument 1637 struct opp_table *opp_table = opp->opp_table; _opp_kref_release() local 1673 struct opp_table *opp_table; dev_pm_opp_remove() local 1709 _opp_get_next(struct opp_table * opp_table,bool dynamic) _opp_get_next() argument 1735 _opp_remove_all(struct opp_table * opp_table,bool dynamic) _opp_remove_all() argument 1749 _opp_remove_all_static(struct opp_table * opp_table) _opp_remove_all_static() argument 1777 struct opp_table *opp_table; dev_pm_opp_remove_all_dynamic() local 1790 _opp_allocate(struct opp_table * opp_table) _opp_allocate() argument 1821 _opp_supported_by_regulators(struct dev_pm_opp * opp,struct opp_table * opp_table) _opp_supported_by_regulators() argument 1845 _opp_compare_rate(struct opp_table * opp_table,struct dev_pm_opp * opp1,struct dev_pm_opp * opp2) _opp_compare_rate() argument 1859 _opp_compare_bw(struct opp_table * opp_table,struct dev_pm_opp * opp1,struct dev_pm_opp * opp2) _opp_compare_bw() argument 1879 _opp_compare_key(struct opp_table * opp_table,struct dev_pm_opp * opp1,struct dev_pm_opp * opp2) _opp_compare_key() argument 1900 _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 1964 _opp_add(struct device * dev,struct dev_pm_opp * new_opp,struct opp_table * opp_table) _opp_add() argument 2023 _opp_add_v1(struct opp_table * opp_table,struct device * dev,unsigned long freq,long u_volt,bool dynamic) _opp_add_v1() argument 2078 _opp_set_supported_hw(struct opp_table * opp_table,const u32 * versions,unsigned int count) _opp_set_supported_hw() argument 2103 _opp_put_supported_hw(struct opp_table * opp_table) _opp_put_supported_hw() argument 2122 _opp_set_prop_name(struct opp_table * opp_table,const char * name) _opp_set_prop_name() argument 2142 _opp_put_prop_name(struct opp_table * opp_table) _opp_put_prop_name() argument 2162 _opp_set_regulators(struct opp_table * opp_table,struct device * dev,const char * const names[]) _opp_set_regulators() argument 2221 _opp_put_regulators(struct opp_table * opp_table) _opp_put_regulators() argument 2241 _put_clks(struct opp_table * opp_table,int count) _put_clks() argument 2265 _opp_set_clknames(struct opp_table * opp_table,struct device * dev,const char * const names[],config_clks_t config_clks) _opp_set_clknames() argument 2344 _opp_put_clknames(struct opp_table * opp_table) _opp_put_clknames() argument 2364 _opp_set_config_regulators_helper(struct opp_table * opp_table,struct device * dev,config_regulators_t config_regulators) _opp_set_config_regulators_helper() argument 2381 _opp_put_config_regulators_helper(struct opp_table * opp_table) _opp_put_config_regulators_helper() argument 2387 _detach_genpd(struct opp_table * opp_table) _detach_genpd() argument 2428 _opp_attach_genpd(struct opp_table * opp_table,struct device * dev,const char * const * names,struct device *** virt_devs) _opp_attach_genpd() argument 2494 _opp_detach_genpd(struct opp_table * opp_table) _opp_detach_genpd() argument 2543 struct opp_table *opp_table; dev_pm_opp_set_config() local 2846 struct opp_table *opp_table; dev_pm_opp_add() local 2880 struct opp_table *opp_table; _opp_set_availability() local 2956 struct opp_table *opp_table; dev_pm_opp_adjust_voltage() local 3062 struct opp_table *opp_table; dev_pm_opp_register_notifier() local 3087 struct opp_table *opp_table; dev_pm_opp_unregister_notifier() local 3111 struct opp_table *opp_table; dev_pm_opp_remove_table() local 3148 struct opp_table *opp_table; dev_pm_opp_sync_regulators() 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 _get_opp_table_kref(opp_table); in _managed_opp() 65 managed_table = opp_table; in _managed_opp() 78 static struct dev_pm_opp *_find_opp_of_np(struct opp_table *opp_table, in _find_opp_of_np() argument 107 struct opp_table *opp_table; _find_table_of_opp_np() local 132 _opp_table_free_required_tables(struct opp_table * opp_table) _opp_table_free_required_tables() argument 161 _opp_table_alloc_required_tables(struct opp_table * opp_table,struct device * dev,struct device_node * opp_np) _opp_table_alloc_required_tables() argument 223 _of_init_opp_table(struct opp_table * opp_table,struct device * dev,int index) _of_init_opp_table() argument 262 _of_clear_opp_table(struct opp_table * opp_table) _of_clear_opp_table() argument 272 _of_opp_free_required_opps(struct opp_table * opp_table,struct dev_pm_opp * opp) _of_opp_free_required_opps() argument 293 _of_clear_opp(struct opp_table * opp_table,struct dev_pm_opp * opp) _of_clear_opp() argument 300 _of_opp_alloc_required_opps(struct opp_table * opp_table,struct dev_pm_opp * opp) _of_opp_alloc_required_opps() argument 350 lazy_link_required_opps(struct opp_table * opp_table,struct opp_table * new_table,int index) lazy_link_required_opps() argument 377 struct opp_table *opp_table, *temp, **required_opp_tables; lazy_link_required_opp_table() local 440 _bandwidth_supported(struct device * dev,struct opp_table * opp_table) _bandwidth_supported() argument 478 dev_pm_opp_of_find_icc_paths(struct device * dev,struct opp_table * opp_table) dev_pm_opp_of_find_icc_paths() argument 537 _opp_is_supported(struct device * dev,struct opp_table * opp_table,struct device_node * np) _opp_is_supported() argument 594 _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 657 opp_parse_microvolt(struct dev_pm_opp * opp,struct device * dev,struct opp_table * opp_table,bool * triplet) opp_parse_microvolt() argument 685 opp_parse_supplies(struct dev_pm_opp * opp,struct device * dev,struct opp_table * opp_table) opp_parse_supplies() argument 758 _read_rate(struct dev_pm_opp * new_opp,struct opp_table * opp_table,struct device_node * np) _read_rate() argument 802 _read_bw(struct dev_pm_opp * new_opp,struct opp_table * opp_table,struct device_node * np,bool peak) _read_bw() argument 844 _read_opp_key(struct dev_pm_opp * new_opp,struct opp_table * opp_table,struct device_node * np) _read_opp_key() argument 903 _opp_add_static_v2(struct opp_table * opp_table,struct device * dev,struct device_node * np) _opp_add_static_v2() argument 992 _of_add_opp_table_v2(struct device * dev,struct opp_table * opp_table) _of_add_opp_table_v2() argument 1041 _of_add_opp_table_v1(struct device * dev,struct opp_table * opp_table) _of_add_opp_table_v1() argument 1102 struct opp_table *opp_table; _of_add_table_indexed() local 1374 struct opp_table *opp_table; of_get_required_opp_performance_state() local [all...] |