Searched refs:gpcr (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/arch/arm/common/ |
D | scoop.c | 91 unsigned short gpcr; in scoop_gpio_direction_input() local 95 gpcr = ioread16(sdev->base + SCOOP_GPCR); in scoop_gpio_direction_input() 96 gpcr &= ~(1 << (offset + 1)); in scoop_gpio_direction_input() 97 iowrite16(gpcr, sdev->base + SCOOP_GPCR); in scoop_gpio_direction_input() 109 unsigned short gpcr; in scoop_gpio_direction_output() local 115 gpcr = ioread16(sdev->base + SCOOP_GPCR); in scoop_gpio_direction_output() 116 gpcr |= 1 << (offset + 1); in scoop_gpio_direction_output() 117 iowrite16(gpcr, sdev->base + SCOOP_GPCR); in scoop_gpio_direction_output()
|
/Linux-v5.4/drivers/gpio/ |
D | gpio-intel-mid.c | 109 void __iomem *gpsr, *gpcr; in intel_gpio_set() local 115 gpcr = gpio_reg(chip, offset, GPCR); in intel_gpio_set() 116 writel(BIT(offset % 32), gpcr); in intel_gpio_set()
|
D | gpio-merrifield.c | 106 void __iomem *gpsr, *gpcr; in mrfld_gpio_set() local 115 gpcr = gpio_reg(chip, offset, GPCR); in mrfld_gpio_set() 116 writel(BIT(offset % 32), gpcr); in mrfld_gpio_set()
|