Searched refs:NRF51_GPIO_REG_CNF_START (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | microbit-test.c | 293 NRF51_GPIO_REG_CNF_START + i * 4); in test_nrf51_gpio() 303 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_START) in test_nrf51_gpio() 313 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_START) in test_nrf51_gpio() 324 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_START) in test_nrf51_gpio() 334 qtest_writel(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_START, 0x00); in test_nrf51_gpio() 344 qtest_writel(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_START, 0x02); in test_nrf51_gpio() 348 qtest_writel(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_START, 0b0000); in test_nrf51_gpio() 354 qtest_writel(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_START, 0x02); in test_nrf51_gpio() 364 qtest_writel(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_START, 0x02); in test_nrf51_gpio() 376 qtest_writel(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_START, 0b01); in test_nrf51_gpio() [all …]
|
/openbmc/qemu/hw/gpio/ |
H A D | nrf51_gpio.c | 167 case NRF51_GPIO_REG_CNF_START ... NRF51_GPIO_REG_CNF_END: in nrf51_gpio_read() 168 idx = (offset - NRF51_GPIO_REG_CNF_START) / 4; in nrf51_gpio_read() 219 case NRF51_GPIO_REG_CNF_START ... NRF51_GPIO_REG_CNF_END: in nrf51_gpio_write() 220 idx = (offset - NRF51_GPIO_REG_CNF_START) / 4; in nrf51_gpio_write()
|
/openbmc/qemu/include/hw/gpio/ |
H A D | nrf51_gpio.h | 45 #define NRF51_GPIO_REG_CNF_START 0x700 macro
|