Lines Matching refs:gpdr
56 u32 gpdr; member
109 void __iomem *gpdr; in tng_gpio_direction_input() local
113 gpdr = gpio_reg_and_bit(chip, offset, GPDR, &shift); in tng_gpio_direction_input()
117 value = readl(gpdr); in tng_gpio_direction_input()
119 writel(value, gpdr); in tng_gpio_direction_input()
128 void __iomem *gpdr; in tng_gpio_direction_output() local
131 gpdr = gpio_reg_and_bit(chip, offset, GPDR, &shift); in tng_gpio_direction_output()
136 value = readl(gpdr); in tng_gpio_direction_output()
138 writel(value, gpdr); in tng_gpio_direction_output()
145 void __iomem *gpdr; in tng_gpio_get_direction() local
148 gpdr = gpio_reg_and_bit(chip, offset, GPDR, &shift); in tng_gpio_get_direction()
150 if (readl(gpdr) & BIT(shift)) in tng_gpio_get_direction()
476 ctx->gpdr = readl(gpio_reg(&priv->chip, base, GPDR)); in tng_gpio_suspend()
499 writel(ctx->gpdr, gpio_reg(&priv->chip, base, GPDR)); in tng_gpio_resume()