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

/linux-4.1.27/drivers/hid/
H A Dhid-input.c204 * (physical_maximum - physical_minimum) * 10 ^ unit_exponent
213 __s32 unit_exponent = field->unit_exponent; hidinput_calc_abs_res() local
240 unit_exponent += 1; hidinput_calc_abs_res()
247 unit_exponent -= 1; hidinput_calc_abs_res()
264 unit_exponent += 1; hidinput_calc_abs_res()
275 for (; unit_exponent < 0; unit_exponent++) { hidinput_calc_abs_res()
282 for (; unit_exponent > 0; unit_exponent--) { hidinput_calc_abs_res()
H A Dwacom_sys.c95 .unit_exponent = exponent, wacom_calc_hid_res()
205 features->unitExpo = field->unit_exponent; wacom_usage_mapping()
217 features->unitExpo = field->unit_exponent; wacom_usage_mapping()
H A Dhid-debug.c561 if (field->unit_exponent) { hid_dump_field()
562 tab(n, f); seq_printf(f, "Unit Exponent(%d)\n", field->unit_exponent); hid_dump_field()
H A Dhid-core.c286 field->unit_exponent = parser->global.unit_exponent; hid_add_field()
379 parser->global.unit_exponent = hid_snto32(raw_value, 4); hid_parser_global()
381 parser->global.unit_exponent = raw_value; hid_parser_global()
H A Dhid-sensor-custom.c508 sensor_field->attribute.unit_expo = field->unit_exponent; hid_sensor_custom_add_field()
H A Dhid-sensor-hub.c104 info->unit_expo = field->unit_exponent; sensor_hub_fill_attr_info()
/linux-4.1.27/include/uapi/linux/
H A Dhiddev.h103 __u32 unit_exponent; member in struct:hiddev_field_info
/linux-4.1.27/drivers/hid/usbhid/
H A Dhiddev.c779 finfo.unit_exponent = field->unit_exponent; hiddev_ioctl()
/linux-4.1.27/include/linux/
H A Dhid.h359 __s32 unit_exponent; member in struct:hid_global
423 __s32 unit_exponent; member in struct:hid_field

Completed in 305 milliseconds