Lines Matching refs:aw_gpio_softc
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()
511 aw_gpio_set_drv(struct aw_gpio_softc *sc, uint32_t pin, uint32_t drive) in aw_gpio_set_drv()
533 aw_gpio_pin_configure(struct aw_gpio_softc *sc, uint32_t pin, uint32_t flags) in aw_gpio_pin_configure()
582 struct aw_gpio_softc *sc; in aw_gpio_get_bus()
592 struct aw_gpio_softc *sc; in aw_gpio_pin_max()
603 struct aw_gpio_softc *sc; in aw_gpio_pin_getcaps()
619 struct aw_gpio_softc *sc; in aw_gpio_pin_getflags()
661 struct aw_gpio_softc *sc; in aw_gpio_pin_getname()
677 struct aw_gpio_softc *sc; in aw_gpio_pin_setflags()
692 aw_gpio_pin_set_locked(struct aw_gpio_softc *sc, uint32_t pin, in aw_gpio_pin_set_locked()
718 struct aw_gpio_softc *sc; in aw_gpio_pin_set()
731 aw_gpio_pin_get_locked(struct aw_gpio_softc *sc,uint32_t pin, in aw_gpio_pin_get_locked()
834 struct aw_gpio_softc *sc; in aw_gpio_pin_get()
849 struct aw_gpio_softc *sc; in aw_gpio_pin_toggle()
875 struct aw_gpio_softc *sc; in aw_gpio_pin_access_32()
910 struct aw_gpio_softc *sc; in aw_gpio_pin_config_32()
941 struct aw_gpio_softc *sc; in aw_gpio_map_gpios()
959 aw_find_pinnum_by_name(struct aw_gpio_softc *sc, const char *pinname) in aw_find_pinnum_by_name()
971 aw_find_pin_func(struct aw_gpio_softc *sc, int pin, const char *func) in aw_find_pin_func()
986 struct aw_gpio_softc *sc; in aw_fdt_configure_pins()
1049 struct aw_gpio_softc *sc = arg; in aw_gpio_enable_bank_supply()
1092 struct aw_gpio_softc *sc; in aw_gpio_attach()
1213 struct aw_gpio_softc *sc; in aw_gpio_intr()
1218 sc = (struct aw_gpio_softc *)arg; in aw_gpio_intr()
1244 aw_gpio_register_isrcs(struct aw_gpio_softc *sc) in aw_gpio_register_isrcs()
1289 aw_gpio_pic_disable_intr_locked(struct aw_gpio_softc *sc, struct intr_irqsrc *isrc) in aw_gpio_pic_disable_intr_locked()
1306 struct aw_gpio_softc *sc; in aw_gpio_pic_disable_intr()
1318 struct aw_gpio_softc *sc; in aw_gpio_pic_enable_intr()
1334 aw_gpio_pic_map_gpio(struct aw_gpio_softc *sc, struct intr_map_data_gpio *dag, in aw_gpio_pic_map_gpio()
1374 struct aw_gpio_softc *sc; in aw_gpio_pic_map_intr()
1398 struct aw_gpio_softc *sc; in aw_gpio_pic_setup_intr()
1466 struct aw_gpio_softc *sc; in aw_gpio_pic_teardown_intr()
1483 struct aw_gpio_softc *sc; in aw_gpio_pic_post_filter()
1496 struct aw_gpio_softc *sc; in aw_gpio_pic_post_ithread()
1510 struct aw_gpio_softc *sc; in aw_gpio_pic_pre_ithread()
1569 sizeof(struct aw_gpio_softc),