Lines Matching refs:iowrite16
47 iowrite16(0x0100, sdev->base + SCOOP_MCR); // 00 in reset_scoop()
48 iowrite16(0x0000, sdev->base + SCOOP_CDR); // 04 in reset_scoop()
49 iowrite16(0x0000, sdev->base + SCOOP_CCR); // 10 in reset_scoop()
50 iowrite16(0x0000, sdev->base + SCOOP_IMR); // 18 in reset_scoop()
51 iowrite16(0x00FF, sdev->base + SCOOP_IRM); // 14 in reset_scoop()
52 iowrite16(0x0000, sdev->base + SCOOP_ISR); // 1C in reset_scoop()
53 iowrite16(0x0000, sdev->base + SCOOP_IRM); in reset_scoop()
66 iowrite16(gpwr, sdev->base + SCOOP_GPWR); in __scoop_gpio_set()
100 iowrite16(gpcr, sdev->base + SCOOP_GPCR); in scoop_gpio_direction_input()
120 iowrite16(gpcr, sdev->base + SCOOP_GPCR); in scoop_gpio_direction_output()
135 iowrite16(gpio_bit, sdev->base + SCOOP_GPWR); in set_scoop_gpio()
149 iowrite16(gpio_bit, sdev->base + SCOOP_GPWR); in reset_scoop_gpio()
167 iowrite16(data, sdev->base + reg); in write_scoop_reg()
180 iowrite16(0x0101, sdev->base + SCOOP_MCR); in check_scoop_reg()
190 iowrite16((sdev->scoop_gpwr & ~sdev->suspend_clr) | sdev->suspend_set, sdev->base + SCOOP_GPWR); in scoop_suspend()
200 iowrite16(sdev->scoop_gpwr, sdev->base + SCOOP_GPWR); in scoop_resume()
238 iowrite16(0x0140, devptr->base + SCOOP_MCR); in scoop_probe()
240 iowrite16(0x0000, devptr->base + SCOOP_CPR); in scoop_probe()
241 iowrite16(inf->io_dir & 0xffff, devptr->base + SCOOP_GPCR); in scoop_probe()
242 iowrite16(inf->io_out & 0xffff, devptr->base + SCOOP_GPWR); in scoop_probe()