Lines Matching refs:NPCM7xxGPIOState
68 static void npcm7xx_gpio_update_events(NPCM7xxGPIOState *s, uint32_t din_diff) in npcm7xx_gpio_update_events()
88 static void npcm7xx_gpio_update_pins(NPCM7xxGPIOState *s, uint32_t diff) in npcm7xx_gpio_update_pins()
152 static bool npcm7xx_gpio_is_locked(NPCM7xxGPIOState *s) in npcm7xx_gpio_is_locked()
161 NPCM7xxGPIOState *s = opaque; in npcm7xx_gpio_regs_read()
193 NPCM7xxGPIOState *s = opaque; in npcm7xx_gpio_regs_write()
331 NPCM7xxGPIOState *s = opaque; in npcm7xx_gpio_set_input()
345 NPCM7xxGPIOState *s = NPCM7XX_GPIO(obj); in npcm7xx_gpio_enter_reset()
357 NPCM7xxGPIOState *s = NPCM7XX_GPIO(obj); in npcm7xx_gpio_hold_reset()
364 NPCM7xxGPIOState *s = NPCM7XX_GPIO(obj); in npcm7xx_gpio_init()
381 VMSTATE_UINT32(pin_level, NPCM7xxGPIOState),
382 VMSTATE_UINT32(ext_level, NPCM7xxGPIOState),
383 VMSTATE_UINT32(ext_driven, NPCM7xxGPIOState),
384 VMSTATE_UINT32_ARRAY(regs, NPCM7xxGPIOState, NPCM7XX_GPIO_NR_REGS),
391 DEFINE_PROP_UINT32("reset-pullup", NPCM7xxGPIOState, reset_pu, 0),
393 DEFINE_PROP_UINT32("reset-pulldown", NPCM7xxGPIOState, reset_pd, 0),
395 DEFINE_PROP_UINT32("reset-osrc", NPCM7xxGPIOState, reset_osrc, 0),
397 DEFINE_PROP_UINT32("reset-odsc", NPCM7xxGPIOState, reset_odsc, 0),
419 .instance_size = sizeof(NPCM7xxGPIOState),