Home
last modified time | relevance | path

Searched refs:NPCM7XX_GPIO_NR_PINS (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/include/hw/gpio/
H A Dnpcm7xx_gpio.h22 #define NPCM7XX_GPIO_NR_PINS (32) macro
42 qemu_irq output[NPCM7XX_GPIO_NR_PINS];
/openbmc/qemu/hw/gpio/
H A Dnpcm7xx_gpio.c132 for (i = 0; i < NPCM7XX_GPIO_NR_PINS; i++) { in npcm7xx_gpio_update_pins()
335 g_assert(line >= 0 && line < NPCM7XX_GPIO_NR_PINS); in npcm7xx_gpio_set_input()
372 qdev_init_gpio_in(dev, npcm7xx_gpio_set_input, NPCM7XX_GPIO_NR_PINS); in npcm7xx_gpio_init()
373 qdev_init_gpio_out(dev, s->output, NPCM7XX_GPIO_NR_PINS); in npcm7xx_gpio_init()