Home
last modified time | relevance | path

Searched refs:rcc_base (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-a/drivers/st/reset/
A Dstm32mp1_reset.c33 uintptr_t rcc_base = stm32mp_rcc_base(); in stm32mp_reset_assert() local
35 mmio_write_32(rcc_base + offset, bitmsk); in stm32mp_reset_assert()
40 while ((mmio_read_32(rcc_base + offset) & bitmsk) == 0U) { in stm32mp_reset_assert()
54 uintptr_t rcc_base = stm32mp_rcc_base(); in stm32mp_reset_deassert() local
56 mmio_write_32(rcc_base + offset, bitmsk); in stm32mp_reset_deassert()
61 while ((mmio_read_32(rcc_base + offset) & bitmsk) != 0U) { in stm32mp_reset_deassert()
/trusted-firmware-a/drivers/st/clk/
A Dstm32mp1_clk.c658 uintptr_t rcc_base = stm32mp_rcc_base(); in stm32mp1_rcc_is_secure() local
666 uintptr_t rcc_base = stm32mp_rcc_base(); in stm32mp1_rcc_is_mckprot() local
723 uintptr_t rcc_base = stm32mp_rcc_base(); in stm32mp1_clk_get_parent() local
777 uintptr_t rcc_base = stm32mp_rcc_base(); in stm32mp1_pll_get_fvco() local
832 uintptr_t rcc_base = stm32mp_rcc_base(); in get_clock_rate() local
1033 uintptr_t rcc_base = stm32mp_rcc_base(); in __clk_enable() local
1046 uintptr_t rcc_base = stm32mp_rcc_base(); in __clk_disable() local
1060 uintptr_t rcc_base = stm32mp_rcc_base(); in __clk_is_enabled() local
1754 mmio_write_32(rcc_base + RCC_TZCR, 0); in stm32mp1_clk_init()
1870 mmio_write_32(rcc_base + RCC_MPCKDIVR, in stm32mp1_clk_init()
[all …]
/trusted-firmware-a/plat/st/stm32mp1/
A Dbl2_plat_setup.c176 uintptr_t rcc_base; in bl2_el3_plat_arch_setup() local
207 rcc_base = stm32mp_rcc_base(); in bl2_el3_plat_arch_setup()
225 if ((mmio_read_32(rcc_base + RCC_BDCR) & RCC_BDCR_RTCSRC_MASK) == 0U) { in bl2_el3_plat_arch_setup()
226 mmio_setbits_32(rcc_base + RCC_BDCR, RCC_BDCR_VSWRST); in bl2_el3_plat_arch_setup()
228 while ((mmio_read_32(rcc_base + RCC_BDCR) & RCC_BDCR_VSWRST) == in bl2_el3_plat_arch_setup()
233 mmio_clrbits_32(rcc_base + RCC_BDCR, RCC_BDCR_VSWRST); in bl2_el3_plat_arch_setup()
237 mmio_clrbits_32(rcc_base + RCC_TZCR, RCC_TZCR_MCKPROT); in bl2_el3_plat_arch_setup()
A Dstm32mp1_dbgmcu.c37 uintptr_t rcc_base = get_rcc_base(); in stm32mp1_dbgmcu_init() local
51 mmio_setbits_32(rcc_base + RCC_DBGCFGR, RCC_DBGCFGR_DBGCKEN); in stm32mp1_dbgmcu_init()

Completed in 9 milliseconds