Home
last modified time | relevance | path

Searched refs:unit_expo (Results 1 – 3 of 3) sorted by relevance

/linux/include/linux/
H A Dhid-sensor-hub.h32 s32 unit_expo; member
266 static inline int hid_sensor_convert_exponent(int unit_expo) in hid_sensor_convert_exponent() argument
268 if (unit_expo < 0x08) in hid_sensor_convert_exponent()
269 return unit_expo; in hid_sensor_convert_exponent()
270 else if (unit_expo <= 0x0f) in hid_sensor_convert_exponent()
271 return -(0x0f-unit_expo+1); in hid_sensor_convert_exponent()
/linux/drivers/rtc/
H A Drtc-hid-sensor-time.c180 if (time_state->info[i].unit_expo) { in hid_time_parse_report()
/linux/drivers/hid/
H A Dhid-sensor-hub.c91 info->unit_expo = field->unit_exponent; in sensor_hub_fill_attr_info()
449 info->unit_expo = -1; in sensor_hub_input_get_attribute_info()