Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c633 static void parseRawData(uint8_t *raw, uint8_t num_of_smpl, uint64_t sensor_time) in parseRawData() argument
656 accSample->referenceTime = sensor_time; in parseRawData()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c797 static bool sensortime_to_rtc_time(TASK, uint64_t sensor_time, uint64_t *rtc_time_ns) argument
799 return time_sync_estimate_time1(&T(gSensorTime2RTC), sensor_time, rtc_time_ns);
802 static void map_sensortime_to_rtc_time(TASK, uint64_t sensor_time, uint64_t rtc_time_ns) argument
807 time_sync_add(&T(gSensorTime2RTC), rtc_time_ns, sensor_time);
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c796 static bool sensortime_to_rtc_time(uint64_t sensor_time, uint64_t *rtc_time_ns) { argument
799 &mTask.gSensorTime2RTC, sensor_time * 39ull, rtc_time_ns);
802 static void map_sensortime_to_rtc_time(uint64_t sensor_time, uint64_t rtc_time_ns) { argument
804 time_sync_add(&mTask.gSensorTime2RTC, rtc_time_ns, sensor_time * 39ull);