touchit213 85 drivers/input/touchscreen/touchit213.c struct touchit213 *touchit213 = serio_get_drvdata(serio); touchit213 86 drivers/input/touchscreen/touchit213.c struct input_dev *dev = touchit213->dev; touchit213 88 drivers/input/touchscreen/touchit213.c touchit213->data[touchit213->idx] = data; touchit213 90 drivers/input/touchscreen/touchit213.c switch (touchit213->idx++) { touchit213 92 drivers/input/touchscreen/touchit213.c if ((touchit213->data[0] & T213_FORMAT_STATUS_MASK) != touchit213 95 drivers/input/touchscreen/touchit213.c touchit213->idx = 0; touchit213 100 drivers/input/touchscreen/touchit213.c touchit213->idx = 0; touchit213 102 drivers/input/touchscreen/touchit213.c (touchit213->data[1] << 7) | touchit213->data[2]); touchit213 104 drivers/input/touchscreen/touchit213.c (touchit213->data[3] << 7) | touchit213->data[4]); touchit213 106 drivers/input/touchscreen/touchit213.c touchit213->data[0] & T213_FORMAT_TOUCH_BIT); touchit213 120 drivers/input/touchscreen/touchit213.c struct touchit213 *touchit213 = serio_get_drvdata(serio); touchit213 122 drivers/input/touchscreen/touchit213.c input_get_device(touchit213->dev); touchit213 123 drivers/input/touchscreen/touchit213.c input_unregister_device(touchit213->dev); touchit213 126 drivers/input/touchscreen/touchit213.c input_put_device(touchit213->dev); touchit213 127 drivers/input/touchscreen/touchit213.c kfree(touchit213); touchit213 138 drivers/input/touchscreen/touchit213.c struct touchit213 *touchit213; touchit213 142 drivers/input/touchscreen/touchit213.c touchit213 = kzalloc(sizeof(struct touchit213), GFP_KERNEL); touchit213 144 drivers/input/touchscreen/touchit213.c if (!touchit213 || !input_dev) { touchit213 149 drivers/input/touchscreen/touchit213.c touchit213->serio = serio; touchit213 150 drivers/input/touchscreen/touchit213.c touchit213->dev = input_dev; touchit213 151 drivers/input/touchscreen/touchit213.c snprintf(touchit213->phys, sizeof(touchit213->phys), touchit213 155 drivers/input/touchscreen/touchit213.c input_dev->phys = touchit213->phys; touchit213 163 drivers/input/touchscreen/touchit213.c input_set_abs_params(touchit213->dev, ABS_X, touchit213 165 drivers/input/touchscreen/touchit213.c input_set_abs_params(touchit213->dev, ABS_Y, touchit213 168 drivers/input/touchscreen/touchit213.c serio_set_drvdata(serio, touchit213); touchit213 174 drivers/input/touchscreen/touchit213.c err = input_register_device(touchit213->dev); touchit213 183 drivers/input/touchscreen/touchit213.c kfree(touchit213);