Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c1187 static bool allocateDataEvt(struct BMI160Sensor *mSensor, uint64_t rtc_time) argument
1199 mSensor->data_evt->referenceTime = rtc_time;
1200 mSensor->prev_rtc_time = rtc_time;
1997 uint64_t rtc_time, cur_time; local
2005 if (!sensortime_to_rtc_time(sensorTime, &rtc_time)) {
2010 if (rtc_time > cur_time + kMinRTCTimeIncrementNs) { // + tolerance to prevent frequent tripping
2012 mSensorInfo[mSensor->idx].sensorName, rtc_time, cur_time);
2014 rtc_time = cur_time + kMinRTCTimeIncrementNs;
2017 if (rtc_time < mSensor->prev_rtc_time + kMinRTCTimeIncrementNs) {
2023 (unsigned int)((rtc_time >> 32) & 0xffffffff),
[all …]
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c2373 static bool allocateDataEvt(struct ICM40600Sensor *mSensor, uint64_t rtc_time) argument
2386 mSensor->data_evt->referenceTime = rtc_time;
2387 mSensor->prev_rtc_time = rtc_time;
2465 static void pushSensorData(TASK, struct ICM40600Sensor *mSensor, uint64_t rtc_time) argument
2481 accelCalRun(&T(accel_cal), rtc_time, x, y, z, T(chip_temperature));
2488 gyroCalUpdateAccel(&T(gyro_cal), rtc_time, x, y, z);
2498 gyroCalUpdateGyro(&T(gyro_cal), rtc_time, x, y, z, T(chip_temperature));
2513 if (!allocateDataEvt(mSensor, rtc_time))
2527 if (!allocateDataEvt(mSensor, rtc_time)) {
2541 if (!allocateDataEvt(mSensor, rtc_time)) {
[all …]