Searched refs:aw_gpio_softc (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/arm/allwinner/ |
H A D | aw_gpio.c | 341 struct aw_gpio_softc { struct 397 static int aw_gpio_pin_get_locked(struct aw_gpio_softc *sc, uint32_t pin, unsigned int *value); 398 static int aw_gpio_pin_set_locked(struct aw_gpio_softc *sc, uint32_t pin, unsigned int value); 402 static void aw_gpio_pic_disable_intr_locked(struct aw_gpio_softc *sc, struct intr_irqsrc *isrc); 404 static int aw_gpio_register_isrcs(struct aw_gpio_softc *sc); 412 aw_gpio_get_function(struct aw_gpio_softc *sc, uint32_t pin) in aw_gpio_get_function() 431 aw_gpio_set_function(struct aw_gpio_softc *sc, uint32_t pin, uint32_t f) in aw_gpio_set_function() 455 aw_gpio_get_pud(struct aw_gpio_softc *sc, uint32_t pin) in aw_gpio_get_pud() 472 aw_gpio_set_pud(struct aw_gpio_softc *sc, uint32_t pin, uint32_t state) in aw_gpio_set_pud() 493 aw_gpio_get_drv(struct aw_gpio_softc *sc, uint32_t pin) in aw_gpio_get_drv() [all …]
|