Searched refs:logical_minimum (Results 1 – 17 of 17) sorted by relevance
/Linux-v4.19/drivers/hid/ |
D | hid-tmff.c | 95 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()
|
D | hid-core.c | 255 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 …]
|
D | hid-sensor-custom.c | 205 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()
|
D | hid-input.c | 215 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()
|
D | hid-ntrig.c | 475 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()
|
D | hid-sensor-hub.c | 107 info->logical_minimum = field->logical_minimum; in sensor_hub_fill_attr_info()
|
D | hid-debug.c | 555 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()
|
D | wacom_wac.c | 1764 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()
|
D | hid-lenovo.c | 156 field->logical_minimum = -127; in lenovo_input_mapping_cptkbd()
|
D | hid-multitouch.c | 480 int fmin = field->logical_minimum; in set_abs()
|
/Linux-v4.19/drivers/hid/usbhid/ |
D | hid-pidff.c | 206 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()
|
D | hiddev.c | 776 finfo.logical_minimum = field->logical_minimum; in hiddev_ioctl()
|
/Linux-v4.19/drivers/iio/common/hid-sensors/ |
D | hid-sensor-trigger.c | 148 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()
|
D | hid-sensor-attributes.c | 476 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/ |
D | hiddev.h | 100 __s32 logical_minimum; member
|
/Linux-v4.19/include/linux/ |
D | hid-sensor-hub.h | 47 s32 logical_minimum; member
|
D | hid.h | 397 __s32 logical_minimum; member 461 __s32 logical_minimum; member
|