Home
last modified time | relevance | path

Searched refs:unit_exponent (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/hid/
Dhid-input.c201 __s32 unit_exponent = field->unit_exponent; in hidinput_calc_abs_res() local
228 unit_exponent += 1; in hidinput_calc_abs_res()
235 unit_exponent -= 1; in hidinput_calc_abs_res()
253 unit_exponent += 1; in hidinput_calc_abs_res()
264 for (; unit_exponent < 0; unit_exponent++) { in hidinput_calc_abs_res()
271 for (; unit_exponent > 0; unit_exponent--) { in hidinput_calc_abs_res()
Dhid-core.c307 field->unit_exponent = parser->global.unit_exponent; in hid_add_field()
400 parser->global.unit_exponent = hid_snto32(raw_value, 4); in hid_parser_global()
402 parser->global.unit_exponent = raw_value; in hid_parser_global()
983 if (unlikely(multiplier->unit_exponent != 0)) { in hid_calculate_multiplier()
986 multiplier->unit_exponent); in hid_calculate_multiplier()
Dhid-debug.c552 if (field->unit_exponent) { in hid_dump_field()
553 tab(n, f); seq_printf(f, "Unit Exponent(%d)\n", field->unit_exponent); in hid_dump_field()
Dhid-sensor-custom.c496 sensor_field->attribute.unit_expo = field->unit_exponent; in hid_sensor_custom_add_field()
Dhid-sensor-hub.c92 info->unit_expo = field->unit_exponent; in sensor_hub_fill_attr_info()
Dwacom_sys.c205 .unit_exponent = exponent, in wacom_calc_hid_res()
456 features->unitExpo = field->unit_exponent; in wacom_usage_mapping()
467 features->unitExpo = field->unit_exponent; in wacom_usage_mapping()
/Linux-v5.4/include/uapi/linux/
Dhiddev.h104 __u32 unit_exponent; member
/Linux-v5.4/include/linux/
Dhid.h393 __s32 unit_exponent; member
463 __s32 unit_exponent; member
/Linux-v5.4/drivers/hid/usbhid/
Dhiddev.c789 finfo.unit_exponent = field->unit_exponent; in hiddev_ioctl()