Searched refs:RCC_BASE_ADDR (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | stm32l4x5_usart-test.c | 17 #define RCC_BASE_ADDR 0x40021000 macro 119 qtest_writel(qts, (RCC_BASE_ADDR + A_CR), R_CR_MSION_MASK); in init_clocks() 122 qtest_writel(qts, (RCC_BASE_ADDR + A_CFGR), 0); in init_clocks() 132 qtest_writel(qts, (RCC_BASE_ADDR + A_PLLCFGR), R_PLLCFGR_PLLREN_MASK | in init_clocks() 138 value = qtest_readl(qts, (RCC_BASE_ADDR + A_CR)); in init_clocks() 139 qtest_writel(qts, (RCC_BASE_ADDR + A_CR), value | R_CR_PLLON_MASK); in init_clocks() 142 qtest_writel(qts, (RCC_BASE_ADDR + A_CFGR), 0); in init_clocks() 145 qtest_writel(qts, (RCC_BASE_ADDR + A_CCIPR), 0); in init_clocks() 148 value = qtest_readl(qts, (RCC_BASE_ADDR + A_CFGR)); in init_clocks() 149 qtest_writel(qts, (RCC_BASE_ADDR + A_CFGR), (value & ~R_CFGR_SW_MASK) | 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()
|