| /rk3399_ARM-atf/plat/mediatek/mt8196/drivers/dcm/ |
| H A D | mtk_dcm.c | 12 static void dcm_infra(bool on) in dcm_infra() argument 14 dcm_bcrm_apinfra_io_ctrl_ao_infra_bus_dcm(on); in dcm_infra() 15 dcm_bcrm_apinfra_io_noc_ao_infra_bus_dcm(on); in dcm_infra() 16 dcm_bcrm_apinfra_mem_ctrl_ao_infra_bus_dcm(on); in dcm_infra() 17 dcm_bcrm_apinfra_mem_intf_noc_ao_infra_bus_dcm(on); in dcm_infra() 20 static void dcm_mcusys(bool on) in dcm_mcusys() argument 22 dcm_mcusys_par_wrap_mcu_misc_dcm(on); in dcm_mcusys() 25 static void dcm_mcusys_acp(bool on) in dcm_mcusys_acp() argument 27 dcm_mcusys_par_wrap_mcu_acp_dcm(on); in dcm_mcusys_acp() 30 static void dcm_mcusys_adb(bool on) in dcm_mcusys_adb() argument [all …]
|
| H A D | mtk_dcm_utils.c | 43 void dcm_mcusys_par_wrap_mcu_l3c_dcm(bool on) in dcm_mcusys_par_wrap_mcu_l3c_dcm() argument 45 if (on) in dcm_mcusys_par_wrap_mcu_l3c_dcm() 63 void dcm_mcusys_par_wrap_mcu_acp_dcm(bool on) in dcm_mcusys_par_wrap_mcu_acp_dcm() argument 65 if (on) in dcm_mcusys_par_wrap_mcu_acp_dcm() 82 void dcm_mcusys_par_wrap_mcu_adb_dcm(bool on) in dcm_mcusys_par_wrap_mcu_adb_dcm() argument 84 if (on) in dcm_mcusys_par_wrap_mcu_adb_dcm() 102 void dcm_mcusys_par_wrap_mcu_stalldcm(bool on) in dcm_mcusys_par_wrap_mcu_stalldcm() argument 104 if (on) in dcm_mcusys_par_wrap_mcu_stalldcm() 121 void dcm_mcusys_par_wrap_mcu_apb_dcm(bool on) in dcm_mcusys_par_wrap_mcu_apb_dcm() argument 123 if (on) in dcm_mcusys_par_wrap_mcu_apb_dcm() [all …]
|
| H A D | mtk_dcm_utils.h | 209 void dcm_mcusys_par_wrap_mcu_l3c_dcm(bool on); 211 void dcm_mcusys_par_wrap_mcu_acp_dcm(bool on); 213 void dcm_mcusys_par_wrap_mcu_adb_dcm(bool on); 215 void dcm_mcusys_par_wrap_mcu_stalldcm(bool on); 217 void dcm_mcusys_par_wrap_mcu_apb_dcm(bool on); 219 void dcm_mcusys_par_wrap_mcu_io_dcm(bool on); 221 void dcm_mcusys_par_wrap_mcu_bus_qdcm(bool on); 223 void dcm_mcusys_par_wrap_mcu_core_qdcm(bool on); 225 void dcm_mcusys_par_wrap_mcu_bkr_ldcm1(bool on); 227 void dcm_mcusys_par_wrap_mcu_bkr_ldcm2(bool on); [all …]
|
| /rk3399_ARM-atf/plat/mediatek/mt8192/drivers/dcm/ |
| H A D | mtk_dcm_utils.h | 37 void dcm_mp_cpusys_top_adb_dcm(bool on); 39 void dcm_mp_cpusys_top_apb_dcm(bool on); 41 void dcm_mp_cpusys_top_bus_pll_div_dcm(bool on); 43 void dcm_mp_cpusys_top_core_stall_dcm(bool on); 45 void dcm_mp_cpusys_top_cpubiu_dcm(bool on); 47 void dcm_mp_cpusys_top_cpu_pll_div_0_dcm(bool on); 49 void dcm_mp_cpusys_top_cpu_pll_div_1_dcm(bool on); 51 void dcm_mp_cpusys_top_cpu_pll_div_2_dcm(bool on); 53 void dcm_mp_cpusys_top_cpu_pll_div_3_dcm(bool on); 55 void dcm_mp_cpusys_top_cpu_pll_div_4_dcm(bool on); [all …]
|
| H A D | mtk_dcm.c | 17 static void dcm_mcusys(bool on) in dcm_mcusys() argument 19 dcm_mp_cpusys_top_adb_dcm(on); in dcm_mcusys() 20 dcm_mp_cpusys_top_apb_dcm(on); in dcm_mcusys() 21 dcm_mp_cpusys_top_cpubiu_dcm(on); in dcm_mcusys() 22 dcm_mp_cpusys_top_misc_dcm(on); in dcm_mcusys() 23 dcm_mp_cpusys_top_mp0_qdcm(on); in dcm_mcusys() 24 dcm_cpccfg_reg_emi_wfifo(on); in dcm_mcusys() 25 dcm_mp_cpusys_top_last_cor_idle_dcm(on); in dcm_mcusys() 28 static void dcm_stall(bool on) in dcm_stall() argument 30 dcm_mp_cpusys_top_core_stall_dcm(on); in dcm_stall() [all …]
|
| H A D | mtk_dcm_utils.c | 59 void dcm_mp_cpusys_top_adb_dcm(bool on) in dcm_mp_cpusys_top_adb_dcm() argument 61 if (on) { in dcm_mp_cpusys_top_adb_dcm() 113 void dcm_mp_cpusys_top_apb_dcm(bool on) in dcm_mp_cpusys_top_apb_dcm() argument 115 if (on) { in dcm_mp_cpusys_top_apb_dcm() 155 void dcm_mp_cpusys_top_bus_pll_div_dcm(bool on) in dcm_mp_cpusys_top_bus_pll_div_dcm() argument 157 if (on) { in dcm_mp_cpusys_top_bus_pll_div_dcm() 185 void dcm_mp_cpusys_top_core_stall_dcm(bool on) in dcm_mp_cpusys_top_core_stall_dcm() argument 187 if (on) { in dcm_mp_cpusys_top_core_stall_dcm() 215 void dcm_mp_cpusys_top_cpubiu_dcm(bool on) in dcm_mp_cpusys_top_cpubiu_dcm() argument 217 if (on) { in dcm_mp_cpusys_top_cpubiu_dcm() [all …]
|
| /rk3399_ARM-atf/plat/mediatek/mt8186/drivers/dcm/ |
| H A D | mtk_dcm_utils.h | 33 void dcm_mp_cpusys_top_adb_dcm(bool on); 35 void dcm_mp_cpusys_top_apb_dcm(bool on); 37 void dcm_mp_cpusys_top_bus_pll_div_dcm(bool on); 39 void dcm_mp_cpusys_top_core_stall_dcm(bool on); 41 void dcm_mp_cpusys_top_cpubiu_dbg_cg(bool on); 43 void dcm_mp_cpusys_top_cpubiu_dcm(bool on); 45 void dcm_mp_cpusys_top_cpu_pll_div_0_dcm(bool on); 47 void dcm_mp_cpusys_top_cpu_pll_div_1_dcm(bool on); 49 void dcm_mp_cpusys_top_fcm_stall_dcm(bool on); 51 void dcm_mp_cpusys_top_last_cor_idle_dcm(bool on); [all …]
|
| H A D | mtk_dcm.c | 18 static void dcm_mcusys(bool on) in dcm_mcusys() argument 20 dcm_mp_cpusys_top_adb_dcm(on); in dcm_mcusys() 21 dcm_mp_cpusys_top_apb_dcm(on); in dcm_mcusys() 22 dcm_mp_cpusys_top_cpubiu_dcm(on); in dcm_mcusys() 23 dcm_mp_cpusys_top_cpubiu_dbg_cg(on); in dcm_mcusys() 24 dcm_mp_cpusys_top_misc_dcm(on); in dcm_mcusys() 25 dcm_mp_cpusys_top_mp0_qdcm(on); in dcm_mcusys() 26 dcm_cpccfg_reg_emi_wfifo(on); in dcm_mcusys() 27 dcm_mp_cpusys_top_last_cor_idle_dcm(on); in dcm_mcusys() 30 static void dcm_stall(bool on) in dcm_stall() argument [all …]
|
| H A D | mtk_dcm_utils.c | 47 void dcm_mp_cpusys_top_adb_dcm(bool on) in dcm_mp_cpusys_top_adb_dcm() argument 49 if (on) { in dcm_mp_cpusys_top_adb_dcm() 95 void dcm_mp_cpusys_top_apb_dcm(bool on) in dcm_mp_cpusys_top_apb_dcm() argument 97 if (on) { in dcm_mp_cpusys_top_apb_dcm() 143 void dcm_mp_cpusys_top_bus_pll_div_dcm(bool on) in dcm_mp_cpusys_top_bus_pll_div_dcm() argument 145 if (on) { in dcm_mp_cpusys_top_bus_pll_div_dcm() 173 void dcm_mp_cpusys_top_core_stall_dcm(bool on) in dcm_mp_cpusys_top_core_stall_dcm() argument 175 if (on) { in dcm_mp_cpusys_top_core_stall_dcm() 203 void dcm_mp_cpusys_top_cpubiu_dbg_cg(bool on) in dcm_mp_cpusys_top_cpubiu_dbg_cg() argument 205 if (on) { in dcm_mp_cpusys_top_cpubiu_dbg_cg() [all …]
|
| /rk3399_ARM-atf/plat/mediatek/mt8195/drivers/dcm/ |
| H A D | mtk_dcm_utils.h | 34 void dcm_mp_cpusys_top_adb_dcm(bool on); 36 void dcm_mp_cpusys_top_apb_dcm(bool on); 38 void dcm_mp_cpusys_top_bus_pll_div_dcm(bool on); 40 void dcm_mp_cpusys_top_core_stall_dcm(bool on); 42 void dcm_mp_cpusys_top_cpubiu_dcm(bool on); 44 void dcm_mp_cpusys_top_cpu_pll_div_0_dcm(bool on); 46 void dcm_mp_cpusys_top_cpu_pll_div_1_dcm(bool on); 48 void dcm_mp_cpusys_top_fcm_stall_dcm(bool on); 50 void dcm_mp_cpusys_top_last_cor_idle_dcm(bool on); 52 void dcm_mp_cpusys_top_misc_dcm(bool on); [all …]
|
| H A D | mtk_dcm.c | 17 static void dcm_mcusys(bool on) in dcm_mcusys() argument 19 dcm_mp_cpusys_top_adb_dcm(on); in dcm_mcusys() 20 dcm_mp_cpusys_top_apb_dcm(on); in dcm_mcusys() 21 dcm_mp_cpusys_top_cpubiu_dcm(on); in dcm_mcusys() 22 dcm_mp_cpusys_top_misc_dcm(on); in dcm_mcusys() 23 dcm_mp_cpusys_top_mp0_qdcm(on); in dcm_mcusys() 24 dcm_cpccfg_reg_emi_wfifo(on); in dcm_mcusys() 25 dcm_mp_cpusys_top_last_cor_idle_dcm(on); in dcm_mcusys() 28 static void dcm_stall(bool on) in dcm_stall() argument 30 dcm_mp_cpusys_top_core_stall_dcm(on); in dcm_stall() [all …]
|
| H A D | mtk_dcm_utils.c | 59 void dcm_mp_cpusys_top_adb_dcm(bool on) in dcm_mp_cpusys_top_adb_dcm() argument 61 if (on) { in dcm_mp_cpusys_top_adb_dcm() 113 void dcm_mp_cpusys_top_apb_dcm(bool on) in dcm_mp_cpusys_top_apb_dcm() argument 115 if (on) { in dcm_mp_cpusys_top_apb_dcm() 161 void dcm_mp_cpusys_top_bus_pll_div_dcm(bool on) in dcm_mp_cpusys_top_bus_pll_div_dcm() argument 163 if (on) { in dcm_mp_cpusys_top_bus_pll_div_dcm() 191 void dcm_mp_cpusys_top_core_stall_dcm(bool on) in dcm_mp_cpusys_top_core_stall_dcm() argument 193 if (on) { in dcm_mp_cpusys_top_core_stall_dcm() 221 void dcm_mp_cpusys_top_cpubiu_dcm(bool on) in dcm_mp_cpusys_top_cpubiu_dcm() argument 223 if (on) { in dcm_mp_cpusys_top_cpubiu_dcm() [all …]
|
| /rk3399_ARM-atf/plat/mediatek/drivers/dcm/ |
| H A D | mtk_dcm_utils.h | 34 void dcm_mp_cpusys_top_adb_dcm(bool on); 36 void dcm_mp_cpusys_top_apb_dcm(bool on); 38 void dcm_mp_cpusys_top_bus_pll_div_dcm(bool on); 40 void dcm_mp_cpusys_top_core_stall_dcm(bool on); 42 void dcm_mp_cpusys_top_cpubiu_dcm(bool on); 44 void dcm_mp_cpusys_top_cpu_pll_div_0_dcm(bool on); 46 void dcm_mp_cpusys_top_cpu_pll_div_1_dcm(bool on); 48 void dcm_mp_cpusys_top_fcm_stall_dcm(bool on); 50 void dcm_mp_cpusys_top_last_cor_idle_dcm(bool on); 52 void dcm_mp_cpusys_top_misc_dcm(bool on); [all …]
|
| H A D | mtk_dcm.c | 20 static void dcm_mcusys(bool on) in dcm_mcusys() argument 22 dcm_mp_cpusys_top_adb_dcm(on); in dcm_mcusys() 23 dcm_mp_cpusys_top_apb_dcm(on); in dcm_mcusys() 24 dcm_mp_cpusys_top_cpubiu_dcm(on); in dcm_mcusys() 25 dcm_mp_cpusys_top_misc_dcm(on); in dcm_mcusys() 26 dcm_mp_cpusys_top_mp0_qdcm(on); in dcm_mcusys() 29 dcm_cpccfg_reg_emi_wfifo(on); in dcm_mcusys() 30 dcm_mp_cpusys_top_last_cor_idle_dcm(on); in dcm_mcusys() 33 static void dcm_stall(bool on) in dcm_stall() argument 35 dcm_mp_cpusys_top_core_stall_dcm(on); in dcm_stall() [all …]
|
| H A D | mtk_dcm_utils.c | 43 void dcm_mp_cpusys_top_adb_dcm(bool on) in dcm_mp_cpusys_top_adb_dcm() argument 45 if (on) { in dcm_mp_cpusys_top_adb_dcm() 97 void dcm_mp_cpusys_top_apb_dcm(bool on) in dcm_mp_cpusys_top_apb_dcm() argument 99 if (on) { in dcm_mp_cpusys_top_apb_dcm() 137 void dcm_mp_cpusys_top_bus_pll_div_dcm(bool on) in dcm_mp_cpusys_top_bus_pll_div_dcm() argument 139 if (on) { in dcm_mp_cpusys_top_bus_pll_div_dcm() 163 void dcm_mp_cpusys_top_core_stall_dcm(bool on) in dcm_mp_cpusys_top_core_stall_dcm() argument 165 if (on) { in dcm_mp_cpusys_top_core_stall_dcm() 189 void dcm_mp_cpusys_top_cpubiu_dcm(bool on) in dcm_mp_cpusys_top_cpubiu_dcm() argument 191 if (on) { in dcm_mp_cpusys_top_cpubiu_dcm() [all …]
|
| /rk3399_ARM-atf/plat/mediatek/mt8183/drivers/mcdi/ |
| H A D | mtk_mcdi.c | 88 static uint32_t target_mask(int cluster, int cpu_idx, bool on) in target_mask() argument 92 if (on) { in target_mask() 109 void mcdi_pause_clr(int cluster, int cpu_idx, bool on) in mcdi_pause_clr() argument 111 uint32_t tgt = target_mask(cluster, cpu_idx, on); in mcdi_pause_clr() 118 void mcdi_pause_set(int cluster, int cpu_idx, bool on) in mcdi_pause_set() argument 120 uint32_t tgt = target_mask(cluster, cpu_idx, on); in mcdi_pause_set() 122 uint32_t tgtn = target_mask(-1, cpu_idx, !on); in mcdi_pause_set() 155 void mcdi_hotplug_wait_ack(int cluster, int cpu_idx, bool on) in mcdi_hotplug_wait_ack() argument 157 uint32_t tgt = target_mask(cluster, cpu_idx, on); in mcdi_hotplug_wait_ack() 165 void mcdi_hotplug_clr(int cluster, int cpu_idx, bool on) in mcdi_hotplug_clr() argument [all …]
|
| H A D | mtk_mcdi.h | 25 void mcdi_pause_set(int cluster, int cpu_idx, bool on); 26 void mcdi_pause_clr(int cluster, int cpu_idx, bool on); 27 void mcdi_hotplug_set(int cluster, int cpu_idx, bool on); 28 void mcdi_hotplug_clr(int cluster, int cpu_idx, bool on); 29 void mcdi_hotplug_wait_ack(int cluster, int cpu_idx, bool on);
|
| /rk3399_ARM-atf/plat/mediatek/include/ |
| H A D | mtk_bl31_interface.h | 48 void ufs_ref_clk_status(uint32_t on, enum ufs_notify_change_status stage); 49 void ufs_sram_pwr_ctrl(bool on); 52 void ufs_mtcmos_ctrl(bool on); 58 int ufs_spm_mtcmos_power(bool on); 59 int ufs_phy_spm_mtcmos_power(bool on); 61 void ufs_set_clk_status(bool on); 85 void cpu_qos_change_dcc(uint32_t on, uint32_t is_auto);
|
| /rk3399_ARM-atf/plat/mediatek/drivers/ufs/mt8196/ |
| H A D | ufs_ctrl_soc.c | 38 int ufs_spm_mtcmos_power(bool on) in ufs_spm_mtcmos_power() argument 41 return spm_mtcmos_ctrl_ufs0(on ? STA_POWER_ON : STA_POWER_DOWN); in ufs_spm_mtcmos_power() 47 int ufs_phy_spm_mtcmos_power(bool on) in ufs_phy_spm_mtcmos_power() argument 50 return spm_mtcmos_ctrl_ufs0_phy(on ? STA_POWER_ON : STA_POWER_DOWN); in ufs_phy_spm_mtcmos_power()
|
| /rk3399_ARM-atf/plat/imx/imx8ulp/scmi/ |
| H A D | scmi_pd.c | 196 int upwr_pwm_power(const uint32_t swton[], const uint32_t memon[], bool on) in upwr_pwm_power() argument 201 if (on == true) { in upwr_pwm_power() 208 WARN("%s failed: ret: %d, state: %x\n", __func__, ret, on); in upwr_pwm_power() 232 bool on; in plat_scmi_pd_psw() local 240 on = (state == POWER_STATE_ON) ? true : false; in plat_scmi_pd_psw() 245 if (on == false) { in plat_scmi_pd_psw() 249 ret = upwr_pwm_power((const uint32_t *)&swt, NULL, on); in plat_scmi_pd_psw() 253 if (on == true) { in plat_scmi_pd_psw() 260 ret = upwr_pwm_power((const uint32_t *)&swt, NULL, on); in plat_scmi_pd_psw() 268 if (on == false) { in plat_scmi_pd_psw() [all …]
|
| /rk3399_ARM-atf/plat/mediatek/drivers/ufs/ |
| H A D | ufs_stub.c | 12 void ufs_ref_clk_status(uint32_t on, enum ufs_notify_change_status stage) {} in ufs_ref_clk_status() argument 13 void ufs_sram_pwr_ctrl(bool on) {} in ufs_sram_pwr_ctrl() argument 16 void ufs_mtcmos_ctrl(bool on) {} in ufs_mtcmos_ctrl() argument
|
| /rk3399_ARM-atf/fdts/ |
| H A D | stm32mp257d-ultra-fly-sbc.dts | 18 model = "Ultratronik Ultra Fly SBC based on STM32MP257D"; 63 regulator-always-on; 69 regulator-always-on; 75 regulator-always-on; 81 regulator-always-on; 87 regulator-always-on; 98 regulator-always-on; 104 regulator-always-on; 110 regulator-always-on; 122 regulator-always-on; [all …]
|
| H A D | stm32mp257f-dk.dts | 78 regulator-always-on; 84 regulator-always-on; 90 regulator-always-on; 96 regulator-always-on; 102 regulator-always-on; 113 regulator-always-on; 119 regulator-always-on; 125 regulator-always-on; 137 regulator-always-on; 148 regulator-always-on; [all …]
|
| /rk3399_ARM-atf/docs/resources/diagrams/plantuml/ |
| H A D | io_dev_init_and_check.puml | 20 ref over io_storage : dev_init() on fip device 23 ref over io_storage : io_open() on fip device 26 ref over io_storage : io_close() on fip device 45 ref over io_storage : dev_init() on memmap device 48 ref over io_storage : io_open() on memmap device 51 ref over io_storage : io_close() on memmap device
|
| /rk3399_ARM-atf/docs/perf/ |
| H A D | psci-performance-methodology.rst | 12 The tests are based on the ``runtime-instrumentation`` test suite provided by 20 - **Parallel Tests** This type of test powers on all the non-lead CPUs and 22 then initiates the test on all CPUs in parallel. 24 - **Sequential Tests** This type of test powers on each non-lead CPU in 25 sequence. The lead CPU initiates the test on a non-lead CPU then waits for the 27 executes the test on itself. 30 the values for each CPU are sometimes interchanged, depending on the order in 35 (unquantified) overhead on the results. PMF uses the generic counter for 36 timestamps, which runs at 50MHz on Juno.
|