Lines Matching refs:iowrite16
44 iowrite16(0x0100, sdev->base + SCOOP_MCR); /* 00 */ in reset_scoop()
45 iowrite16(0x0000, sdev->base + SCOOP_CDR); /* 04 */ in reset_scoop()
46 iowrite16(0x0000, sdev->base + SCOOP_CCR); /* 10 */ in reset_scoop()
47 iowrite16(0x0000, sdev->base + SCOOP_IMR); /* 18 */ in reset_scoop()
48 iowrite16(0x00FF, sdev->base + SCOOP_IRM); /* 14 */ in reset_scoop()
49 iowrite16(0x0000, sdev->base + SCOOP_ISR); /* 1C */ in reset_scoop()
50 iowrite16(0x0000, sdev->base + SCOOP_IRM); in reset_scoop()
63 iowrite16(gpwr, sdev->base + SCOOP_GPWR); in __scoop_gpio_set()
97 iowrite16(gpcr, sdev->base + SCOOP_GPCR); in scoop_gpio_direction_input()
117 iowrite16(gpcr, sdev->base + SCOOP_GPCR); in scoop_gpio_direction_output()
133 iowrite16(data, sdev->base + reg); in write_scoop_reg()
147 iowrite16(0x0101, sdev->base + SCOOP_MCR); in check_scoop_reg()
156 iowrite16((sdev->scoop_gpwr & ~sdev->suspend_clr) | sdev->suspend_set, sdev->base + SCOOP_GPWR); in scoop_suspend()
166 iowrite16(sdev->scoop_gpwr, sdev->base + SCOOP_GPWR); in scoop_resume()
203 iowrite16(0x0140, devptr->base + SCOOP_MCR); in scoop_probe()
205 iowrite16(0x0000, devptr->base + SCOOP_CPR); in scoop_probe()
206 iowrite16(inf->io_dir & 0xffff, devptr->base + SCOOP_GPCR); in scoop_probe()
207 iowrite16(inf->io_out & 0xffff, devptr->base + SCOOP_GPWR); in scoop_probe()