Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpio-loongson1.c18 #define GPIO_DIR 0x10 macro
62 NULL, gpio_reg_base + GPIO_DIR, 0); in ls1x_gpio_probe()
Dgpio-mpc8xxx.c32 #define GPIO_DIR 0x00 macro
74 out_mask = gc->read_reg(mpc8xxx_gc->regs + GPIO_DIR); in mpc8572_gpio_get()
333 mpc8xxx_gc->regs + GPIO_DIR, NULL, in mpc8xxx_probe()
342 mpc8xxx_gc->regs + GPIO_DIR, NULL, in mpc8xxx_probe()
Dgpio-visconti.c21 #define GPIO_DIR 0x00 macro
162 priv->base + GPIO_DIR, in visconti_gpio_probe()
Dgpio-ftgpio010.c23 #define GPIO_DIR 0x08 macro
263 g->base + GPIO_DIR, in ftgpio_gpio_probe()
/drivers/pinctrl/
Dpinctrl-equilibrium.h24 #define GPIO_DIR 0x8 /* Direction Register */ macro
Dpinctrl-xway.c45 #define GPIO_DIR(p) (GPIO_BASE(p) + 0x08) macro
1373 reg = GPIO_DIR(pin); in xway_pinconf_get()
1447 reg = GPIO_DIR(pin); in xway_pinconf_set()
1554 gpio_clearbit(info->membase[0], GPIO_DIR(pin), PORT_PIN(pin)); in xway_gpio_dir_in()
1567 gpio_setbit(info->membase[0], GPIO_DIR(pin), PORT_PIN(pin)); in xway_gpio_dir_out()
Dpinctrl-equilibrium.c239 gctrl->membase + GPIO_DIR, in gpiolib_reg()
427 val = !!(readl(gctrl->membase + GPIO_DIR) & BIT(offset)); in eqbr_pinconf_get()