Searched refs:val_millis (Results 1 – 2 of 2) sorted by relevance
68 static void convert_millis(struct sensor_value *val, int32_t val_millis) in convert_millis() argument70 val->val1 = val_millis / 1000; in convert_millis()71 val->val2 = (val_millis % 1000) * 1000; in convert_millis()
134 static void set_millis(struct sensor_value *val, int val_millis) in set_millis() argument136 val->val1 = val_millis / 1000; in set_millis()137 val->val2 = (val_millis % 1000) * 1000; in set_millis()