Lines Matching refs:AW_GPIO_READ
408 #define AW_GPIO_READ(_sc, _off) \ macro
425 func = AW_GPIO_READ(sc, AW_GPIO_GP_CFG(sc, bank, pin >> 3)); in aw_gpio_get_function()
446 data = AW_GPIO_READ(sc, AW_GPIO_GP_CFG(sc, bank, pin >> 3)); in aw_gpio_set_function()
466 val = AW_GPIO_READ(sc, AW_GPIO_GP_PUL(sc, bank, pin >> 4)); in aw_gpio_get_pud()
486 val = AW_GPIO_READ(sc, AW_GPIO_GP_PUL(sc, bank, pin >> 4)); in aw_gpio_set_pud()
505 val = AW_GPIO_READ(sc, AW_GPIO_GP_DRV(sc, bank, idx)); in aw_gpio_get_drv()
526 val = AW_GPIO_READ(sc, AW_GPIO_GP_DRV(sc, bank, idx)); in aw_gpio_set_drv()
705 data = AW_GPIO_READ(sc, AW_GPIO_GP_DAT(sc, bank)); in aw_gpio_pin_set_locked()
753 reg_data = AW_GPIO_READ(sc, AW_GPIO_GP_DAT(sc, bank)); in aw_gpio_pin_get_locked()
860 data = AW_GPIO_READ(sc, AW_GPIO_GP_DAT(sc, bank)); in aw_gpio_pin_toggle()
894 data = AW_GPIO_READ(sc, AW_GPIO_GP_DAT(sc, bank)); in aw_gpio_pin_access_32()
1225 reg = AW_GPIO_READ(sc, AW_GPIO_GP_INT_STA(sc->gpio_pic_irqsrc[irq].bank)); in aw_gpio_intr()
1296 reg = AW_GPIO_READ(sc, AW_GPIO_GP_INT_CTL(sc->gpio_pic_irqsrc[irq].bank)); in aw_gpio_pic_disable_intr_locked()
1325 reg = AW_GPIO_READ(sc, AW_GPIO_GP_INT_CTL(sc->gpio_pic_irqsrc[irq].bank)); in aw_gpio_pic_enable_intr()
1447 reg = AW_GPIO_READ(sc, in aw_gpio_pic_setup_intr()