Searched refs:DATA_REG_ADDR (Results 1 – 2 of 2) sorted by relevance
39 writel(1 << gpio, ®s->gpiodata[DATA_REG_ADDR(gpio)]); in gpio_set_value()41 writel(0, ®s->gpiodata[DATA_REG_ADDR(gpio)]); in gpio_set_value()51 val = readl(®s->gpiodata[DATA_REG_ADDR(gpio)]); in gpio_get_value()
21 #define DATA_REG_ADDR(gpio) (1 << (gpio + 2)) macro