phampshire 57 drivers/input/touchscreen/hampshire.c static void hampshire_process_data(struct hampshire *phampshire) phampshire 59 drivers/input/touchscreen/hampshire.c struct input_dev *dev = phampshire->dev; phampshire 61 drivers/input/touchscreen/hampshire.c if (HAMPSHIRE_FORMAT_LENGTH == ++phampshire->idx) { phampshire 62 drivers/input/touchscreen/hampshire.c input_report_abs(dev, ABS_X, HAMPSHIRE_GET_XC(phampshire->data)); phampshire 63 drivers/input/touchscreen/hampshire.c input_report_abs(dev, ABS_Y, HAMPSHIRE_GET_YC(phampshire->data)); phampshire 65 drivers/input/touchscreen/hampshire.c HAMPSHIRE_GET_TOUCHED(phampshire->data)); phampshire 68 drivers/input/touchscreen/hampshire.c phampshire->idx = 0; phampshire 75 drivers/input/touchscreen/hampshire.c struct hampshire *phampshire = serio_get_drvdata(serio); phampshire 77 drivers/input/touchscreen/hampshire.c phampshire->data[phampshire->idx] = data; phampshire 79 drivers/input/touchscreen/hampshire.c if (HAMPSHIRE_RESPONSE_BEGIN_BYTE & phampshire->data[0]) phampshire 80 drivers/input/touchscreen/hampshire.c hampshire_process_data(phampshire); phampshire 83 drivers/input/touchscreen/hampshire.c phampshire->data[0]); phampshire 90 drivers/input/touchscreen/hampshire.c struct hampshire *phampshire = serio_get_drvdata(serio); phampshire 92 drivers/input/touchscreen/hampshire.c input_get_device(phampshire->dev); phampshire 93 drivers/input/touchscreen/hampshire.c input_unregister_device(phampshire->dev); phampshire 96 drivers/input/touchscreen/hampshire.c input_put_device(phampshire->dev); phampshire 97 drivers/input/touchscreen/hampshire.c kfree(phampshire); phampshire 108 drivers/input/touchscreen/hampshire.c struct hampshire *phampshire; phampshire 112 drivers/input/touchscreen/hampshire.c phampshire = kzalloc(sizeof(struct hampshire), GFP_KERNEL); phampshire 114 drivers/input/touchscreen/hampshire.c if (!phampshire || !input_dev) { phampshire 119 drivers/input/touchscreen/hampshire.c phampshire->serio = serio; phampshire 120 drivers/input/touchscreen/hampshire.c phampshire->dev = input_dev; phampshire 121 drivers/input/touchscreen/hampshire.c snprintf(phampshire->phys, sizeof(phampshire->phys), phampshire 125 drivers/input/touchscreen/hampshire.c input_dev->phys = phampshire->phys; phampshire 133 drivers/input/touchscreen/hampshire.c input_set_abs_params(phampshire->dev, ABS_X, phampshire 135 drivers/input/touchscreen/hampshire.c input_set_abs_params(phampshire->dev, ABS_Y, phampshire 138 drivers/input/touchscreen/hampshire.c serio_set_drvdata(serio, phampshire); phampshire 144 drivers/input/touchscreen/hampshire.c err = input_register_device(phampshire->dev); phampshire 153 drivers/input/touchscreen/hampshire.c kfree(phampshire);