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

/linux-4.1.27/arch/mips/kernel/
H A Dgpio_txx9.c20 static struct txx9_pio_reg __iomem *txx9_pioptr; variable in typeref:struct:__iomem
24 return __raw_readl(&txx9_pioptr->din) & (1 << offset); txx9_gpio_get()
30 val = __raw_readl(&txx9_pioptr->dout); txx9_gpio_set_raw()
35 __raw_writel(val, &txx9_pioptr->dout); txx9_gpio_set_raw()
52 __raw_writel(__raw_readl(&txx9_pioptr->dir) & ~(1 << offset), txx9_gpio_dir_in()
53 &txx9_pioptr->dir); txx9_gpio_dir_in()
65 __raw_writel(__raw_readl(&txx9_pioptr->dir) | (1 << offset), txx9_gpio_dir_out()
66 &txx9_pioptr->dir); txx9_gpio_dir_out()
83 txx9_pioptr = ioremap(baseaddr, sizeof(struct txx9_pio_reg)); txx9_gpio_init()
84 if (!txx9_pioptr) txx9_gpio_init()

Completed in 52 milliseconds