mk712_io 48 drivers/input/touchscreen/mk712.c static unsigned int mk712_io = 0x260; /* Also 0x200, 0x208, 0x300 */ mk712_io 49 drivers/input/touchscreen/mk712.c module_param_hw_named(io, mk712_io, uint, ioport, 0); mk712_io 87 drivers/input/touchscreen/mk712.c status = inb(mk712_io + MK712_STATUS); mk712_io 110 drivers/input/touchscreen/mk712.c last_x = inw(mk712_io + MK712_X) & 0x0fff; mk712_io 111 drivers/input/touchscreen/mk712.c last_y = inw(mk712_io + MK712_Y) & 0x0fff; mk712_io 123 drivers/input/touchscreen/mk712.c outb(0, mk712_io + MK712_CONTROL); /* Reset */ mk712_io 128 drivers/input/touchscreen/mk712.c MK712_POWERUP, mk712_io + MK712_CONTROL); mk712_io 130 drivers/input/touchscreen/mk712.c outb(10, mk712_io + MK712_RATE); /* 187 points per second */ mk712_io 143 drivers/input/touchscreen/mk712.c outb(0, mk712_io + MK712_CONTROL); mk712_io 152 drivers/input/touchscreen/mk712.c if (!request_region(mk712_io, 8, "mk712")) { mk712_io 157 drivers/input/touchscreen/mk712.c outb(0, mk712_io + MK712_CONTROL); mk712_io 159 drivers/input/touchscreen/mk712.c if ((inw(mk712_io + MK712_X) & 0xf000) || /* Sanity check */ mk712_io 160 drivers/input/touchscreen/mk712.c (inw(mk712_io + MK712_Y) & 0xf000) || mk712_io 161 drivers/input/touchscreen/mk712.c (inw(mk712_io + MK712_STATUS) & 0xf333)) { mk712_io 203 drivers/input/touchscreen/mk712.c release_region(mk712_io, 8); mk712_io 211 drivers/input/touchscreen/mk712.c release_region(mk712_io, 8);