Lines Matching refs:iowrite16
48 iowrite16(0x0100, sdev->base + SCOOP_MCR); /* 00 */ in reset_scoop()
49 iowrite16(0x0000, sdev->base + SCOOP_CDR); /* 04 */ in reset_scoop()
50 iowrite16(0x0000, sdev->base + SCOOP_CCR); /* 10 */ in reset_scoop()
51 iowrite16(0x0000, sdev->base + SCOOP_IMR); /* 18 */ in reset_scoop()
52 iowrite16(0x00FF, sdev->base + SCOOP_IRM); /* 14 */ in reset_scoop()
53 iowrite16(0x0000, sdev->base + SCOOP_ISR); /* 1C */ in reset_scoop()
54 iowrite16(0x0000, sdev->base + SCOOP_IRM); in reset_scoop()
67 iowrite16(gpwr, sdev->base + SCOOP_GPWR); in __scoop_gpio_set()
101 iowrite16(gpcr, sdev->base + SCOOP_GPCR); in scoop_gpio_direction_input()
121 iowrite16(gpcr, sdev->base + SCOOP_GPCR); in scoop_gpio_direction_output()
137 iowrite16(data, sdev->base + reg); in write_scoop_reg()
151 iowrite16(0x0101, sdev->base + SCOOP_MCR); in check_scoop_reg()
160 iowrite16((sdev->scoop_gpwr & ~sdev->suspend_clr) | sdev->suspend_set, sdev->base + SCOOP_GPWR); in scoop_suspend()
170 iowrite16(sdev->scoop_gpwr, sdev->base + SCOOP_GPWR); in scoop_resume()
207 iowrite16(0x0140, devptr->base + SCOOP_MCR); in scoop_probe()
209 iowrite16(0x0000, devptr->base + SCOOP_CPR); in scoop_probe()
210 iowrite16(inf->io_dir & 0xffff, devptr->base + SCOOP_GPCR); in scoop_probe()
211 iowrite16(inf->io_out & 0xffff, devptr->base + SCOOP_GPWR); in scoop_probe()