Searched refs:GPIO_DIR (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/gpio/ |
D | gpio-loongson1.c | 18 #define GPIO_DIR 0x10 macro 62 NULL, gpio_reg_base + GPIO_DIR, 0); in ls1x_gpio_probe()
|
D | gpio-mpc8xxx.c | 28 #define GPIO_DIR 0x00 macro 91 out_mask = gc->read_reg(mpc8xxx_gc->regs + GPIO_DIR); in mpc8572_gpio_get() 354 mpc8xxx_gc->regs + GPIO_DIR, NULL, in mpc8xxx_probe() 363 mpc8xxx_gc->regs + GPIO_DIR, NULL, in mpc8xxx_probe()
|
D | gpio-ftgpio010.c | 23 #define GPIO_DIR 0x08 macro 264 g->base + GPIO_DIR, in ftgpio_gpio_probe()
|
/Linux-v5.4/arch/unicore32/include/asm/ |
D | gpio.h | 61 #define GPIO_DIR (~((GPIO_IN) | 0xf0000000)) macro
|
/Linux-v5.4/arch/unicore32/kernel/ |
D | gpio.c | 99 writel(GPIO_DIR, GPIO_GPDR); in puv3_init_gpio()
|
/Linux-v5.4/drivers/pinctrl/ |
D | pinctrl-xway.c | 45 #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()
|