/openbmc/linux/Documentation/input/ |
H A D | multi-touch-protocol.rst | 173 ABS_MT_TOUCH_MAJOR and ABS_MT_WIDTH_MAJOR may be used to provide the size 182 ABS_MT_TOOL_X/Y. The touch diameter is ABS_MT_TOUCH_MAJOR and the finger 185 the ratio ABS_MT_TOUCH_MAJOR / ABS_MT_WIDTH_MAJOR, which is always smaller 234 ABS_MT_TOUCH_MAJOR 237 possible value of ABS_MT_TOUCH_MAJOR is sqrt(X^2 + Y^2), the diagonal [#f4]_. 254 the contact. The ratio ABS_MT_TOUCH_MAJOR / ABS_MT_WIDTH_MAJOR approximates 351 ABS_MT_TOUCH_MAJOR := max(X, Y) 370 ABS_MT_TOUCH_MAJOR := min(X, Y)
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | s6sy761.c | 156 input_report_abs(sdata->input, ABS_MT_TOUCH_MAJOR, major); in s6sy761_report_coordinates() 437 input_set_abs_params(sdata->input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in s6sy761_probe() 439 input_set_abs_params(sdata->input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in s6sy761_probe()
|
H A D | cy8ctma140.c | 88 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, w); in cy8ctma140_report() 223 input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in cy8ctma140_probe()
|
H A D | himax_hx83112b.c | 149 input_set_abs_params(ts->input_dev, ABS_MT_TOUCH_MAJOR, 0, 200, 0, 0); in himax_input_register() 194 input_report_abs(ts->input_dev, ABS_MT_TOUCH_MAJOR, w); in himax_process_event_point()
|
H A D | sis_i2c.c | 211 input_report_abs(input, ABS_MT_TOUCH_MAJOR, in sis_ts_report_contact() 337 input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, in sis_ts_probe()
|
H A D | imagis.c | 121 input_report_abs(ts->input_dev, ABS_MT_TOUCH_MAJOR, in imagis_interrupt() 209 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, 16, 0, 0); in imagis_init_input_dev()
|
H A D | st1232.c | 164 input_report_abs(input, ABS_MT_TOUCH_MAJOR, z[i]); in st1232_ts_parse_and_report() 304 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, in st1232_ts_probe()
|
H A D | hynitron_cstxxx.c | 255 input_report_abs(ts_data->input_dev, ABS_MT_TOUCH_MAJOR, w); in cst3xx_report_contact() 377 input_set_abs_params(ts_data->input_dev, ABS_MT_TOUCH_MAJOR, in cst3xx_input_dev_int()
|
H A D | auo-pixcir-ts.c | 222 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, in auo_pixcir_interrupt() 540 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, in auo_pixcir_probe()
|
H A D | zinitix.c | 343 ABS_MT_TOUCH_MAJOR, p->width); in zinitix_report_finger() 476 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in zinitix_init_input_dev()
|
H A D | cyttsp_core.c | 350 input_report_abs(input, ABS_MT_TOUCH_MAJOR, tch->z); in cyttsp_report_tchdata() 697 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in cyttsp_probe()
|
H A D | mms114.c | 187 input_report_abs(input_dev, ABS_MT_TOUCH_MAJOR, touch->width); in mms114_process_mt() 548 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, in mms114_probe()
|
H A D | stmfts.c | 187 input_report_abs(sdata->input, ABS_MT_TOUCH_MAJOR, maj); in stmfts_report_contact_event() 668 input_set_abs_params(sdata->input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in stmfts_probe()
|
H A D | goodix.c | 413 input_report_abs(ts->input_dev, ABS_MT_TOUCH_MAJOR, input_w); in goodix_ts_report_touch_8b() 428 input_report_abs(ts->input_dev, ABS_MT_TOUCH_MAJOR, input_w); in goodix_ts_report_touch_9b() 1169 input_set_abs_params(ts->input_dev, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in goodix_configure_dev()
|
H A D | zforce_ts.c | 397 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, in zforce_touch_event() 859 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, in zforce_probe()
|
H A D | cyttsp5.c | 335 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, in cyttsp5_get_mt_touches() 393 input_set_abs_params(ts->input, ABS_MT_TOUCH_MAJOR, 0, MAX_AREA, 0, 0); in cyttsp5_setup_input_device()
|
H A D | elants_i2c.c | 1024 input_event(input, EV_ABS, ABS_MT_TOUCH_MAJOR, w); in elants_i2c_mt_event() 1505 input_set_abs_params(ts->input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in elants_i2c_probe() 1520 input_abs_set_res(ts->input, ABS_MT_TOUCH_MAJOR, ts->major_res); in elants_i2c_probe()
|
/openbmc/linux/drivers/input/rmi4/ |
H A D | rmi_2d_sensor.c | 102 input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MAJOR, major); in rmi_2d_sensor_abs_report() 181 input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0, 0x0f, 0, 0); in rmi_2d_sensor_set_input_params()
|
/openbmc/linux/drivers/hid/ |
H A D | hid-ntrig.c | 526 EV_ABS, ABS_MT_TOUCH_MAJOR); in ntrig_input_mapping() 739 ABS_MT_TOUCH_MAJOR, nd->w); in ntrig_event() 746 ABS_MT_TOUCH_MAJOR, nd->h); in ntrig_event()
|
H A D | hid-asus.c | 215 input_report_abs(input, ABS_MT_TOUCH_MAJOR, touch_major); in asus_report_contact_down() 246 input_mt_get_value(oldest, ABS_MT_TOUCH_MAJOR)); in asus_report_tool_width() 801 input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0, in asus_input_configured()
|
H A D | hid-magicmouse.c | 356 input_report_abs(input, ABS_MT_TOUCH_MAJOR, touch_major << 2); in magicmouse_emit_touch() 609 input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0, 255 << 2, in magicmouse_setup_input()
|
/openbmc/linux/drivers/input/misc/ |
H A D | xen-kbdfront.c | 137 input_report_abs(info->mtouch, ABS_MT_TOUCH_MAJOR, in xenkbd_handle_mt_event() 353 input_set_abs_params(mtouch, ABS_MT_TOUCH_MAJOR, in xenkbd_probe()
|
/openbmc/linux/drivers/input/mouse/ |
H A D | bcm5974.c | 526 set_abs(input_dev, ABS_MT_TOUCH_MAJOR, &cfg->w); in setup_events_to_report() 571 input_report_abs(input, ABS_MT_TOUCH_MAJOR, in report_finger_data()
|
/openbmc/linux/include/linux/ |
H A D | input.h | 12 #define ABS_MT_FIRST ABS_MT_TOUCH_MAJOR
|
/openbmc/u-boot/include/dt-bindings/input/ |
H A D | linux-event-codes.h | 712 #define ABS_MT_TOUCH_MAJOR 0x30 /* Major axis of touching ellipse */ macro
|