Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c1723 static bool allocateDataEvt(struct BMI160Sensor *mSensor, uint64_t rtc_time) in allocateDataEvt() argument
1735 mSensor->data_evt->referenceTime = rtc_time; in allocateDataEvt()
1736 mSensor->prev_rtc_time = rtc_time; in allocateDataEvt()
1747 uint64_t rtc_time; in parseRawData() local
1750 if (!sensortime_to_rtc_time(sensorTime, &rtc_time)) { in parseRawData()
1754 if (rtc_time < mSensor->prev_rtc_time + kMinRTCTimeIncrementNs) { in parseRawData()
1760 (unsigned int)((rtc_time >> 32) & 0xffffffff), in parseRawData()
1761 (unsigned int)(rtc_time & 0xffffffff), in parseRawData()
1762 (int)(rtc_time - mSensor->prev_rtc_time) / 1000); in parseRawData()
1764 rtc_time = mSensor->prev_rtc_time + kMinRTCTimeIncrementNs; in parseRawData()
[all …]