Lines Matching defs:input_dev
41 struct input_dev *dev;
52 struct input_dev *dev = pm->dev;
94 struct input_dev *input_dev;
98 input_dev = input_allocate_device();
99 if (!pm || !input_dev) {
105 pm->dev = input_dev;
108 input_dev->name = "Penmount Serial TouchScreen";
109 input_dev->phys = pm->phys;
110 input_dev->id.bustype = BUS_RS232;
111 input_dev->id.vendor = SERIO_PENMOUNT;
112 input_dev->id.product = 0;
113 input_dev->id.version = 0x0100;
114 input_dev->dev.parent = &serio->dev;
116 input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS);
117 input_dev->keybit[LONG(BTN_TOUCH)] = BIT(BTN_TOUCH);
135 fail1: input_free_device(input_dev);