htcpen_dev 49 drivers/input/touchscreen/htcpen.c struct input_dev *htcpen_dev = handle; htcpen_dev 56 drivers/input/touchscreen/htcpen.c input_report_key(htcpen_dev, BTN_TOUCH, 0); htcpen_dev 76 drivers/input/touchscreen/htcpen.c input_report_key(htcpen_dev, BTN_TOUCH, 1); htcpen_dev 77 drivers/input/touchscreen/htcpen.c input_report_abs(htcpen_dev, ABS_X, x); htcpen_dev 78 drivers/input/touchscreen/htcpen.c input_report_abs(htcpen_dev, ABS_Y, y); htcpen_dev 82 drivers/input/touchscreen/htcpen.c input_sync(htcpen_dev); htcpen_dev 104 drivers/input/touchscreen/htcpen.c struct input_dev *htcpen_dev; htcpen_dev 125 drivers/input/touchscreen/htcpen.c htcpen_dev = input_allocate_device(); htcpen_dev 126 drivers/input/touchscreen/htcpen.c if (!htcpen_dev) { htcpen_dev 132 drivers/input/touchscreen/htcpen.c htcpen_dev->name = "HTC Shift EC TouchScreen"; htcpen_dev 133 drivers/input/touchscreen/htcpen.c htcpen_dev->id.bustype = BUS_ISA; htcpen_dev 135 drivers/input/touchscreen/htcpen.c htcpen_dev->evbit[0] = BIT_MASK(EV_ABS) | BIT_MASK(EV_KEY); htcpen_dev 136 drivers/input/touchscreen/htcpen.c htcpen_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); htcpen_dev 137 drivers/input/touchscreen/htcpen.c input_set_abs_params(htcpen_dev, ABS_X, 0, X_AXIS_MAX, 0, 0); htcpen_dev 138 drivers/input/touchscreen/htcpen.c input_set_abs_params(htcpen_dev, ABS_Y, 0, Y_AXIS_MAX, 0, 0); htcpen_dev 140 drivers/input/touchscreen/htcpen.c htcpen_dev->open = htcpen_open; htcpen_dev 141 drivers/input/touchscreen/htcpen.c htcpen_dev->close = htcpen_close; htcpen_dev 144 drivers/input/touchscreen/htcpen.c htcpen_dev); htcpen_dev 152 drivers/input/touchscreen/htcpen.c err = input_register_device(htcpen_dev); htcpen_dev 156 drivers/input/touchscreen/htcpen.c dev_set_drvdata(dev, htcpen_dev); htcpen_dev 161 drivers/input/touchscreen/htcpen.c free_irq(HTCPEN_IRQ, htcpen_dev); htcpen_dev 163 drivers/input/touchscreen/htcpen.c input_free_device(htcpen_dev); htcpen_dev 176 drivers/input/touchscreen/htcpen.c struct input_dev *htcpen_dev = dev_get_drvdata(dev); htcpen_dev 178 drivers/input/touchscreen/htcpen.c input_unregister_device(htcpen_dev); htcpen_dev 180 drivers/input/touchscreen/htcpen.c free_irq(HTCPEN_IRQ, htcpen_dev);