Home
last modified time | relevance | path

Searched refs:logical_maximum (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/hid/
Dhid-tmff.c86 ff_field->logical_maximum); in tmff_play()
89 ff_field->logical_maximum); in tmff_play()
100 ff_field->logical_maximum); in tmff_play()
103 ff_field->logical_maximum); in tmff_play()
157 if (field->logical_maximum == in tmff_init()
Dhid-input.c249 __s32 logical_extents = field->logical_maximum - in hidinput_calc_abs_res()
539 max = field->logical_maximum; in hidinput_setup_battery()
852 usage->hat_max = field->logical_maximum; in hidinput_configure_usage()
1339 int b = field->logical_maximum; in hidinput_configure_usage()
1343 b = field->logical_maximum = 255; in hidinput_configure_usage()
1492 field->logical_minimum < field->logical_maximum) { in hidinput_hid_event()
1495 value > field->logical_maximum)) { in hidinput_hid_event()
1501 field->logical_maximum); in hidinput_hid_event()
1571 int b = field->logical_maximum; in hidinput_hid_event()
1620 value = field->logical_maximum - value; in hidinput_hid_event()
[all …]
Dhid-ntrig.c472 field->logical_maximum, 0, 0); in ntrig_input_mapping()
476 field->logical_maximum - in ntrig_input_mapping()
494 field->logical_maximum, 0, 0); in ntrig_input_mapping()
498 field->logical_maximum - in ntrig_input_mapping()
Dhid-multitouch.c490 field->logical_maximum <= MT_MAX_MAXCONTACT) in mt_feature_mapping()
491 td->maxcontacts = field->logical_maximum; in mt_feature_mapping()
520 int fmax = field->logical_maximum; in set_abs()
850 app->scantime_logical_max = field->logical_maximum; in mt_touch_input_mapping()
863 -field->logical_maximum / 4, in mt_touch_input_mapping()
864 field->logical_maximum / 4, in mt_touch_input_mapping()
866 field->logical_maximum / cls->sn_move : 0, 0); in mt_touch_input_mapping()
1486 max = min_t(int, field->logical_maximum, in mt_need_to_apply_feature()
Dhid-core.c280 parser->global.logical_maximum < in hid_add_field()
283 (__u32)parser->global.logical_maximum < in hid_add_field()
287 parser->global.logical_maximum); in hid_add_field()
333 field->logical_maximum = parser->global.logical_maximum; in hid_add_field()
406 parser->global.logical_maximum = item_sdata(item); in hid_parser_global()
408 parser->global.logical_maximum = item_udata(item); in hid_parser_global()
1026 __s32 lmax = multiplier->logical_maximum; in hid_calculate_multiplier()
1549 value <= field->logical_maximum && in hid_array_value_is_valid()
Dhid-sensor-custom.c365 logical_maximum; in show_value()
503 sensor_field->attribute.logical_maximum = field->logical_maximum; in hid_sensor_custom_add_field()
Dwacom_sys.c200 .logical_maximum = logical_extents, in wacom_calc_hid_res()
274 field->logical_maximum = S16_MAX; in wacom_hid_usage_quirk()
276 a->logical_maximum = S32_MAX; in wacom_hid_usage_quirk()
279 b->logical_maximum = U8_MAX; in wacom_hid_usage_quirk()
288 field->logical_maximum = 43200; in wacom_hid_usage_quirk()
450 features->x_max = field->logical_maximum; in wacom_usage_mapping()
461 features->y_max = field->logical_maximum; in wacom_usage_mapping()
473 features->pressure_max = field->logical_maximum; in wacom_usage_mapping()
Dhid-sensor-hub.c94 info->logical_maximum = field->logical_maximum; in sensor_hub_fill_attr_info()
Dhid-debug.c581 if (field->logical_minimum != field->logical_maximum) { in hid_dump_field()
583 tab(n, f); seq_printf(f, "Logical Maximum(%d)\n", field->logical_maximum); in hid_dump_field()
Dhid-lenovo.c234 field->logical_maximum = 127; in lenovo_input_mapping_cptkbd()
329 field->logical_maximum = 127; in lenovo_input_mapping_tpIIkbd()
Dwacom_wac.c1895 int fmax = field->logical_maximum; in wacom_map_usage()
1959 value = value * 100 / (field->logical_maximum - field->logical_minimum); in wacom_wac_battery_event()
1966 value = value * 100 / (field->logical_maximum - field->logical_minimum); in wacom_wac_battery_event()
2176 value = (field->logical_maximum - value); in wacom_wac_pad_event()
2365 value = field->logical_maximum - value; in wacom_wac_pen_event()
2605 if ((field->logical_maximum - field->logical_minimum) < touch_max) { in wacom_wac_finger_usage_mapping()
2611 field->logical_maximum = 255; in wacom_wac_finger_usage_mapping()
2877 if (value > field->logical_maximum || value < field->logical_minimum) in wacom_wac_event()
/linux-6.1.9/include/uapi/linux/
Dhiddev.h101 __s32 logical_maximum; member
/linux-6.1.9/include/linux/
Dhid-sensor-hub.h35 s32 logical_maximum; member
Dhid.h401 __s32 logical_maximum; member
475 __s32 logical_maximum; member
/linux-6.1.9/drivers/hid/usbhid/
Dhid-pidff.c194 return i * (field->logical_maximum - field->logical_minimum) / max + in pidff_rescale()
204 0 ? i * field->logical_maximum / 0x7fff : i * in pidff_rescale_signed()
309 pidff->set_effect[PID_GAIN].field->logical_maximum; in pidff_set_effect_report()
1277 pidff->block_load[PID_EFFECT_BLOCK_INDEX].field->logical_maximum - in hid_pidff_init()
Dhiddev.c777 finfo.logical_maximum = field->logical_maximum; in hiddev_ioctl()