Home
last modified time | relevance | path

Searched refs:volt (Results 1 – 23 of 23) sorted by relevance

/rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8189/
H A Dmt_spm_pmic_lp.c30 #define VCORE_TO_PMIC_VAL(volt) (((volt) - VCORE_BASE_UV + 625 - 1) / 625) argument
38 #define VSRAM_CORE_TO_PMIC_VAL(volt) (((volt) - VSRAM_CORE_BASE_UV + 625 - 1) / 625) argument
150 void set_vcore_lp_volt(uint32_t volt) in set_vcore_lp_volt() argument
153 if (volt < VCORE_0_45V) in set_vcore_lp_volt()
155 if (volt > VCORE_0_75V) in set_vcore_lp_volt()
157 vcore_suspend_vol = volt; in set_vcore_lp_volt()
175 void set_vsram_lp_volt(uint32_t volt) in set_vsram_lp_volt() argument
178 if (volt > VSRAM_CORE_0_75V) in set_vsram_lp_volt()
180 vcore_sram_suspend_vol = volt; in set_vsram_lp_volt()
H A Dmt_spm_pmic_lp.h45 void set_vcore_lp_volt(unsigned int volt);
50 void set_vsram_lp_volt(uint32_t volt);
H A Dmt_plat_spm_setting.c67 #define VOLT_TO_PMIC_VAL(volt) (((volt) - VCORE_BASE_UV + 625 - 1) / 625) argument
/rk3399_ARM-atf/plat/hisilicon/hikey/
H A Dhisi_dvfs.c719 struct acpu_dvfs_volt_setting *volt; in acpu_dvfs_volt_init() local
735 volt = (void *)MEMORY_AXI_ACPU_FREQ_VOL_ADDR; in acpu_dvfs_volt_init()
736 volt->magic = 0x5a5ac5c5; in acpu_dvfs_volt_init()
737 volt->support_freq_num = 5; in acpu_dvfs_volt_init()
738 volt->support_freq_max = 1200000; in acpu_dvfs_volt_init()
739 volt->start_prof = 4; in acpu_dvfs_volt_init()
740 volt->vol[0] = 0x49; in acpu_dvfs_volt_init()
741 volt->vol[1] = 0x49; in acpu_dvfs_volt_init()
742 volt->vol[2] = 0x50; in acpu_dvfs_volt_init()
743 volt->vol[3] = 0x60; in acpu_dvfs_volt_init()
[all …]
/rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8196/
H A Dmt_spm_pmic_lp.h31 void set_vsram_lp_volt(uint32_t volt);
56 static inline void set_vsram_lp_volt(uint32_t volt) in set_vsram_lp_volt() argument
58 (void)volt; in set_vsram_lp_volt()
H A Dmt_spm_pmic_lp.c169 void set_vsram_lp_volt(uint32_t volt) in set_vsram_lp_volt() argument
172 if (volt < VSRAM_CORE_0_35V || volt > VSRAM_CORE_0_75V) in set_vsram_lp_volt()
174 vcore_sram_suspend_vol = volt; in set_vsram_lp_volt()
H A Dmt_plat_spm_setting.c27 #define VOLT_TO_PMIC_VAL(volt) (((volt) - VCORE_BASE_UV + 500 - 1) / 500) argument
/rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/
H A Dmt_spm_pmic_wrap.c45 #define VOLT_TO_PMIC_VAL_66(volt) (((volt) - 50000 + 625 - 1) / 625) argument
65 #define VOLT_TO_PMIC_VAL_57(volt) (((volt) - 51875 + 625 - 1) / 625) argument
/rk3399_ARM-atf/plat/imx/imx8ulp/
H A Dimx8ulp_psci.c43 .volt = (v), \
267 uint32_t volt; in imx_set_pwr_mode_cfg() local
292 if (upower_pmic_i2c_read(0x22, &volt) != 0) { in imx_set_pwr_mode_cfg()
295 pd_pmic_reg_cfgs[3].i2c_data = volt; in imx_set_pwr_mode_cfg()
/rk3399_ARM-atf/plat/nvidia/tegra/soc/t186/drivers/include/
H A Dmce_private.h160 uint32_t volt,
233 int32_t ari_cc3_ctrl(uint32_t ari_base, uint32_t freq, uint32_t volt, uint8_t enable);
255 int32_t nvg_cc3_ctrl(uint32_t ari_base, uint32_t freq, uint32_t volt, uint8_t enable);
/rk3399_ARM-atf/plat/nvidia/tegra/soc/t186/drivers/mce/
H A Dnvg.c233 int32_t nvg_cc3_ctrl(uint32_t ari_base, uint32_t freq, uint32_t volt, uint8_t enable) in nvg_cc3_ctrl() argument
250 ((volt & MCE_AUTO_CC3_VTG_MASK) << MCE_AUTO_CC3_VTG_SHIFT) | in nvg_cc3_ctrl()
H A Dari.c358 int32_t ari_cc3_ctrl(uint32_t ari_base, uint32_t freq, uint32_t volt, uint8_t enable) in ari_cc3_ctrl() argument
376 ((volt & MCE_AUTO_CC3_VTG_MASK) << MCE_AUTO_CC3_VTG_SHIFT) | in ari_cc3_ctrl()
/rk3399_ARM-atf/plat/mediatek/mt8192/drivers/spm/
H A Dmt_spm_pmic_wrap.c21 #define VOLT_TO_PMIC_VAL(volt) (((volt) - VCORE_BASE_UV + 625 - 1) / 625) argument
/rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8188/
H A Dmt_spm_pmic_wrap.c27 #define VOLT_TO_PMIC_VAL(volt) (((volt) - VCORE_BASE_UV + 625 - 1) / 625) argument
/rk3399_ARM-atf/plat/mediatek/mt8195/drivers/spm/
H A Dmt_spm_pmic_wrap.c21 #define VOLT_TO_PMIC_VAL(volt) (((volt) - VCORE_BASE_UV + 625 - 1) / 625) argument
/rk3399_ARM-atf/plat/imx/imx8ulp/upower/
H A Dupower_api.h643 int upwr_pwm_chng_reg_voltage(uint32_t reg, uint32_t volt, upwr_callb callb);
1119 int upwr_vtm_chng_pmic_voltage(uint32_t rail, uint32_t volt, upwr_callb callb);
H A Dupower_defs.h364 uint32_t volt : 12U; /* voltage value, accurate to mV, support 0~3.3V */ member
411 uint32_t volt : UPWR_HALF_ARG_BITS; /* voltage value */ member
472 upwr_pwm_volt_msg volt; /* set voltage message */ member
H A Dupower_api.c1309 int upwr_vtm_chng_pmic_voltage(uint32_t rail, uint32_t volt, upwr_callb callb) in upwr_vtm_chng_pmic_voltage() argument
1327 txmsg.args.volt = (volt + PMIC_VOLTAGE_MIN_STEP - 1U) / PMIC_VOLTAGE_MIN_STEP; in upwr_vtm_chng_pmic_voltage()
2021 int upwr_pwm_chng_reg_voltage(uint32_t reg, uint32_t volt, upwr_callb callb) in upwr_pwm_chng_reg_voltage() argument
2038 txmsg.args.volt = volt; in upwr_pwm_chng_reg_voltage()
H A Dupower_soc_defs.h801 uint32_t volt; /* Regulator voltage config */ member
824 uint32_t volt; member
/rk3399_ARM-atf/plat/mediatek/mt8183/drivers/spm/
H A Dspm_pmic_wrap.c21 #define VOLT_TO_PMIC_VAL(volt) (((volt) - VCORE_BASE_UV + 625 - 1) / 625) argument
/rk3399_ARM-atf/include/drivers/st/
H A Dregulator.h52 int regulator_set_voltage(struct rdev *rdev, uint16_t volt);
/rk3399_ARM-atf/plat/rockchip/rk3568/drivers/scmi/
H A Drk3568_clk.c124 uint8_t volt; member
696 cpu_opp_info.volt = 50; in rockchip_clock_init()
718 gpu_opp_info.volt = 50; in rockchip_clock_init()
740 npu_opp_info.volt = 50; in rockchip_clock_init()
/rk3399_ARM-atf/plat/rockchip/rk3576/scmi/
H A Drk3576_clk.c228 uint8_t volt; member