mk712_dev 75 drivers/input/touchscreen/mk712.c static struct input_dev *mk712_dev; mk712_dev 96 drivers/input/touchscreen/mk712.c input_report_key(mk712_dev, BTN_TOUCH, 0); mk712_dev 105 drivers/input/touchscreen/mk712.c input_report_key(mk712_dev, BTN_TOUCH, 1); mk712_dev 106 drivers/input/touchscreen/mk712.c input_report_abs(mk712_dev, ABS_X, last_x); mk712_dev 107 drivers/input/touchscreen/mk712.c input_report_abs(mk712_dev, ABS_Y, last_y); mk712_dev 112 drivers/input/touchscreen/mk712.c input_sync(mk712_dev); mk712_dev 167 drivers/input/touchscreen/mk712.c mk712_dev = input_allocate_device(); mk712_dev 168 drivers/input/touchscreen/mk712.c if (!mk712_dev) { mk712_dev 174 drivers/input/touchscreen/mk712.c mk712_dev->name = "ICS MicroClock MK712 TouchScreen"; mk712_dev 175 drivers/input/touchscreen/mk712.c mk712_dev->phys = "isa0260/input0"; mk712_dev 176 drivers/input/touchscreen/mk712.c mk712_dev->id.bustype = BUS_ISA; mk712_dev 177 drivers/input/touchscreen/mk712.c mk712_dev->id.vendor = 0x0005; mk712_dev 178 drivers/input/touchscreen/mk712.c mk712_dev->id.product = 0x0001; mk712_dev 179 drivers/input/touchscreen/mk712.c mk712_dev->id.version = 0x0100; mk712_dev 181 drivers/input/touchscreen/mk712.c mk712_dev->open = mk712_open; mk712_dev 182 drivers/input/touchscreen/mk712.c mk712_dev->close = mk712_close; mk712_dev 184 drivers/input/touchscreen/mk712.c mk712_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); mk712_dev 185 drivers/input/touchscreen/mk712.c mk712_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); mk712_dev 186 drivers/input/touchscreen/mk712.c input_set_abs_params(mk712_dev, ABS_X, 0, 0xfff, 88, 0); mk712_dev 187 drivers/input/touchscreen/mk712.c input_set_abs_params(mk712_dev, ABS_Y, 0, 0xfff, 88, 0); mk712_dev 189 drivers/input/touchscreen/mk712.c if (request_irq(mk712_irq, mk712_interrupt, 0, "mk712", mk712_dev)) { mk712_dev 195 drivers/input/touchscreen/mk712.c err = input_register_device(mk712_dev); mk712_dev 201 drivers/input/touchscreen/mk712.c fail2: free_irq(mk712_irq, mk712_dev); mk712_dev 202 drivers/input/touchscreen/mk712.c fail1: input_free_device(mk712_dev); mk712_dev 209 drivers/input/touchscreen/mk712.c input_unregister_device(mk712_dev); mk712_dev 210 drivers/input/touchscreen/mk712.c free_irq(mk712_irq, mk712_dev);