Home
last modified time | relevance | path

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

/arch/mips/kernel/
Dgpio_txx9.c17 static struct txx9_pio_reg __iomem *txx9_pioptr; variable
21 return !!(__raw_readl(&txx9_pioptr->din) & (1 << offset)); in txx9_gpio_get()
27 val = __raw_readl(&txx9_pioptr->dout); in txx9_gpio_set_raw()
32 __raw_writel(val, &txx9_pioptr->dout); in txx9_gpio_set_raw()
49 __raw_writel(__raw_readl(&txx9_pioptr->dir) & ~(1 << offset), in txx9_gpio_dir_in()
50 &txx9_pioptr->dir); in txx9_gpio_dir_in()
62 __raw_writel(__raw_readl(&txx9_pioptr->dir) | (1 << offset), in txx9_gpio_dir_out()
63 &txx9_pioptr->dir); in txx9_gpio_dir_out()
80 txx9_pioptr = ioremap(baseaddr, sizeof(struct txx9_pio_reg)); in txx9_gpio_init()
81 if (!txx9_pioptr) in txx9_gpio_init()