Home
last modified time | relevance | path

Searched refs:logical_minimum (Results 1 – 17 of 17) sorted by relevance

/Linux-v4.19/drivers/hid/
Dhid-tmff.c95 ff_field->logical_minimum, in tmff_play()
98 ff_field->logical_minimum, in tmff_play()
109 ff_field->logical_minimum, in tmff_play()
112 ff_field->logical_minimum, in tmff_play()
158 field->logical_minimum) { in tmff_init()
Dhid-core.c255 if ((parser->global.logical_minimum < 0 && in hid_add_field()
257 parser->global.logical_minimum) || in hid_add_field()
258 (parser->global.logical_minimum >= 0 && in hid_add_field()
260 (__u32)parser->global.logical_minimum)) { in hid_add_field()
262 parser->global.logical_minimum, in hid_add_field()
301 field->logical_minimum = parser->global.logical_minimum; in hid_add_field()
370 parser->global.logical_minimum = item_sdata(item); in hid_parser_global()
374 if (parser->global.logical_minimum < 0) in hid_parser_global()
1294 __s32 min = field->logical_minimum; in hid_input_field()
1355 if (field->logical_minimum < 0) /* signed values */ in hid_output_field()
[all …]
Dhid-sensor-custom.c205 sensor_inst->power_state->attribute.logical_minimum; in set_power_report_state()
220 sensor_inst->report_state->attribute.logical_minimum; in set_power_report_state()
370 logical_minimum; in show_value()
510 sensor_field->attribute.logical_minimum = field->logical_minimum; in hid_sensor_custom_add_field()
Dhid-input.c215 field->logical_minimum; in hidinput_calc_abs_res()
474 min = field->logical_minimum; in hidinput_setup_battery()
720 usage->hat_min = field->logical_minimum; in hidinput_configure_usage()
1144 int a = field->logical_minimum; in hidinput_configure_usage()
1148 a = field->logical_minimum = 0; in hidinput_configure_usage()
1239 int a = field->logical_minimum; in hidinput_hid_event()
1284 (field->logical_minimum < field->logical_maximum)) { in hidinput_hid_event()
1286 (value < field->logical_minimum || in hidinput_hid_event()
1292 field->logical_minimum, in hidinput_hid_event()
Dhid-ntrig.c475 field->logical_minimum, in ntrig_input_mapping()
481 field->logical_minimum; in ntrig_input_mapping()
497 field->logical_minimum, in ntrig_input_mapping()
503 field->logical_minimum; in ntrig_input_mapping()
Dhid-sensor-hub.c107 info->logical_minimum = field->logical_minimum; in sensor_hub_fill_attr_info()
Dhid-debug.c555 if (field->logical_minimum != field->logical_maximum) { in hid_dump_field()
556 tab(n, f); seq_printf(f, "Logical Minimum(%d)\n", field->logical_minimum); in hid_dump_field()
Dwacom_wac.c1764 int fmin = field->logical_minimum; in wacom_map_usage()
1835 value = value * 100 / (field->logical_maximum - field->logical_minimum); in wacom_wac_battery_event()
1842 value = value * 100 / (field->logical_maximum - field->logical_minimum); in wacom_wac_battery_event()
2173 field->logical_minimum = S16_MIN; in wacom_wac_pen_usage_mapping()
2175 a->logical_minimum = S32_MIN; in wacom_wac_pen_usage_mapping()
2178 b->logical_minimum = 0; in wacom_wac_pen_usage_mapping()
2451 if ((field->logical_maximum - field->logical_minimum) < touch_max) { in wacom_wac_finger_usage_mapping()
2646 if (value > field->logical_maximum || value < field->logical_minimum) in wacom_wac_event()
Dhid-lenovo.c156 field->logical_minimum = -127; in lenovo_input_mapping_cptkbd()
Dhid-multitouch.c480 int fmin = field->logical_minimum; in set_abs()
/Linux-v4.19/drivers/hid/usbhid/
Dhid-pidff.c206 return i * (field->logical_maximum - field->logical_minimum) / max + in pidff_rescale()
207 field->logical_minimum; in pidff_rescale()
217 field->logical_minimum / -0x8000; in pidff_rescale_signed()
228 if (usage->field->logical_minimum < 0) in pidff_set_signed()
737 pidff_playback_pid(pidff, field->logical_minimum, 0); in pidff_autocenter()
741 pidff_playback_pid(pidff, field->logical_minimum, 1); in pidff_autocenter()
744 pidff->block_load[PID_EFFECT_BLOCK_INDEX].field->logical_minimum; in pidff_autocenter()
892 report->field[i]->logical_minimum == 1) in pidff_find_special_field()
1220 pidff->block_load[PID_EFFECT_BLOCK_INDEX].field->logical_minimum + 1) { in pidff_check_autocenter()
1290 pidff->block_load[PID_EFFECT_BLOCK_INDEX].field->logical_minimum + in hid_pidff_init()
Dhiddev.c776 finfo.logical_minimum = field->logical_minimum; in hiddev_ioctl()
/Linux-v4.19/drivers/iio/common/hid-sensors/
Dhid-sensor-trigger.c148 state_val += st->power_state.logical_minimum; in _hid_sensor_power_state()
155 report_val += st->report_state.logical_minimum; in _hid_sensor_power_state()
Dhid-sensor-attributes.c476 st->power_state.logical_minimum = 1; in hid_sensor_parse_common_attributes()
477 st->report_state.logical_minimum = 1; in hid_sensor_parse_common_attributes()
/Linux-v4.19/include/uapi/linux/
Dhiddev.h100 __s32 logical_minimum; member
/Linux-v4.19/include/linux/
Dhid-sensor-hub.h47 s32 logical_minimum; member
Dhid.h397 __s32 logical_minimum; member
461 __s32 logical_minimum; member