Lines Matching refs:mk712_io
52 static unsigned int mk712_io = 0x260; /* Also 0x200, 0x208, 0x300 */
53 module_param_named(io, mk712_io, uint, 0);
91 status = inb(mk712_io + MK712_STATUS);
114 last_x = inw(mk712_io + MK712_X) & 0x0fff;
115 last_y = inw(mk712_io + MK712_Y) & 0x0fff;
127 outb(0, mk712_io + MK712_CONTROL); /* Reset */
132 MK712_POWERUP, mk712_io + MK712_CONTROL);
134 outb(10, mk712_io + MK712_RATE); /* 187 points per second */
147 outb(0, mk712_io + MK712_CONTROL);
156 if (!request_region(mk712_io, 8, "mk712")) {
161 outb(0, mk712_io + MK712_CONTROL);
163 if ((inw(mk712_io + MK712_X) & 0xf000) || /* Sanity check */
164 (inw(mk712_io + MK712_Y) & 0xf000) ||
165 (inw(mk712_io + MK712_STATUS) & 0xf333)) {
207 release_region(mk712_io, 8);
215 release_region(mk712_io, 8);