Home
last modified time | relevance | path

Searched refs:gpio_dir0 (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/arch/mips/ar7/
Dgpio.c94 void __iomem *gpio_dir0 = gpch->regs + TITAN_GPIO_DIR_0; in titan_gpio_direction_input() local
100 writel(readl(gpio >> 5 ? gpio_dir1 : gpio_dir0) | (1 << (gpio & 0x1f)), in titan_gpio_direction_input()
101 gpio >> 5 ? gpio_dir1 : gpio_dir0); in titan_gpio_direction_input()
123 void __iomem *gpio_dir0 = gpch->regs + TITAN_GPIO_DIR_0; in titan_gpio_direction_output() local
130 writel(readl(gpio >> 5 ? gpio_dir1 : gpio_dir0) & ~(1 << in titan_gpio_direction_output()
131 (gpio & 0x1f)), gpio >> 5 ? gpio_dir1 : gpio_dir0); in titan_gpio_direction_output()