/tf-a-ffa_el3_spmc/plat/hisilicon/hikey/ |
A D | hikey_ddr.c | 24 data = mmio_read_32((0xf7032000 + 0x000)); in init_pll() 28 data = mmio_read_32((0xf7032000 + 0x000)); in init_pll() 31 data = mmio_read_32((0xf7800000 + 0x000)); in init_pll() 36 data = mmio_read_32((0xf7800000 + 0x014)); in init_pll() 56 data = mmio_read_32(0xf7032000 + 0x050); in init_pll() 90 data = mmio_read_32((0xf7032000 + 0x110)); in init_freq() 94 data = mmio_read_32((0xf7032000 + 0x110)); in init_freq() 99 data = mmio_read_32((0xf7032000 + 0x110)); in init_freq() 115 data = mmio_read_32((0xf6504000 + 0x054)); in init_freq() 120 data = mmio_read_32((0xf7032000 + 0x104)); in init_freq() [all …]
|
A D | hikey_bl_common.c | 22 data = mmio_read_32(AO_SC_TIMER_EN0); in hikey_sp804_init() 27 data = mmio_read_32(AO_SC_TIMER_EN0); in hikey_sp804_init() 30 data = mmio_read_32(AO_SC_PERIPH_CLKSTAT4); in hikey_sp804_init() 33 data = mmio_read_32(AO_SC_PERIPH_CLKSTAT4); in hikey_sp804_init() 36 data = mmio_read_32(AO_SC_PERIPH_RSTSTAT4); in hikey_sp804_init() 39 data = mmio_read_32(AO_SC_PERIPH_RSTSTAT4); in hikey_sp804_init() 221 data = mmio_read_32(PERI_SC_CLK_SEL0); in init_mmc0_pll() 226 data = mmio_read_32(PERI_SC_CLK_SEL0); in init_mmc0_pll() 285 data = mmio_read_32(PMCTRL_MEDPLLCTRL); in init_media_clk() 309 data = mmio_read_32(PERI_SC_CLK_SEL0); in init_mmc1_pll() [all …]
|
/tf-a-ffa_el3_spmc/plat/rockchip/rk3368/drivers/ddr/ |
A D | ddr_rk3368.c | 207 fb_div = mmio_read_32(DDR_PHY_BASE + DDR_PHY_REGEC); in ddr_get_phy_pll_freq() 261 pctl_tim->CMDTSTATEN = mmio_read_32(DDR_PCTL_BASE + in ddr_reg_save() 271 pctl_tim->DFIODTCFG1 = mmio_read_32(DDR_PCTL_BASE + in ddr_reg_save() 277 pctl_tim->DFITPHYWRLAT = mmio_read_32(DDR_PCTL_BASE + in ddr_reg_save() 281 pctl_tim->DFITRDDATAEN = mmio_read_32(DDR_PCTL_BASE + in ddr_reg_save() 283 pctl_tim->DFITPHYRDLAT = mmio_read_32(DDR_PCTL_BASE + in ddr_reg_save() 301 pctl_tim->DFITREFMSKI = mmio_read_32(DDR_PCTL_BASE + in ddr_reg_save() 400 p_ddr_reg->dpllcon[0] = (mmio_read_32(CRU_BASE + in ddr_reg_save() 404 p_ddr_reg->dpllcon[1] = (mmio_read_32(CRU_BASE + in ddr_reg_save() 407 p_ddr_reg->dpllcon[2] = (mmio_read_32(CRU_BASE + in ddr_reg_save() [all …]
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8183/ |
A D | plat_debug.c | 18 mmio_read_32(CA15M_DBG_CONTROL) & ~(BIT_CA15M_LASTPC_DIS)); in circular_buffer_setup() 26 sync_writel(VPROC_EXT_CTL, mmio_read_32(VPROC_EXT_CTL) & ~(0x1 << 1)); in circular_buffer_unlock() 29 sync_writel(CA15M_PWR_RST_CTL, mmio_read_32(CA15M_PWR_RST_CTL) & ~(0x1 << 1)); in circular_buffer_unlock() 33 (mmio_read_32(MP1_CPUTOP_PWR_CON + i * 4) & ~(0x4))|(0x4)); in circular_buffer_unlock() 48 mmio_read_32(MCU_ALL_PWR_ON_CTRL) & ~(1 << 2)); in clear_all_on_mux() 50 mmio_read_32(MCU_ALL_PWR_ON_CTRL) & ~(1 << 1)); in clear_all_on_mux() 57 mmio_read_32(CA15M_DBG_CONTROL) | BIT_CA15M_L2PARITY_EN); in l2c_parity_check_setup()
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8195/drivers/spm/ |
A D | mt_spm_internal.c | 112 mmio_read_32(SYS_TIMER_VALUE_H)); in __spm_output_wake_reason() 115 bk_vtcxo_dur = mmio_read_32(SPM_BK_VTCXO_DUR); in __spm_output_wake_reason() 400 wakesta->r12 = mmio_read_32(SPM_BK_WAKE_EVENT); in __spm_get_wakeup_status() 401 wakesta->r12_ext = mmio_read_32(SPM_WAKEUP_STA); in __spm_get_wakeup_status() 402 wakesta->raw_sta = mmio_read_32(SPM_WAKEUP_STA); in __spm_get_wakeup_status() 406 wakesta->src_req = mmio_read_32(SPM_SRC_REQ); in __spm_get_wakeup_status() 415 wakesta->r13 = mmio_read_32(PCM_REG13_DATA); in __spm_get_wakeup_status() 441 wakesta->isr = mmio_read_32(SPM_IRQ_STA); in __spm_get_wakeup_status() 458 mmio_read_32(SPM_WAKEUP_STA) | in __spm_clean_after_wakeup() 459 mmio_read_32(SPM_BK_WAKE_EVENT)); in __spm_clean_after_wakeup() [all …]
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8183/drivers/mcsi/ |
A D | mcsi.c | 46 if ((mmio_read_32(cci_base_addr + FLUSH_SF) & 0x1) == 0x0) in mcsi_cache_flush() 85 support_ability = mmio_read_32(slave_base); in cci_enable_cluster_coherency() 87 pending = (mmio_read_32( in cci_enable_cluster_coherency() 90 pending = (mmio_read_32( in cci_enable_cluster_coherency() 102 while (mmio_read_32(cci_base_addr + SNP_PENDING_REG) >> SNP_PENDING) in cci_enable_cluster_coherency() 121 config = mmio_read_32(slave_base); in cci_disable_cluster_coherency() 140 config = mmio_read_32(cci_base_addr + CENTRAL_CTRL_REG); in cci_secure_switch() 152 config = mmio_read_32(cci_base_addr + CENTRAL_CTRL_REG); in cci_pmu_secure_switch() 166 while (mmio_read_32(cci_base_addr + SF_INIT_REG) & TRIG_SF1_INIT) in cci_init_sf() 172 while (mmio_read_32(cci_base_addr + SF_INIT_REG) & TRIG_SF2_INIT) in cci_init_sf() [all …]
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/drivers/apusys/ |
A D | mtk_apusys.c | 46 mmio_read_32(REVISER_SECUREFW_CTXT), in apusys_kernel_ctrl() 47 mmio_read_32(REVISER_USDRFW_CTXT)); in apusys_kernel_ctrl() 49 mmio_read_32(AO_SEC_FW), in apusys_kernel_ctrl() 50 mmio_read_32(AO_MD32_BOOT_CTRL), in apusys_kernel_ctrl() 51 mmio_read_32(AO_MD32_PRE_DEFINE), in apusys_kernel_ctrl() 52 mmio_read_32(AO_MD32_SYS_CTRL)); in apusys_kernel_ctrl() 59 mmio_read_32(AO_MD32_BOOT_CTRL), in apusys_kernel_ctrl() 60 mmio_read_32(AO_MD32_SYS_CTRL)); in apusys_kernel_ctrl()
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/drivers/spm/ |
A D | mt_spm_internal.c | 112 mmio_read_32(SYS_TIMER_VALUE_H)); in __spm_output_wake_reason() 115 bk_vtcxo_dur = mmio_read_32(SPM_BK_VTCXO_DUR); in __spm_output_wake_reason() 445 wakesta->r12 = mmio_read_32(SPM_BK_WAKE_EVENT); in __spm_get_wakeup_status() 446 wakesta->r12_ext = mmio_read_32(SPM_WAKEUP_STA); in __spm_get_wakeup_status() 447 wakesta->raw_sta = mmio_read_32(SPM_WAKEUP_STA); in __spm_get_wakeup_status() 451 wakesta->src_req = mmio_read_32(SPM_SRC_REQ); in __spm_get_wakeup_status() 460 wakesta->r13 = mmio_read_32(PCM_REG13_DATA); in __spm_get_wakeup_status() 486 wakesta->isr = mmio_read_32(SPM_IRQ_STA); in __spm_get_wakeup_status() 503 mmio_read_32(SPM_WAKEUP_STA) | in __spm_clean_after_wakeup() 504 mmio_read_32(SPM_BK_WAKE_EVENT)); in __spm_clean_after_wakeup() [all …]
|
/tf-a-ffa_el3_spmc/plat/rockchip/rk3399/drivers/m0/src/ |
A D | dram.c | 18 gatedis_con0 = mmio_read_32(PMUCRU_BASE + PMU_CRU_GATEDIS_CON0); in idle_port() 23 while ((mmio_read_32(PMU_BASE + PMU_BUS_IDLE_ST) & in idle_port() 33 while (mmio_read_32(PMU_BASE + PMU_BUS_IDLE_ST) & in deidle_port() 47 mmio_read_32(PARAM_ADDR + PARAM_DPLL_CON0)); in ddr_set_pll() 49 mmio_read_32(PARAM_ADDR + PARAM_DPLL_CON1)); in ddr_set_pll() 52 while ((mmio_read_32(CRU_BASE + CRU_DPLL_CON2) & (1u << 31)) == 0) in ddr_set_pll() 67 mmio_read_32(PARAM_ADDR + PARAM_FREQ_SELECT)); in m0_main() 68 while ((mmio_read_32(CIC_BASE + CIC_STATUS0) & (1 << 2)) == 0) in m0_main() 73 while ((mmio_read_32(CIC_BASE + CIC_STATUS0) & (1 << 0)) == 0) in m0_main()
|
/tf-a-ffa_el3_spmc/plat/marvell/armada/a8k/common/ |
A D | plat_pm_trace.c | 37 mmio_read_32(AP_MSS_ATF_CORE_0_CTRL_BASE); in pm_core_0_trace() 40 mmio_read_32(AP_MSS_TIMER_BASE)); in pm_core_0_trace() 52 mmio_read_32(AP_MSS_ATF_CORE_1_CTRL_BASE); in pm_core_1_trace() 55 mmio_read_32(AP_MSS_TIMER_BASE)); in pm_core_1_trace() 67 mmio_read_32(AP_MSS_ATF_CORE_2_CTRL_BASE); in pm_core_2_trace() 70 mmio_read_32(AP_MSS_TIMER_BASE)); in pm_core_2_trace() 82 mmio_read_32(AP_MSS_ATF_CORE_3_CTRL_BASE); in pm_core_3_trace() 85 mmio_read_32(AP_MSS_TIMER_BASE)); in pm_core_3_trace()
|
/tf-a-ffa_el3_spmc/plat/rockchip/rk3399/drivers/dram/ |
A D | dram.c | 19 os_reg2_val = mmio_read_32(PMUGRF_BASE + PMUGRF_OSREG(2)); in dram_init() 22 sdram_config.stride = (mmio_read_32(SGRF_BASE + SGRF_SOC_CON3_7(4)) >> in dram_init() 40 ch->ddrconfig = mmio_read_32(MSCH_BASE(i) + MSCH_DEVICECONF); in dram_init() 42 noc->ddrtiminga0.d32 = mmio_read_32(MSCH_BASE(i) + in dram_init() 44 noc->ddrtimingb0.d32 = mmio_read_32(MSCH_BASE(i) + in dram_init() 46 noc->ddrtimingc0.d32 = mmio_read_32(MSCH_BASE(i) + in dram_init() 48 noc->devtodev0.d32 = mmio_read_32(MSCH_BASE(i) + in dram_init() 50 noc->ddrmode.d32 = mmio_read_32(MSCH_BASE(i) + MSCH_DDRMODE); in dram_init() 51 noc->agingx0 = mmio_read_32(MSCH_BASE(i) + MSCH_AGINGX0); in dram_init()
|
/tf-a-ffa_el3_spmc/drivers/arm/gic/v2/ |
A D | gicv2_private.h | 32 return mmio_read_32(base + GICD_PIDR2_GICV2); in gicd_read_pidr2() 62 return mmio_read_32(base + GICC_CTLR); in gicc_read_ctlr() 67 return mmio_read_32(base + GICC_PMR); in gicc_read_pmr() 72 return mmio_read_32(base + GICC_BPR); in gicc_read_BPR() 77 return mmio_read_32(base + GICC_IAR); in gicc_read_IAR() 82 return mmio_read_32(base + GICC_EOIR); in gicc_read_EOIR() 87 return mmio_read_32(base + GICC_HPPIR); in gicc_read_hppir() 92 return mmio_read_32(base + GICC_AHPPIR); in gicc_read_ahppir() 97 return mmio_read_32(base + GICC_DIR); in gicc_read_dir() 102 return mmio_read_32(base + GICC_IIDR); in gicc_read_iidr() [all …]
|
/tf-a-ffa_el3_spmc/plat/mediatek/common/drivers/uart/ |
A D | uart.c | 70 uart->registers.lcr = mmio_read_32(UART_LCR(base)); in mt_uart_save() 73 uart->registers.efr = mmio_read_32(UART_EFR(base)); in mt_uart_save() 75 uart->registers.fcr = mmio_read_32(UART_FCR_RD(base)); in mt_uart_save() 83 uart->registers.dll = mmio_read_32(UART_DLL(base)); in mt_uart_save() 84 uart->registers.dlh = mmio_read_32(UART_DLH(base)); in mt_uart_save() 86 uart->registers.sample_count = mmio_read_32( in mt_uart_save() 88 uart->registers.sample_point = mmio_read_32( in mt_uart_save() 90 uart->registers.guard = mmio_read_32(UART_GUARD(base)); in mt_uart_save() 94 uart->registers.mcr = mmio_read_32(UART_MCR(base)); in mt_uart_save() 95 uart->registers.ier = mmio_read_32(UART_IER(base)); in mt_uart_save() [all …]
|
/tf-a-ffa_el3_spmc/drivers/renesas/common/ddr/ddr_a/ |
A D | ddr_init_d3.c | 178 r6 = mmio_read_32(DBSC_DBPDRGD_0) & 0xFF; in init_ddr_d3_1866() 180 r7 = mmio_read_32(DBSC_DBPDRGD_0) & 0x7; in init_ddr_d3_1866() 227 r2 = mmio_read_32(DBSC_DBPDRGD_0); in init_ddr_d3_1866() 230 r2 = mmio_read_32(DBSC_DBPDRGD_0); in init_ddr_d3_1866() 249 r6 = mmio_read_32(DBSC_DBPDRGD_0) & 0xFF; in init_ddr_d3_1866() 252 r7 = mmio_read_32(DBSC_DBPDRGD_0) & 0x7; in init_ddr_d3_1866() 505 r7 = mmio_read_32(DBSC_DBPDRGD_0) & 0x7; in init_ddr_d3_1600() 551 r2 = mmio_read_32(DBSC_DBPDRGD_0); in init_ddr_d3_1600() 554 r2 = mmio_read_32(DBSC_DBPDRGD_0); in init_ddr_d3_1600() 680 reg = mmio_read_32(PRR); in rcar_dram_init() [all …]
|
A D | ddr_init_e3.c | 70 while (!(mmio_read_32(CPG_PLLECR) & BIT(11))) in init_ddr() 88 r2 = mmio_read_32(0xE6790614); in init_ddr() 380 r6 = mmio_read_32(DBSC_DBPDRGD_0) & 0xFF; in init_ddr() 382 r7 = mmio_read_32(DBSC_DBPDRGD_0) & 0x7; in init_ddr() 573 r6 = mmio_read_32(DBSC_DBPDRGD_0) & 0xFF; in init_ddr() 575 r7 = mmio_read_32(DBSC_DBPDRGD_0) & 0x7; in init_ddr() 662 regval = mmio_read_32(DBSC_DBPDRGD_0) & in init_ddr() 761 regval = mmio_read_32(0x40000000); in init_ddr() 891 r2 = mmio_read_32(0xE6790614); in recovery_from_backup_mode() 1254 r7 = mmio_read_32(DBSC_DBPDRGD_0) & 0x7; in recovery_from_backup_mode() [all …]
|
A D | ddr_init_v3m.c | 91 while (!(mmio_read_32(DBSC_DBPDRGD_0) & BIT(0))) in init_ddr_v3m_1600() 111 while (!(mmio_read_32(DBSC_DBPDRGD_0) & BIT(0))) in init_ddr_v3m_1600() 119 while (!(mmio_read_32(DBSC_DBPDRGD_0) & BIT(0))) in init_ddr_v3m_1600() 153 while (!(mmio_read_32(DBSC_DBPDRGD_0) & BIT(0))) in init_ddr_v3m_1600() 184 while (!(mmio_read_32(DBSC_DBPDRGD_0) & BIT(0))) in init_ddr_v3m_1600() 190 while (!(mmio_read_32(DBSC_DBPDRGD_0) & BIT(0))) in init_ddr_v3m_1600() 197 r6 = mmio_read_32(DBSC_DBPDRGD_0) & 0xFF; in init_ddr_v3m_1600() 199 r7 = mmio_read_32(DBSC_DBPDRGD_0) & 0x7; in init_ddr_v3m_1600() 269 r6 = (mmio_read_32(DBSC_DBPDRGD_0) & 0xFF); in init_ddr_v3m_1600() 272 r7 = (mmio_read_32(DBSC_DBPDRGD_0) & 0x7); in init_ddr_v3m_1600() [all …]
|
/tf-a-ffa_el3_spmc/plat/intel/soc/agilex/soc/ |
A D | agilex_memory_controller.c | 78 hmc_clk = mmio_read_32(AGX_SYSMGR_CORE_HMC_CLK); in check_hmc_clk() 184 data = mmio_read_32(AGX_MPFE_IOHMC_CTRLCFG1); in configure_ddr_sched_ctrl_regs() 187 data = mmio_read_32(AGX_MPFE_IOHMC_DRAMADDRW); in configure_ddr_sched_ctrl_regs() 210 data = mmio_read_32(AGX_MPFE_IOHMC_CALTIMING0); in configure_ddr_sched_ctrl_regs() 215 data = mmio_read_32(AGX_MPFE_IOHMC_CALTIMING1); in configure_ddr_sched_ctrl_regs() 220 data = mmio_read_32(AGX_MPFE_IOHMC_CALTIMING2); in configure_ddr_sched_ctrl_regs() 223 data = mmio_read_32(AGX_MPFE_IOHMC_CALTIMING3); in configure_ddr_sched_ctrl_regs() 227 data = mmio_read_32(AGX_MPFE_IOHMC_CALTIMING4); in configure_ddr_sched_ctrl_regs() 233 data = mmio_read_32(AGX_MPFE_IOHMC_CTRLCFG0); in configure_ddr_sched_ctrl_regs() 238 data = mmio_read_32(AGX_MPFE_IOHMC_CTRLCFG0); in configure_ddr_sched_ctrl_regs() [all …]
|
/tf-a-ffa_el3_spmc/drivers/rpi3/sdhost/ |
A D | rpi3_sdhost.c | 143 mmio_read_32(reg_base + HC_DATAPORT); in rpi3_drain_fifo() 150 edm = mmio_read_32(reg_base + HC_DEBUG); in rpi3_drain_fifo() 181 mmio_read_32(reg_base + HC_COMMAND)); in rpi3_sdhost_print_regs() 183 mmio_read_32(reg_base + HC_ARGUMENT)); in rpi3_sdhost_print_regs() 189 mmio_read_32(reg_base + HC_RESPONSE_0)); in rpi3_sdhost_print_regs() 191 mmio_read_32(reg_base + HC_RESPONSE_1)); in rpi3_sdhost_print_regs() 199 mmio_read_32(reg_base + HC_POWER)); in rpi3_sdhost_print_regs() 201 mmio_read_32(reg_base + HC_DEBUG)); in rpi3_sdhost_print_regs() 205 mmio_read_32(reg_base + HC_BLOCKSIZE)); in rpi3_sdhost_print_regs() 230 dbg = mmio_read_32(reg_base + HC_DEBUG); in rpi3_sdhost_reset() [all …]
|
/tf-a-ffa_el3_spmc/plat/brcm/board/stingray/src/ |
A D | bl31_setup.c | 409 mmio_read_32(smmu_base + 0x0), in brcm_stingray_smmu_init() 410 mmio_read_32(smmu_base + 0x4), in brcm_stingray_smmu_init() 411 mmio_read_32(smmu_base + 0x8)); in brcm_stingray_smmu_init() 414 mmio_read_32(smmu_base + 0x20), in brcm_stingray_smmu_init() 415 mmio_read_32(smmu_base + 0x24), in brcm_stingray_smmu_init() 416 mmio_read_32(smmu_base + 0x28)); in brcm_stingray_smmu_init() 419 mmio_read_32(smmu_base + 0x2c), in brcm_stingray_smmu_init() 420 mmio_read_32(smmu_base + 0x30), in brcm_stingray_smmu_init() 421 mmio_read_32(smmu_base + 0x34)); in brcm_stingray_smmu_init() 424 mmio_read_32(smmu_base + 0x38), in brcm_stingray_smmu_init() [all …]
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8183/drivers/spm/ |
A D | spm.c | 259 if (mmio_read_32(PCM_TIMER_VAL) > PCM_TIMER_MAX) in spm_set_pcm_wdt() 279 wakesta->r12 = mmio_read_32(SPM_SW_RSV_0); in spm_get_wakeup_status() 281 wakesta->raw_sta = mmio_read_32(SPM_WAKEUP_STA); in spm_get_wakeup_status() 285 wakesta->r13 = mmio_read_32(PCM_REG13_DATA); in spm_get_wakeup_status() 287 wakesta->req_sta = mmio_read_32(SRC_REQ_STA); in spm_get_wakeup_status() 288 wakesta->sw_flag = mmio_read_32(SPM_SW_FLAG); in spm_get_wakeup_status() 289 wakesta->sw_flag1 = mmio_read_32(SPM_SW_RSV_2); in spm_get_wakeup_status() 290 wakesta->r15 = mmio_read_32(PCM_REG15_DATA); in spm_get_wakeup_status() 294 wakesta->isr = mmio_read_32(SPM_IRQ_STA); in spm_get_wakeup_status() 300 mmio_read_32(SPM_WAKEUP_STA) | in spm_clean_after_wakeup() [all …]
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8173/drivers/spm/ |
A D | spm.c | 104 if (mmio_read_32(SPM_PCM_FSM_STA) != PCM_FSM_STA_DEF) in spm_register_init() 141 con1 = mmio_read_32(SPM_PCM_CON1) & in spm_reset_and_init_pcm() 211 wakesta->r12 = mmio_read_32(SPM_PCM_REG12_DATA); in spm_get_wakeup_status() 215 wakesta->r13 = mmio_read_32(SPM_PCM_REG13_DATA); in spm_get_wakeup_status() 219 wakesta->isr = mmio_read_32(SPM_SLEEP_ISR_STATUS); in spm_get_wakeup_status() 243 if (mmio_read_32(SPM_PCM_IM_PTR) != ptr || in spm_kick_im_to_fetch() 244 mmio_read_32(SPM_PCM_IM_LEN) != len || in spm_kick_im_to_fetch() 267 INFO("settle = %u\n", mmio_read_32(SPM_CLK_SETTLE)); in spm_set_sysclk_settle() 274 con1 = mmio_read_32(SPM_PCM_CON1) & in spm_kick_pcm_to_run() 279 if (mmio_read_32(SPM_PCM_TIMER_VAL) > PCM_TIMER_MAX) in spm_kick_pcm_to_run() [all …]
|
A D | spm_mcdi.c | 238 if (((mmio_read_32(SPM_SLEEP_CPU_WAKEUP_EVENT) & 0x1) == 1) in spm_mcdi_cpu_wake_up_event() 242 __func__, mmio_read_32(SPM_SLEEP_CPU_WAKEUP_EVENT), in spm_mcdi_cpu_wake_up_event() 243 mmio_read_32(SPM_CLK_CON)); in spm_mcdi_cpu_wake_up_event() 258 while (mmio_read_32(SPM_CLK_CON) != in spm_mcdi_cpu_wake_up_event() 259 (mmio_read_32(SPM_CLK_CON) | CC_DISABLE_DORM_PWR)) in spm_mcdi_cpu_wake_up_event() 264 while (mmio_read_32(SPM_CLK_CON) != in spm_mcdi_cpu_wake_up_event() 265 (mmio_read_32(SPM_CLK_CON) & ~CC_DISABLE_DORM_PWR)) in spm_mcdi_cpu_wake_up_event() 279 while (mmio_read_32(SPM_PCM_REG6_DATA) != PCM_MCDI_CKECK_DONE) in spm_mcdi_cpu_wake_up_event() 297 while (mmio_read_32(SPM_PCM_REG5_DATA) != PCM_MCDI_OFFLOADED) in spm_mcdi_wakeup_all_cores() 412 pwr_status = mmio_read_32(SPM_PWR_STATUS) | in spm_mcdi_set_cputop_pwrctrl_for_cluster_off() [all …]
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/drivers/dcm/ |
A D | mtk_dcm_utils.c | 46 ret &= ((mmio_read_32(MP_ADB_DCM_CFG0) & in dcm_mp_cpusys_top_adb_dcm_is_on() 49 ret &= ((mmio_read_32(MP_ADB_DCM_CFG4) & in dcm_mp_cpusys_top_adb_dcm_is_on() 52 ret &= ((mmio_read_32(MCUSYS_DCM_CFG0) & in dcm_mp_cpusys_top_adb_dcm_is_on() 103 ret &= ((mmio_read_32(MCUSYS_DCM_CFG0) & in dcm_mp_cpusys_top_apb_dcm_is_on() 106 ret &= ((mmio_read_32(MP0_DCM_CFG0) & in dcm_mp_cpusys_top_apb_dcm_is_on() 148 ret &= ((mmio_read_32(BUS_PLLDIV_CFG) & in dcm_mp_cpusys_top_bus_pll_div_dcm_is_on() 178 ret &= ((mmio_read_32(MP0_DCM_CFG7) & in dcm_mp_cpusys_top_core_stall_dcm_is_on() 208 ret &= ((mmio_read_32(MCSI_DCM0) & in dcm_mp_cpusys_top_cpubiu_dcm_is_on() 388 ret &= ((mmio_read_32(MP0_DCM_CFG7) & in dcm_mp_cpusys_top_fcm_stall_dcm_is_on() 496 ret &= ((mmio_read_32(MP0_DCM_CFG0) & in dcm_mp_cpusys_top_mp0_qdcm_is_on() [all …]
|
/tf-a-ffa_el3_spmc/plat/intel/soc/stratix10/soc/ |
A D | s10_memory_controller.c | 82 hmc_clk = mmio_read_32(S10_SYSMGR_CORE_HMC_CLK); in check_hmc_clk() 213 data = mmio_read_32(S10_MPFE_IOHMC_CTRLCFG1); in configure_ddr_sched_ctrl_regs() 216 data = mmio_read_32(S10_MPFE_IOHMC_DRAMADDRW); in configure_ddr_sched_ctrl_regs() 239 data = mmio_read_32(S10_MPFE_IOHMC_CALTIMING0); in configure_ddr_sched_ctrl_regs() 244 data = mmio_read_32(S10_MPFE_IOHMC_CALTIMING1); in configure_ddr_sched_ctrl_regs() 249 data = mmio_read_32(S10_MPFE_IOHMC_CALTIMING2); in configure_ddr_sched_ctrl_regs() 252 data = mmio_read_32(S10_MPFE_IOHMC_CALTIMING3); in configure_ddr_sched_ctrl_regs() 256 data = mmio_read_32(S10_MPFE_IOHMC_CALTIMING4); in configure_ddr_sched_ctrl_regs() 262 data = mmio_read_32(S10_MPFE_IOHMC_CTRLCFG0); in configure_ddr_sched_ctrl_regs() 267 data = mmio_read_32(S10_MPFE_IOHMC_CTRLCFG0); in configure_ddr_sched_ctrl_regs() [all …]
|
/tf-a-ffa_el3_spmc/plat/imx/common/sci/ |
A D | imx8_mu.c | 15 reg = mmio_read_32(base + MU_ACR_OFFSET1); in MU_Resume() 28 uint32_t reg = mmio_read_32(base + MU_ACR_OFFSET1); in MU_EnableRxFullInt() 37 uint32_t reg = mmio_read_32(base + MU_ACR_OFFSET1); in MU_EnableGeneralInt() 49 while (!(mmio_read_32(base + MU_ASR_OFFSET1) & mask)) in MU_SendMessage() 59 while (!(mmio_read_32(base + MU_ASR_OFFSET1) & mask)) in MU_ReceiveMsg() 61 *msg = mmio_read_32(base + MU_ARR0_OFFSET1 + (regIndex * 4)); in MU_ReceiveMsg() 68 reg = mmio_read_32(base + MU_ACR_OFFSET1); in MU_Init()
|