Lines Matching refs:regval
58 unsigned int regval; in nuc900_gpio_get() local
60 regval = __raw_readl(pio); in nuc900_gpio_get()
61 regval &= GPIO_GPIO(offset); in nuc900_gpio_get()
63 return (regval != 0); in nuc900_gpio_get()
70 unsigned int regval; in nuc900_gpio_set() local
75 regval = __raw_readl(pio); in nuc900_gpio_set()
78 regval |= GPIO_GPIO(offset); in nuc900_gpio_set()
80 regval &= ~GPIO_GPIO(offset); in nuc900_gpio_set()
82 __raw_writel(regval, pio); in nuc900_gpio_set()
91 unsigned int regval; in nuc900_dir_input() local
96 regval = __raw_readl(pio); in nuc900_dir_input()
97 regval &= ~GPIO_GPIO(offset); in nuc900_dir_input()
98 __raw_writel(regval, pio); in nuc900_dir_input()
110 unsigned int regval; in nuc900_dir_output() local
115 regval = __raw_readl(pio); in nuc900_dir_output()
116 regval |= GPIO_GPIO(offset); in nuc900_dir_output()
117 __raw_writel(regval, pio); in nuc900_dir_output()
119 regval = __raw_readl(outreg); in nuc900_dir_output()
122 regval |= GPIO_GPIO(offset); in nuc900_dir_output()
124 regval &= ~GPIO_GPIO(offset); in nuc900_dir_output()
126 __raw_writel(regval, outreg); in nuc900_dir_output()