Lines Matching refs:in_dev
159 struct input_dev *in_dev; member
188 struct input_dev *input = ts->in_dev; in bu21013_do_touch_report()
411 struct input_dev *in_dev; in bu21013_probe() local
436 in_dev = devm_input_allocate_device(&client->dev); in bu21013_probe()
437 if (!in_dev) { in bu21013_probe()
441 ts->in_dev = in_dev; in bu21013_probe()
442 input_set_drvdata(in_dev, ts); in bu21013_probe()
445 in_dev->name = DRIVER_TP; in bu21013_probe()
446 in_dev->id.bustype = BUS_I2C; in bu21013_probe()
451 input_set_abs_params(in_dev, ABS_MT_POSITION_X, 0, max_x, 0, 0); in bu21013_probe()
452 input_set_abs_params(in_dev, ABS_MT_POSITION_Y, 0, max_y, 0, 0); in bu21013_probe()
454 touchscreen_parse_properties(in_dev, true, &ts->props); in bu21013_probe()
459 info = &in_dev->absinfo[ABS_MT_POSITION_X]; in bu21013_probe()
466 info = &in_dev->absinfo[ABS_MT_POSITION_Y]; in bu21013_probe()
471 error = input_mt_init_slots(in_dev, MAX_FINGERS, in bu21013_probe()
544 error = input_register_device(in_dev); in bu21013_probe()