Lines Matching refs:dev_pm_opp

126 unsigned long dev_pm_opp_get_bw(struct dev_pm_opp *opp, bool peak, int index)  in dev_pm_opp_get_bw()
152 unsigned long dev_pm_opp_get_voltage(struct dev_pm_opp *opp) in dev_pm_opp_get_voltage()
174 int dev_pm_opp_get_supplies(struct dev_pm_opp *opp, in dev_pm_opp_get_supplies()
197 unsigned long dev_pm_opp_get_power(struct dev_pm_opp *opp) in dev_pm_opp_get_power()
222 unsigned long dev_pm_opp_get_freq_indexed(struct dev_pm_opp *opp, u32 index) in dev_pm_opp_get_freq_indexed()
240 unsigned int dev_pm_opp_get_level(struct dev_pm_opp *opp) in dev_pm_opp_get_level()
260 unsigned int dev_pm_opp_get_required_pstate(struct dev_pm_opp *opp, in dev_pm_opp_get_required_pstate()
293 bool dev_pm_opp_is_turbo(struct dev_pm_opp *opp) in dev_pm_opp_is_turbo()
330 struct dev_pm_opp *opp; in dev_pm_opp_get_max_volt_latency()
430 struct dev_pm_opp *opp; in _get_opp_count()
466 static unsigned long _read_freq(struct dev_pm_opp *opp, int index) in _read_freq()
471 static unsigned long _read_level(struct dev_pm_opp *opp, int index) in _read_level()
476 static unsigned long _read_bw(struct dev_pm_opp *opp, int index) in _read_bw()
481 static unsigned long _read_opp_key(struct dev_pm_opp *opp, int index, in _read_opp_key()
492 static bool _compare_exact(struct dev_pm_opp **opp, struct dev_pm_opp *temp_opp, in _compare_exact()
503 static bool _compare_ceil(struct dev_pm_opp **opp, struct dev_pm_opp *temp_opp, in _compare_ceil()
514 static bool _compare_floor(struct dev_pm_opp **opp, struct dev_pm_opp *temp_opp, in _compare_floor()
524 static bool _compare_opp_key_exact(struct dev_pm_opp **opp, in _compare_opp_key_exact()
525 struct dev_pm_opp *temp_opp, struct dev_pm_opp_key *opp_key, in _compare_opp_key_exact()
541 static struct dev_pm_opp *_opp_table_find_key(struct opp_table *opp_table, in _opp_table_find_key()
543 unsigned long (*read)(struct dev_pm_opp *opp, int index), in _opp_table_find_key()
544 bool (*compare)(struct dev_pm_opp **opp, struct dev_pm_opp *temp_opp, in _opp_table_find_key()
548 struct dev_pm_opp *temp_opp, *opp = ERR_PTR(-ERANGE); in _opp_table_find_key()
572 static struct dev_pm_opp *_opp_table_find_opp_key(struct opp_table *opp_table, in _opp_table_find_opp_key()
574 unsigned long (*read)(struct dev_pm_opp *opp, int index, in _opp_table_find_opp_key()
576 bool (*compare)(struct dev_pm_opp **opp, struct dev_pm_opp *temp_opp, in _opp_table_find_opp_key()
580 struct dev_pm_opp *temp_opp, *opp = ERR_PTR(-ERANGE); in _opp_table_find_opp_key()
603 static struct dev_pm_opp *
605 unsigned long (*read)(struct dev_pm_opp *opp, int index), in _find_key()
606 bool (*compare)(struct dev_pm_opp **opp, struct dev_pm_opp *temp_opp, in _find_key()
623 static struct dev_pm_opp *_find_key_exact(struct device *dev, in _find_key_exact()
625 unsigned long (*read)(struct dev_pm_opp *opp, int index), in _find_key_exact()
636 static struct dev_pm_opp *_opp_table_find_key_ceil(struct opp_table *opp_table, in _opp_table_find_key_ceil()
638 unsigned long (*read)(struct dev_pm_opp *opp, int index), in _opp_table_find_key_ceil()
645 static struct dev_pm_opp *_find_key_ceil(struct device *dev, unsigned long *key, in _find_key_ceil()
647 unsigned long (*read)(struct dev_pm_opp *opp, int index), in _find_key_ceil()
654 static struct dev_pm_opp *_find_key_floor(struct device *dev, in _find_key_floor()
656 unsigned long (*read)(struct dev_pm_opp *opp, int index), in _find_key_floor()
686 struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev, in dev_pm_opp_find_freq_exact()
718 struct dev_pm_opp *dev_pm_opp_find_key_exact(struct device *dev, in dev_pm_opp_find_key_exact()
756 struct dev_pm_opp *
765 static noinline struct dev_pm_opp *_find_freq_ceil(struct opp_table *opp_table, in _find_freq_ceil()
790 struct dev_pm_opp *dev_pm_opp_find_freq_ceil(struct device *dev, in dev_pm_opp_find_freq_ceil()
817 struct dev_pm_opp *
844 struct dev_pm_opp *dev_pm_opp_find_freq_floor(struct device *dev, in dev_pm_opp_find_freq_floor()
871 struct dev_pm_opp *
894 struct dev_pm_opp *dev_pm_opp_find_level_exact(struct device *dev, in dev_pm_opp_find_level_exact()
916 struct dev_pm_opp *dev_pm_opp_find_level_ceil(struct device *dev, in dev_pm_opp_find_level_ceil()
920 struct dev_pm_opp *opp; in dev_pm_opp_find_level_ceil()
956 struct dev_pm_opp *dev_pm_opp_find_level_floor(struct device *dev, in dev_pm_opp_find_level_floor()
960 struct dev_pm_opp *opp; in dev_pm_opp_find_level_floor()
987 struct dev_pm_opp *dev_pm_opp_find_bw_ceil(struct device *dev, unsigned int *bw, in dev_pm_opp_find_bw_ceil()
991 struct dev_pm_opp *opp; in dev_pm_opp_find_bw_ceil()
1019 struct dev_pm_opp *dev_pm_opp_find_bw_floor(struct device *dev, in dev_pm_opp_find_bw_floor()
1023 struct dev_pm_opp *opp; in dev_pm_opp_find_bw_floor()
1059 struct dev_pm_opp *opp, void *data, bool scaling_down) in _opp_config_clk_single()
1091 struct opp_table *opp_table, struct dev_pm_opp *opp, void *data, in dev_pm_opp_config_clks_simple()
1121 struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp, in _opp_config_regulator_single()
1151 struct dev_pm_opp *opp, struct device *dev) in _set_opp_bw()
1178 static int _set_opp_level(struct device *dev, struct dev_pm_opp *opp) in _set_opp_level()
1201 struct dev_pm_opp *opp, bool up) in _set_required_opps()
1204 struct dev_pm_opp *required_opp; in _set_required_opps()
1242 struct dev_pm_opp *opp = ERR_PTR(-ENODEV); in _find_current_opp()
1258 struct dev_pm_opp, node)); in _find_current_opp()
1298 struct dev_pm_opp *opp, void *clk_data, bool forced) in _set_opp()
1300 struct dev_pm_opp *old_opp; in _set_opp()
1415 struct dev_pm_opp *opp __free(put_opp) = NULL; in dev_pm_opp_set_rate()
1481 int dev_pm_opp_set_opp(struct device *dev, struct dev_pm_opp *opp) in dev_pm_opp_set_opp()
1755 void _opp_free(struct dev_pm_opp *opp) in _opp_free()
1762 struct dev_pm_opp *opp = container_of(kref, struct dev_pm_opp, kref); in _opp_kref_release()
1778 struct dev_pm_opp *dev_pm_opp_get(struct dev_pm_opp *opp) in dev_pm_opp_get()
1785 void dev_pm_opp_put(struct dev_pm_opp *opp) in dev_pm_opp_put()
1800 struct dev_pm_opp *opp = NULL, *iter; in dev_pm_opp_remove()
1832 static struct dev_pm_opp *_opp_get_next(struct opp_table *opp_table, in _opp_get_next()
1835 struct dev_pm_opp *opp; in _opp_get_next()
1858 struct dev_pm_opp *opp; in _opp_remove_all()
1902 struct dev_pm_opp *_opp_allocate(struct opp_table *opp_table) in _opp_allocate()
1904 struct dev_pm_opp *opp; in _opp_allocate()
1934 static bool _opp_supported_by_regulators(struct dev_pm_opp *opp, in _opp_supported_by_regulators()
1960 struct dev_pm_opp *opp1, struct dev_pm_opp *opp2) in _opp_compare_rate()
1973 static int _opp_compare_bw(struct opp_table *opp_table, struct dev_pm_opp *opp1, in _opp_compare_bw()
1974 struct dev_pm_opp *opp2) in _opp_compare_bw()
1993 int _opp_compare_key(struct opp_table *opp_table, struct dev_pm_opp *opp1, in _opp_compare_key()
1994 struct dev_pm_opp *opp2) in _opp_compare_key()
2013 static int _opp_is_duplicate(struct device *dev, struct dev_pm_opp *new_opp, in _opp_is_duplicate()
2017 struct dev_pm_opp *opp; in _opp_is_duplicate()
2052 void _required_opps_available(struct dev_pm_opp *opp, int count) in _required_opps_available()
2077 int _opp_add(struct device *dev, struct dev_pm_opp *new_opp, in _opp_add()
2137 struct dev_pm_opp *new_opp; in _opp_add_v1()
2719 struct dev_pm_opp *dev_pm_opp_xlate_required_opp(struct opp_table *src_table, in dev_pm_opp_xlate_required_opp()
2721 struct dev_pm_opp *src_opp) in dev_pm_opp_xlate_required_opp()
2723 struct dev_pm_opp *opp, *dest_opp = ERR_PTR(-ENODEV); in dev_pm_opp_xlate_required_opp()
2775 struct dev_pm_opp *opp; in dev_pm_opp_xlate_performance_state()
2874 struct dev_pm_opp *opp __free(put_opp) = ERR_PTR(-ENODEV), *tmp_opp; in _opp_set_availability()
2936 struct dev_pm_opp *opp __free(put_opp) = ERR_PTR(-ENODEV), *tmp_opp; in dev_pm_opp_adjust_voltage()