Home
last modified time | relevance | path

Searched refs:PDR (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpio/
H A Dgpio-mb86s7x.c29 #define PDR(x) (0x0 + x / 8 * 4) macro
99 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()