Searched refs:gpcr (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/arch/arm/common/
H A Dscoop.c95 unsigned short gpcr; scoop_gpio_direction_input() local
99 gpcr = ioread16(sdev->base + SCOOP_GPCR); scoop_gpio_direction_input()
100 gpcr &= ~(1 << (offset + 1)); scoop_gpio_direction_input()
101 iowrite16(gpcr, sdev->base + SCOOP_GPCR); scoop_gpio_direction_input()
113 unsigned short gpcr; scoop_gpio_direction_output() local
119 gpcr = ioread16(sdev->base + SCOOP_GPCR); scoop_gpio_direction_output()
120 gpcr |= 1 << (offset + 1); scoop_gpio_direction_output()
121 iowrite16(gpcr, sdev->base + SCOOP_GPCR); scoop_gpio_direction_output()
/linux-4.1.27/drivers/misc/
H A Dioc4.c146 union ioc4_gpcr gpcr; ioc4_clock_calibrate() local
152 gpcr.raw = 0; ioc4_clock_calibrate()
153 gpcr.fields.dir = IOC4_GPCR_DIR_0; ioc4_clock_calibrate()
154 gpcr.fields.int_out_en = 1; ioc4_clock_calibrate()
155 writel(gpcr.raw, &idd->idd_misc_regs->gpcr_s.raw); ioc4_clock_calibrate()
/linux-4.1.27/drivers/gpio/
H A Dgpio-intel-mid.c128 void __iomem *gpsr, *gpcr; intel_gpio_set() local
134 gpcr = gpio_reg(chip, offset, GPCR); intel_gpio_set()
135 writel(BIT(offset % 32), gpcr); intel_gpio_set()

Completed in 93 milliseconds