Lines Matching refs:BCM2838GpioState
77 static uint32_t gpfsel_get(BCM2838GpioState *s, uint8_t reg) in gpfsel_get()
90 static void gpfsel_set(BCM2838GpioState *s, uint8_t reg, uint32_t value) in gpfsel_set()
127 static int gpfsel_is_out(BCM2838GpioState *s, int index) in gpfsel_is_out()
135 static void gpset(BCM2838GpioState *s, uint32_t val, uint8_t start, in gpset()
152 static void gpclr(BCM2838GpioState *s, uint32_t val, uint8_t start, in gpclr()
171 BCM2838GpioState *s = (BCM2838GpioState *)opaque; in bcm2838_gpio_read()
236 BCM2838GpioState *s = (BCM2838GpioState *)opaque; in bcm2838_gpio_write()
301 BCM2838GpioState *s = BCM2838_GPIO(dev); in bcm2838_gpio_reset()
332 VMSTATE_UINT8_ARRAY(fsel, BCM2838GpioState, BCM2838_GPIO_NUM),
333 VMSTATE_UINT32(lev0, BCM2838GpioState),
334 VMSTATE_UINT32(lev1, BCM2838GpioState),
335 VMSTATE_UINT8(sd_fsel, BCM2838GpioState),
336 VMSTATE_UINT32_ARRAY(pup_cntrl_reg, BCM2838GpioState,
344 BCM2838GpioState *s = BCM2838_GPIO(obj); in bcm2838_gpio_init()
358 BCM2838GpioState *s = BCM2838_GPIO(dev); in bcm2838_gpio_realize()
380 .instance_size = sizeof(BCM2838GpioState),