Searched refs:gpcr (Results 1 – 2 of 2) sorted by relevance
91 unsigned short gpcr; in scoop_gpio_direction_input() local95 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() local115 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()
107 void __iomem *gpsr, *gpcr; in mrfld_gpio_set() local116 gpcr = gpio_reg(chip, offset, GPCR); in mrfld_gpio_set()117 writel(BIT(offset % 32), gpcr); in mrfld_gpio_set()
Completed in 7 milliseconds