Home
last modified time | relevance | path

Searched refs:PMUCRU_BASE (Results 1 – 9 of 9) sorted by relevance

/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/pmu/
Dm0_ctl.c27 mmio_setbits_32(PMUCRU_BASE + PMUCRU_GATEDIS_CON0, 0x02); in m0_init()
37 mmio_write_32(PMUCRU_BASE + PMUCRU_CLKSEL_CON0, in m0_init()
40 mmio_write_32(PMUCRU_BASE + PMUCRU_CLKGATE_CON2, WMSK_BIT(5)); in m0_init()
57 mmio_write_32(PMUCRU_BASE + PMUCRU_CLKGATE_CON2, in m0_start()
64 mmio_write_32(PMUCRU_BASE + PMUCRU_SOFTRST_CON0, in m0_start()
69 mmio_write_32(PMUCRU_BASE + PMUCRU_SOFTRST_CON0, in m0_start()
77 mmio_write_32(PMUCRU_BASE + PMUCRU_SOFTRST_CON0, in m0_stop()
81 mmio_write_32(PMUCRU_BASE + PMUCRU_CLKGATE_CON2, in m0_stop()
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/soc/
Dsoc.c56 mmio_write_32(PMUCRU_BASE + PMUCRU_PPLL_CON(3), PLL_SLOW_MODE); in set_pll_slow_mode()
65 mmio_write_32(PMUCRU_BASE + PMUCRU_PPLL_CON(3), PLL_NOMAL_MODE); in set_pll_normal_mode()
74 mmio_write_32(PMUCRU_BASE + in set_pll_bypass()
187 mmio_read_32(PMUCRU_BASE + PMUCRU_GATE_CON(i)); in clk_gate_con_save()
199 mmio_write_32(PMUCRU_BASE + PMUCRU_GATE_CON(i), REG_SOC_WMSK); in clk_gate_con_disable()
210 mmio_write_32(PMUCRU_BASE + PMUCRU_GATE_CON(i), in clk_gate_con_restore()
221 mmio_write_32(PMUCRU_BASE + PMUCRU_PPLL_CON(3), in set_plls_nobypass()
239 pmu_slp_data.pmucru_rstnhold_con0 = mmio_read_32(PMUCRU_BASE + in set_pmu_rsthold()
241 pmu_slp_data.pmucru_rstnhold_con1 = mmio_read_32(PMUCRU_BASE + in set_pmu_rsthold()
263 mmio_write_32(PMUCRU_BASE + PMUCRU_RSTNHOLD_CON0, rstnhold_cofig0); in set_pmu_rsthold()
[all …]
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/m0/src/
Ddram.c18 gatedis_con0 = mmio_read_32(PMUCRU_BASE + PMU_CRU_GATEDIS_CON0); in idle_port()
19 mmio_write_32(PMUCRU_BASE + PMU_CRU_GATEDIS_CON0, 0x3fffffff); in idle_port()
38 mmio_write_32(PMUCRU_BASE + PMU_CRU_GATEDIS_CON0, gatedis_con0); in deidle_port()
/external/arm-trusted-firmware/plat/rockchip/px30/drivers/soc/
Dsoc.c56 mmio_read_32(PMUCRU_BASE + CRU_PMU_CLKGATES_CON(i)); in clk_gate_con_save()
69 mmio_write_32(PMUCRU_BASE + CRU_PMU_CLKGATES_CON(i), in clk_gate_con_restore()
82 mmio_write_32(PMUCRU_BASE + CRU_PMU_CLKGATES_CON(i), in clk_gate_con_disable()
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/gpio/
Drk3399_gpio.c77 clock_state = (mmio_read_32(PMUCRU_BASE + in gpio_get_clock()
80 mmio_write_32(PMUCRU_BASE + CRU_PMU_CLKGATE_CON(1), in gpio_get_clock()
85 clock_state = (mmio_read_32(PMUCRU_BASE + in gpio_get_clock()
88 mmio_write_32(PMUCRU_BASE + CRU_PMU_CLKGATE_CON(1), in gpio_get_clock()
130 mmio_write_32(PMUCRU_BASE + CRU_PMU_CLKGATE_CON(1), in gpio_put_clock()
135 mmio_write_32(PMUCRU_BASE + CRU_PMU_CLKGATE_CON(1), in gpio_put_clock()
/external/arm-trusted-firmware/plat/rockchip/px30/drivers/pmu/
Dpmu.c557 mmio_read_32(PMUCRU_BASE + CRU_PMU_CLKGATES_CON(i)); in clk_gate_suspend()
558 mmio_write_32(PMUCRU_BASE + CRU_PMU_CLKGATES_CON(i), in clk_gate_suspend()
568 mmio_write_32(PMUCRU_BASE + CRU_PMU_CLKGATES_CON(i), in clk_gate_resume()
581 mmio_read_32(PMUCRU_BASE + CRU_PMU_CLKSELS_CON(0)); in pvtm_32k_config()
629 mmio_write_32(PMUCRU_BASE + CRU_PMU_CLKSELS_CON(0), in pvtm_32k_config()
635 mmio_write_32(PMUCRU_BASE + CRU_PMU_CLKSELS_CON(0), in pvtm_32k_config_restore()
889 mmio_write_32(PMUCRU_BASE + CRU_PMU_MODE, in pll_set_mode()
901 pll_base = PMUCRU_BASE + CRU_PLL_CONS(0, 0); in pll_suspend()
920 pll_base = PMUCRU_BASE + CRU_PLL_CONS(0, 0); in pll_resume()
934 ddr_data.cru_pmu_mode_save = mmio_read_32(PMUCRU_BASE + CRU_PMU_MODE); in pm_plls_suspend()
/external/arm-trusted-firmware/plat/rockchip/px30/
Dpx30_def.h100 #define PMUCRU_BASE 0xff2bc000 macro
/external/arm-trusted-firmware/plat/rockchip/rk3399/include/shared/
Daddressmap_shared.h37 #define PMUCRU_BASE (MMIO_BASE + 0x07750000) macro
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/dram/
Dsuspend.c481 mmio_write_32(PMUCRU_BASE + CRU_PMU_RSTHOLD_CON(1), in dram_all_config()