Searched refs:S6_GPIO_OFFSET (Results 1 – 1 of 1) sorted by relevance
33 #define S6_GPIO_OFFSET(nr) \ macro38 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()49 unsigned rel = S6_GPIO_OFFSET(off); in direction_output()57 writeb(val ? ~0 : 0, S6_REG_GPIO + S6_GPIO_DATA + S6_GPIO_OFFSET(off)); in set()