Home
last modified time | relevance | path

Searched refs:absinfo (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/drivers/input/
Dtouchscreen.c37 struct input_absinfo *absinfo; in touchscreen_set_params() local
46 absinfo = &dev->absinfo[axis]; in touchscreen_set_params()
47 absinfo->minimum = min; in touchscreen_set_params()
48 absinfo->maximum = max; in touchscreen_set_params()
49 absinfo->fuzz = fuzz; in touchscreen_set_params()
69 struct input_absinfo *absinfo; in touchscreen_parse_properties() local
75 if (!input->absinfo) in touchscreen_parse_properties()
128 absinfo = &input->absinfo[axis_x]; in touchscreen_parse_properties()
129 absinfo->maximum -= absinfo->minimum; in touchscreen_parse_properties()
130 absinfo->minimum = 0; in touchscreen_parse_properties()
[all …]
Dinput.c211 pold = &dev->absinfo[code].value; in input_handle_abs_event()
214 is_new_slot = mt->slot != dev->absinfo[ABS_MT_SLOT].value; in input_handle_abs_event()
225 dev->absinfo[code].fuzz); in input_handle_abs_event()
234 dev->absinfo[ABS_MT_SLOT].value = mt->slot; in input_handle_abs_event()
482 if (dev->absinfo) in input_alloc_absinfo()
485 dev->absinfo = kcalloc(ABS_CNT, sizeof(*dev->absinfo), GFP_KERNEL); in input_alloc_absinfo()
486 if (!dev->absinfo) { in input_alloc_absinfo()
501 struct input_absinfo *absinfo; in input_set_abs_params() local
507 if (!dev->absinfo) in input_set_abs_params()
510 absinfo = &dev->absinfo[axis]; in input_set_abs_params()
[all …]
Dinput-mt.c17 if (dev->absinfo && test_bit(src, dev->absbit)) { in copy_abs()
18 dev->absinfo[dst] = dev->absinfo[src]; in copy_abs()
19 dev->absinfo[dst].fuzz = 0; in copy_abs()
Devdev.c1206 if (!dev->absinfo) in evdev_do_ioctl()
1210 abs = dev->absinfo[t]; in evdev_do_ioctl()
1224 if (!dev->absinfo) in evdev_do_ioctl()
1246 dev->absinfo[t] = abs; in evdev_do_ioctl()
/linux-6.6.21/include/linux/
Dinput.h178 struct input_absinfo *absinfo; member
485 return dev->absinfo ? dev->absinfo[axis]._item : 0; \
492 if (dev->absinfo) \
493 dev->absinfo[axis]._item = val; \
/linux-6.6.21/drivers/input/misc/
Duinput.c321 if (!dev->absinfo) { in uinput_create_device()
436 if (!dev->absinfo) in uinput_validate_absbits()
439 error = uinput_validate_absinfo(dev, cnt, &dev->absinfo[cnt]); in uinput_validate_absbits()
496 error = uinput_validate_absinfo(dev, setup.code, &setup.absinfo); in uinput_abs_setup()
501 if (!dev->absinfo) in uinput_abs_setup()
505 dev->absinfo[setup.code] = setup.absinfo; in uinput_abs_setup()
/linux-6.6.21/include/uapi/linux/
Duinput.h105 struct input_absinfo absinfo; member
/linux-6.6.21/drivers/input/touchscreen/
Dbu21013_ts.c459 info = &in_dev->absinfo[ABS_MT_POSITION_X]; in bu21013_probe()
466 info = &in_dev->absinfo[ABS_MT_POSITION_Y]; in bu21013_probe()
Dsilead.c95 struct input_absinfo *absinfo_x = &data->input->absinfo[ABS_MT_POSITION_X]; in silead_apply_efi_fw_min_max()
96 struct input_absinfo *absinfo_y = &data->input->absinfo[ABS_MT_POSITION_Y]; in silead_apply_efi_fw_min_max()
Dads7846.c1301 swap(input_dev->absinfo[ABS_X], input_dev->absinfo[ABS_Y]); in ads7846_probe()
/linux-6.6.21/tools/testing/selftests/hid/tests/
Dtest_multitouch.py508 absinfo = evdev.absinfo[libevdev.EV_ABS.ABS_MT_POSITION_X]
509 return absinfo is not None and absinfo.resolution == 3
1047 if evdev.absinfo[libevdev.EV_ABS.ABS_MT_TOOL_TYPE] is not None:
1747 if evdev.absinfo[libevdev.EV_ABS.ABS_MT_TOOL_TYPE] is not None:
Dtest_wacom_generic.py825 info = evdev.absinfo[libevdev.EV_ABS.ABS_WHEEL]
/linux-6.6.21/drivers/hid/
Dwacom_wac.c1861 struct input_absinfo *abs = &input->absinfo[usage->code]; in wacom_offset_rotation()
4188 if (!(input_dev->absinfo && (input_dev->absinfo[ABS_X].minimum || in wacom_setup_pad_input_capabilities()
4189 input_dev->absinfo[ABS_X].maximum))) in wacom_setup_pad_input_capabilities()
4191 if (!(input_dev->absinfo && (input_dev->absinfo[ABS_Y].minimum || in wacom_setup_pad_input_capabilities()
4192 input_dev->absinfo[ABS_Y].maximum))) in wacom_setup_pad_input_capabilities()
/linux-6.6.21/Documentation/input/
Dmulti-touch-protocol.rst88 total number of type B slots reported in the absinfo for the ABS_MT_SLOT axis.