/device/soc/rockchip/common/sdk_linux/include/soc/rockchip/ |
H A D | rockchip_opp_select.h | 35 void rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np, char *lkg_name, int process, int *volt_sel, 37 void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, char *reg_name, int process, int *volt_sel, 47 int *volt_sel); 48 struct opp_table *rockchip_set_opp_prop_name(struct device *dev, int process, int volt_sel); 58 int *volt_sel, int *scale_sel) in rockchip_of_get_lkg_sel() 63 int *volt_sel, int *scale_sel) in rockchip_of_get_pvtm_sel() 96 int *scale, int *volt_sel) in rockchip_get_scale_volt_sel() 100 static inline struct opp_table *rockchip_set_opp_prop_name(struct device *dev, int process, int volt_sel) in rockchip_set_opp_prop_name() argument 57 rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np, char *lkg_name, int process, int *volt_sel, int *scale_sel) rockchip_of_get_lkg_sel() argument 62 rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, char *reg_name, int process, int *volt_sel, int *scale_sel) rockchip_of_get_pvtm_sel() argument 95 rockchip_get_scale_volt_sel(struct device *dev, char *lkg_name, char *reg_name, int bin, int process, int *scale, int *volt_sel) rockchip_get_scale_volt_sel() argument
|
/device/soc/rockchip/rk3588/kernel/include/soc/rockchip/ |
H A D | rockchip_opp_select.h | 41 int *volt_sel, int *scale_sel); 44 int *volt_sel, int *scale_sel); 59 int *scale, int *volt_sel); 61 int volt_sel); 76 int *volt_sel, int *scale_sel) in rockchip_of_get_lkg_sel() 83 int *volt_sel, int *scale_sel) in rockchip_of_get_pvtm_sel() 128 int *volt_sel) in rockchip_get_scale_volt_sel() 134 int volt_sel) in rockchip_set_opp_prop_name() 73 rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np, char *lkg_name, int process, int *volt_sel, int *scale_sel) rockchip_of_get_lkg_sel() argument 80 rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, char *reg_name, int process, int *volt_sel, int *scale_sel) rockchip_of_get_pvtm_sel() argument 125 rockchip_get_scale_volt_sel(struct device *dev, char *lkg_name, char *reg_name, int bin, int process, int *scale, int *volt_sel) rockchip_get_scale_volt_sel() argument 132 rockchip_set_opp_prop_name(struct device *dev, int process, int volt_sel) rockchip_set_opp_prop_name() argument
|
/device/soc/rockchip/common/vendor/drivers/rockchip/ |
H A D | rockchip_opp_select.c | 610 void rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np, char *lkg_name, int process, int *volt_sel,
in rockchip_of_get_lkg_sel() argument 645 if (!volt_sel) {
in rockchip_of_get_lkg_sel() 655 ret = rockchip_get_sel(np, name, leakage, volt_sel);
in rockchip_of_get_lkg_sel() 657 dev_info(dev, "leakage-volt-sel=%d\n", *volt_sel);
in rockchip_of_get_lkg_sel() 726 void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, char *reg_name, int process, int *volt_sel,
in rockchip_of_get_pvtm_sel() argument 738 if (!volt_sel) {
in rockchip_of_get_pvtm_sel() 748 ret = rockchip_get_sel(np, name, pvtm, volt_sel);
in rockchip_of_get_pvtm_sel() 749 if (!ret && volt_sel) {
in rockchip_of_get_pvtm_sel() 750 dev_info(dev, "pvtm-volt-sel=%d\n", *volt_sel);
in rockchip_of_get_pvtm_sel() 860 int *volt_sel)
in rockchip_get_scale_volt_sel() 859 rockchip_get_scale_volt_sel(struct device *dev, char *lkg_name, char *reg_name, int bin, int process, int *scale, int *volt_sel) rockchip_get_scale_volt_sel() argument 892 rockchip_set_opp_prop_name(struct device *dev, int process, int volt_sel) rockchip_set_opp_prop_name() argument 1146 int scale = 0, volt_sel = -EINVAL; rockchip_init_opp_table() local [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
H A D | rockchip_opp_select.c | 638 int *volt_sel, int *scale_sel) in rockchip_of_get_lkg_sel() 670 if (!volt_sel) in rockchip_of_get_lkg_sel() 679 ret = rockchip_get_sel(np, name, leakage, volt_sel); in rockchip_of_get_lkg_sel() 681 dev_info(dev, "leakage-volt-sel=%d\n", *volt_sel); in rockchip_of_get_lkg_sel() 749 int *volt_sel, int *scale_sel) in rockchip_of_get_pvtm_sel() 759 if (!volt_sel) in rockchip_of_get_pvtm_sel() 768 ret = rockchip_get_sel(np, name, pvtm, volt_sel); in rockchip_of_get_pvtm_sel() 769 if (!ret && volt_sel) in rockchip_of_get_pvtm_sel() 770 dev_info(dev, "pvtm-volt-sel=%d\n", *volt_sel); in rockchip_of_get_pvtm_sel() 876 int *scale, int *volt_sel) in rockchip_get_scale_volt_sel() 636 rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np, char *lkg_name, int process, int *volt_sel, int *scale_sel) rockchip_of_get_lkg_sel() argument 747 rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, char *reg_name, int process, int *volt_sel, int *scale_sel) rockchip_of_get_pvtm_sel() argument 874 rockchip_get_scale_volt_sel(struct device *dev, char *lkg_name, char *reg_name, int bin, int process, int *scale, int *volt_sel) rockchip_get_scale_volt_sel() argument 908 rockchip_set_opp_prop_name(struct device *dev, int process, int volt_sel) rockchip_set_opp_prop_name() argument 1150 int scale = 0, volt_sel = -EINVAL; rockchip_init_opp_table() local [all...] |
/device/soc/rockchip/common/vendor/drivers/cpufreq/ |
H A D | rockchip-cpufreq.c | 420 int volt_sel = -EINVAL; in rockchip_cpufreq_cluster_init() local 460 rockchip_get_scale_volt_sel(dev, "cpu_leakage", reg_name, bin, process, &cluster->scale, &volt_sel); in rockchip_cpufreq_cluster_init() 461 pname_table = rockchip_set_opp_prop_name(dev, process, volt_sel); in rockchip_cpufreq_cluster_init()
|
/device/soc/rockchip/rk3588/kernel/drivers/cpufreq/ |
H A D | rockchip-cpufreq.c | 461 int volt_sel = -EINVAL; in rockchip_cpufreq_cluster_init() local 504 &cluster->scale, &volt_sel); in rockchip_cpufreq_cluster_init() 505 pname_table = rockchip_set_opp_prop_name(dev, process, volt_sel); in rockchip_cpufreq_cluster_init()
|