Lines Matching refs:in_dev
142 * @in_dev: pointer to the input device structure
159 struct input_dev *in_dev;
188 struct input_dev *input = ts->in_dev;
410 struct input_dev *in_dev;
436 in_dev = devm_input_allocate_device(dev);
437 if (!in_dev) {
441 ts->in_dev = in_dev;
442 input_set_drvdata(in_dev, ts);
445 in_dev->name = DRIVER_TP;
446 in_dev->id.bustype = BUS_I2C;
451 input_set_abs_params(in_dev, ABS_MT_POSITION_X, 0, max_x, 0, 0);
452 input_set_abs_params(in_dev, ABS_MT_POSITION_Y, 0, max_y, 0, 0);
454 touchscreen_parse_properties(in_dev, true, &ts->props);
459 info = &in_dev->absinfo[ABS_MT_POSITION_X];
466 info = &in_dev->absinfo[ABS_MT_POSITION_Y];
471 error = input_mt_init_slots(in_dev, MAX_FINGERS,
533 error = input_register_device(in_dev);