Home
last modified time | relevance | path

Searched refs:NRF51_GPIO_PINS (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/include/hw/gpio/
H A Dnrf51_gpio.h34 #define NRF51_GPIO_PINS 32 macro
61 uint32_t cnf[NRF51_GPIO_PINS];
66 qemu_irq output[NRF51_GPIO_PINS];
/openbmc/qemu/hw/gpio/
H A Dnrf51_gpio.c83 for (i = 0; i < NRF51_GPIO_PINS; i++) { in update_state()
143 for (i = 0; i < NRF51_GPIO_PINS; i++) { in reflect_dir_bit_in_cnf()
252 assert(line >= 0 && line < NRF51_GPIO_PINS); in nrf51_gpio_set()
274 for (i = 0; i < NRF51_GPIO_PINS; i++) { in nrf51_gpio_reset()
288 VMSTATE_UINT32_ARRAY(cnf, NRF51GPIOState, NRF51_GPIO_PINS),
303 qdev_init_gpio_in(DEVICE(s), nrf51_gpio_set, NRF51_GPIO_PINS); in nrf51_gpio_init()
304 qdev_init_gpio_out(DEVICE(s), s->output, NRF51_GPIO_PINS); in nrf51_gpio_init()
/openbmc/qemu/tests/qtest/
H A Dmicrobit-test.c290 for (i = 0; i < NRF51_GPIO_PINS; i++) { in test_nrf51_gpio()