Searched refs:rtc_time_ns (Results 1 – 2 of 2) sorted by relevance
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 797 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/ |
D | bosch_bmi160.c | 796 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);
|