Searched refs:NRF51_GPIO_BASE (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | microbit-test.c | 286 actual = qtest_readl(qts, NRF51_GPIO_BASE + reset_state[i].addr); in test_nrf51_gpio() 292 actual = qtest_readl(qts, NRF51_GPIO_BASE + in test_nrf51_gpio() 300 qtest_writel(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_DIRSET, expected); in test_nrf51_gpio() 301 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_DIR); in test_nrf51_gpio() 303 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_START) in test_nrf51_gpio() 306 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_END) & 0x01; in test_nrf51_gpio() 310 qtest_writel(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_DIRCLR, 0x80000001); in test_nrf51_gpio() 311 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_DIR); in test_nrf51_gpio() 313 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_START) in test_nrf51_gpio() 316 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_END) & 0x01; in test_nrf51_gpio() [all …]
|
/openbmc/qemu/include/hw/arm/ |
H A D | nrf51.h | 33 #define NRF51_GPIO_BASE 0x50000000 macro
|
/openbmc/qemu/hw/arm/ |
H A D | nrf51_soc.c | 146 memory_region_add_subregion_overlap(&s->container, NRF51_GPIO_BASE, mr, 0); in nrf51_soc_realize()
|