Searched refs:GPIO_DIR (Results 1 – 8 of 8) sorted by relevance
/openbmc/u-boot/board/varisys/cyrus/ |
H A D | cyrus.c | 25 #define GPIO_DIR 0x3c000004 macro 53 setbits_be32(&pgpio->gpdir, GPIO_DIR); in board_early_init_f()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-mpc8xxx.c | 26 #define GPIO_DIR 0x00 macro 68 out_mask = gc->read_reg(mpc8xxx_gc->regs + GPIO_DIR); in mpc8572_gpio_get() 327 mpc8xxx_gc->regs + GPIO_DIR, NULL, in mpc8xxx_probe() 336 mpc8xxx_gc->regs + GPIO_DIR, NULL, in mpc8xxx_probe() 379 gc->read_reg(mpc8xxx_gc->regs + GPIO_DIR); in mpc8xxx_probe()
|
H A D | gpio-loongson1.c | 15 #define GPIO_DIR 0x10 macro 64 NULL, ls1x_gc->reg_base + GPIO_DIR, 0); in ls1x_gpio_probe()
|
H A D | gpio-visconti.c | 22 #define GPIO_DIR 0x00 macro 195 priv->base + GPIO_DIR, in visconti_gpio_probe()
|
H A D | gpio-ftgpio010.c | 23 #define GPIO_DIR 0x08 macro 273 g->base + GPIO_DIR, in ftgpio_gpio_probe()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-equilibrium.h | 24 #define GPIO_DIR 0x8 /* Direction Register */ macro
|
H A D | pinctrl-xway.c | 45 #define GPIO_DIR(p) (GPIO_BASE(p) + 0x08) macro 1136 reg = GPIO_DIR(pin); in xway_pinconf_get() 1210 reg = GPIO_DIR(pin); in xway_pinconf_set() 1317 gpio_clearbit(info->membase[0], GPIO_DIR(pin), PORT_PIN(pin)); in xway_gpio_dir_in() 1330 gpio_setbit(info->membase[0], GPIO_DIR(pin), PORT_PIN(pin)); in xway_gpio_dir_out()
|
H A D | pinctrl-equilibrium.c | 244 gctrl->membase + GPIO_DIR, in gpiolib_reg() 432 val = !!(readl(gctrl->membase + GPIO_DIR) & BIT(offset)); in eqbr_pinconf_get()
|