Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c344 mTask.stats.proxEnabledTimestamp = sensorGetTime(); in configProx()
352 mTask.stats.totalProxEnabledTime += sensorGetTime() - mTask.stats.proxEnabledTimestamp; in configProx()
354 mTask.stats.totalProxFarTime += sensorGetTime() - mTask.stats.lastProxFarTimestamp; in configProx()
367 mTask.stats.enabledTimestamp = sensorGetTime(); in callbackPower()
369 mTask.stats.totalEnabledTime += sensorGetTime() - mTask.stats.enabledTimestamp; in callbackPower()
550 mTask.stats.lastProxFarTimestamp = sensorGetTime(); in handleEvent()
555 … mTask.stats.totalProxFarTime += sensorGetTime() - mTask.stats.lastProxFarTimestamp; in handleEvent()
/device/google/contexthub/firmware/os/drivers/vsync/
Dvsync.c118 if (vsyncAllocateEvt(&ev, sensorGetTime())) { in vsyncIsr()
/device/google/contexthub/firmware/os/inc/
Dsensors.h288 uint64_t sensorGetTime(void);
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c481 mTask.Timestamp = sensorGetTime(); in st_acc44_calc_timestamp()
483 uint64_t currTime = sensorGetTime(); in st_acc44_calc_timestamp()
/device/google/contexthub/firmware/os/core/
DhostIntf.c394 mRxTimestamp = sensorGetTime(); in hostIntfRxDone()
1287 uint64_t sensorTime = sensorGetTime(); in onEvtLatencyTimer()
1449 uint64_t sensorTime = sensorGetTime(); in copyEmbeddedSamples()
1479 uint64_t sensorTime = sensorGetTime(); in getSensorInterrupt()
DosApi.c192 *timeNanos = sensorGetTime(); in osExpApiSensorGetTime()
Dsensors.c846 uint64_t sensorGetTime(void) in sensorGetTime() function
Dnanohub_chre.c106 *timeNanos = sensorGetTime(); in osChreApiGetTime()
DnanohubCommand.c730 return apHubSyncGetDelta(sync, sensorGetTime()); in getAvgDelta()
1917 return sensorGetTime() + delta; in hostGetTime()
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c1440 T(time).timeSyncRtcTime = sensorGetTime(); in lsm6dsm_timeSyncTask()
3431 …if (sensorGetTime() <= (T(lastFifoReadTimestamp) + ((uint64_t)lsm6dsm_sensorHzToNs(T(fifoCntl).tri… in lsm6dsm_accelFlush()
3458 …if (sensorGetTime() <= (T(lastFifoReadTimestamp) + ((uint64_t)lsm6dsm_sensorHzToNs(T(fifoCntl).tri… in lsm6dsm_gyroFlush()
3486 …if (sensorGetTime() <= (T(lastFifoReadTimestamp) + ((uint64_t)lsm6dsm_sensorHzToNs(T(fifoCntl).tri… in lsm6dsm_magnFlush()
3516 …if (sensorGetTime() <= (T(lastFifoReadTimestamp) + ((uint64_t)lsm6dsm_sensorHzToNs(T(fifoCntl).tri… in lsm6dsm_pressFlush()
3549 …if (sensorGetTime() <= (T(lastFifoReadTimestamp) + ((uint64_t)lsm6dsm_sensorHzToNs(T(fifoCntl).tri… in lsm6dsm_tempFlush()
3853 …oCal), cfgData->sw[0], cfgData->sw[1], cfgData->sw[2], dummy_temperature_celsius, sensorGetTime()); in lsm6dsm_gyroCfgData()
4715 uint64_t time = sensorGetTime(); in lsm6dsm_handleSpiDoneEvt()
4765 T(lastFifoReadTimestamp) = sensorGetTime(); in lsm6dsm_handleSpiDoneEvt()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c1068 bias->softwareBias[2], sensorGetTime());
2567 const uint64_t now = sensorGetTime();
2728 T(data_timestamp) = sensorGetTime();
2985 if (!allocateDataEvt(mSensor, sensorGetTime())) {
3000 allocateDataEvt(mSensor, sensorGetTime());
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c610 if (baroAllocateEvt(&baroSample, pressure_hPa, sensorGetTime())) { in handleCommDoneEvt()
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c674 if (baroAllocateEvt(&baroSample, pressure_Pa * 0.01f, sensorGetTime())) { in handleI2cEvent()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c2002 cur_time = sensorGetTime();
3132 sensorGetTime());
3313 mTask.timesync_rtc_time = sensorGetTime();
3641 mTask.tempTime = sensorGetTime();
4319 sensorGetTime(), d->sensitivity, d->intercept, true /*jumpstart*/);
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c724 mTask.timestampInt = sensorGetTime(); in parseRawData()