Lines Matching refs:SIFIVEGPIOState
22 static void update_output_irq(SIFIVEGPIOState *s) in update_output_irq()
39 static void update_state(SIFIVEGPIOState *s) in update_state()
107 SIFIVEGPIOState *s = SIFIVE_GPIO(opaque); in sifive_gpio_read()
193 SIFIVEGPIOState *s = SIFIVE_GPIO(opaque); in sifive_gpio_write()
286 SIFIVEGPIOState *s = SIFIVE_GPIO(opaque); in sifive_gpio_set()
302 SIFIVEGPIOState *s = SIFIVE_GPIO(dev); in sifive_gpio_reset()
330 VMSTATE_UINT32(value, SIFIVEGPIOState),
331 VMSTATE_UINT32(input_en, SIFIVEGPIOState),
332 VMSTATE_UINT32(output_en, SIFIVEGPIOState),
333 VMSTATE_UINT32(port, SIFIVEGPIOState),
334 VMSTATE_UINT32(pue, SIFIVEGPIOState),
335 VMSTATE_UINT32(rise_ie, SIFIVEGPIOState),
336 VMSTATE_UINT32(rise_ip, SIFIVEGPIOState),
337 VMSTATE_UINT32(fall_ie, SIFIVEGPIOState),
338 VMSTATE_UINT32(fall_ip, SIFIVEGPIOState),
339 VMSTATE_UINT32(high_ie, SIFIVEGPIOState),
340 VMSTATE_UINT32(high_ip, SIFIVEGPIOState),
341 VMSTATE_UINT32(low_ie, SIFIVEGPIOState),
342 VMSTATE_UINT32(low_ip, SIFIVEGPIOState),
343 VMSTATE_UINT32(iof_en, SIFIVEGPIOState),
344 VMSTATE_UINT32(iof_sel, SIFIVEGPIOState),
345 VMSTATE_UINT32(out_xor, SIFIVEGPIOState),
346 VMSTATE_UINT32(in, SIFIVEGPIOState),
347 VMSTATE_UINT32(in_mask, SIFIVEGPIOState),
353 DEFINE_PROP_UINT32("ngpio", SIFIVEGPIOState, ngpio, SIFIVE_GPIO_PINS),
359 SIFIVEGPIOState *s = SIFIVE_GPIO(dev); in sifive_gpio_realize()
388 .instance_size = sizeof(SIFIVEGPIOState),