Searched refs:unit_expo (Results 1 – 6 of 6) sorted by relevance
45 s32 unit_expo; member251 static inline int hid_sensor_convert_exponent(int unit_expo) in hid_sensor_convert_exponent() argument253 if (unit_expo < 0x08) in hid_sensor_convert_exponent()254 return unit_expo; in hid_sensor_convert_exponent()255 else if (unit_expo <= 0x0f) in hid_sensor_convert_exponent()256 return -(0x0f-unit_expo+1); in hid_sensor_convert_exponent()
268 st->sensitivity.unit_expo, in hid_sensor_read_raw_hyst_value()286 st->sensitivity.unit_expo, in hid_sensor_write_raw_hyst_value()375 attr_info->unit_expo); in hid_sensor_format_scale()
193 if (time_state->info[i].unit_expo) { in hid_time_parse_report()
119 prox_state->prox_attr.unit_expo); in prox_read_raw()
365 value = sensor_inst->fields[field_index].attribute.unit_expo; in show_value()508 sensor_field->attribute.unit_expo = field->unit_exponent; in hid_sensor_custom_add_field()
105 info->unit_expo = field->unit_exponent; in sensor_hub_fill_attr_info()407 info->unit_expo = -1; in sensor_hub_input_get_attribute_info()