Searched refs:S6_REG_GPIO (Results 1 – 2 of 2) sorted by relevance
38 writeb(0, S6_REG_GPIO + S6_GPIO_DIR + S6_GPIO_OFFSET(off)); in direction_input()44 return readb(S6_REG_GPIO + S6_GPIO_DATA + S6_GPIO_OFFSET(off)); in get()50 writeb(~0, S6_REG_GPIO + S6_GPIO_DIR + rel); in direction_output()51 writeb(val ? ~0 : 0, S6_REG_GPIO + S6_GPIO_DATA + rel); in direction_output()57 writeb(val ? ~0 : 0, S6_REG_GPIO + S6_GPIO_DATA + S6_GPIO_OFFSET(off)); in set()82 writeb(afsel, S6_REG_GPIO + S6_GPIO_BANK(0) + S6_GPIO_AFSEL); in s6_gpio_init()83 writeb(afsel >> 8, S6_REG_GPIO + S6_GPIO_BANK(1) + S6_GPIO_AFSEL); in s6_gpio_init()84 writeb(afsel >> 16, S6_REG_GPIO + S6_GPIO_BANK(2) + S6_GPIO_AFSEL); in s6_gpio_init()90 writeb(1 << (d->irq - IRQ_BASE), S6_REG_GPIO + S6_GPIO_IC); in ack()95 u8 r = readb(S6_REG_GPIO + S6_GPIO_IE); in mask()[all …]
45 #define S6_REG_GPIO (S6_REG_APB + 0x8000) macro