pinexio 60 drivers/input/touchscreen/inexio.c static void inexio_process_data(struct inexio *pinexio) pinexio 62 drivers/input/touchscreen/inexio.c struct input_dev *dev = pinexio->dev; pinexio 64 drivers/input/touchscreen/inexio.c if (INEXIO_FORMAT_LENGTH == ++pinexio->idx) { pinexio 65 drivers/input/touchscreen/inexio.c input_report_abs(dev, ABS_X, INEXIO_GET_XC(pinexio->data)); pinexio 66 drivers/input/touchscreen/inexio.c input_report_abs(dev, ABS_Y, INEXIO_GET_YC(pinexio->data)); pinexio 67 drivers/input/touchscreen/inexio.c input_report_key(dev, BTN_TOUCH, INEXIO_GET_TOUCHED(pinexio->data)); pinexio 70 drivers/input/touchscreen/inexio.c pinexio->idx = 0; pinexio 77 drivers/input/touchscreen/inexio.c struct inexio *pinexio = serio_get_drvdata(serio); pinexio 79 drivers/input/touchscreen/inexio.c pinexio->data[pinexio->idx] = data; pinexio 81 drivers/input/touchscreen/inexio.c if (INEXIO_RESPONSE_BEGIN_BYTE&pinexio->data[0]) pinexio 82 drivers/input/touchscreen/inexio.c inexio_process_data(pinexio); pinexio 84 drivers/input/touchscreen/inexio.c printk(KERN_DEBUG "inexio.c: unknown/unsynchronized data from device, byte %x\n",pinexio->data[0]); pinexio 95 drivers/input/touchscreen/inexio.c struct inexio *pinexio = serio_get_drvdata(serio); pinexio 97 drivers/input/touchscreen/inexio.c input_get_device(pinexio->dev); pinexio 98 drivers/input/touchscreen/inexio.c input_unregister_device(pinexio->dev); pinexio 101 drivers/input/touchscreen/inexio.c input_put_device(pinexio->dev); pinexio 102 drivers/input/touchscreen/inexio.c kfree(pinexio); pinexio 113 drivers/input/touchscreen/inexio.c struct inexio *pinexio; pinexio 117 drivers/input/touchscreen/inexio.c pinexio = kzalloc(sizeof(struct inexio), GFP_KERNEL); pinexio 119 drivers/input/touchscreen/inexio.c if (!pinexio || !input_dev) { pinexio 124 drivers/input/touchscreen/inexio.c pinexio->serio = serio; pinexio 125 drivers/input/touchscreen/inexio.c pinexio->dev = input_dev; pinexio 126 drivers/input/touchscreen/inexio.c snprintf(pinexio->phys, sizeof(pinexio->phys), "%s/input0", serio->phys); pinexio 129 drivers/input/touchscreen/inexio.c input_dev->phys = pinexio->phys; pinexio 137 drivers/input/touchscreen/inexio.c input_set_abs_params(pinexio->dev, ABS_X, INEXIO_MIN_XC, INEXIO_MAX_XC, 0, 0); pinexio 138 drivers/input/touchscreen/inexio.c input_set_abs_params(pinexio->dev, ABS_Y, INEXIO_MIN_YC, INEXIO_MAX_YC, 0, 0); pinexio 140 drivers/input/touchscreen/inexio.c serio_set_drvdata(serio, pinexio); pinexio 146 drivers/input/touchscreen/inexio.c err = input_register_device(pinexio->dev); pinexio 155 drivers/input/touchscreen/inexio.c kfree(pinexio);