Searched refs:RCC_BASE_ADDR (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | stm32l4x5_usart-test.c | 16 #define RCC_BASE_ADDR 0x40021000 macro 118 qtest_writel(qts, (RCC_BASE_ADDR + A_CR), R_CR_MSION_MASK); in init_clocks() 121 qtest_writel(qts, (RCC_BASE_ADDR + A_CFGR), 0); in init_clocks() 137 value = qtest_readl(qts, (RCC_BASE_ADDR + A_CR)); in init_clocks() 141 qtest_writel(qts, (RCC_BASE_ADDR + A_CFGR), 0); in init_clocks() 144 qtest_writel(qts, (RCC_BASE_ADDR + A_CCIPR), 0); in init_clocks() 147 value = qtest_readl(qts, (RCC_BASE_ADDR + A_CFGR)); in init_clocks() 159 qtest_writel(qts, (RCC_BASE_ADDR + A_APB2ENR), in init_clocks() 165 qtest_writel(qts, (RCC_BASE_ADDR + A_CCIPR), 0); in init_clocks() 168 qtest_writel(qts, (RCC_BASE_ADDR + A_APB2RSTR), 1 << 14); in init_clocks() [all …]
|
H A D | stm32l4x5_rcc-test.c | 18 #define RCC_BASE_ADDR 0x40021000 macro 41 writel(RCC_BASE_ADDR + offset, value); in rcc_writel() 46 return readl(RCC_BASE_ADDR + offset); in rcc_readl()
|