Searched refs:PDR (Results 1 – 1 of 1) sorted by relevance
29 #define PDR(x) (0x0 + x / 8 * 4) macro99 val = readl(gchip->base + PDR(gpio)); in mb86s70_gpio_direction_output()104 writel(val, gchip->base + PDR(gpio)); in mb86s70_gpio_direction_output()119 return !!(readl(gchip->base + PDR(gpio)) & OFFSET(gpio)); in mb86s70_gpio_get()130 val = readl(gchip->base + PDR(gpio)); in mb86s70_gpio_set()135 writel(val, gchip->base + PDR(gpio)); in mb86s70_gpio_set()