Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/inc/
Dtimer.h43 uint32_t timTimerSet(uint64_t length, uint32_t jitterPpm, uint32_t driftPpm, TimTimerCbkF cbk, void…
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c366 …mTask.baroTimerHandle = timTimerSet(sensorTimerLookupCommon(baroSupportedRates, rateTimerValsBaro,… in sensorRateBaro()
385 mTask.baroTimerHandle = timTimerSet(100000000ull, 0, 50, baroTimerCallback, NULL, false); in sensorCalibrateBaro()
457 …mTask.tempTimerHandle = timTimerSet(sensorTimerLookupCommon(tempSupportedRates, rateTimerValsTemp,… in sensorRateTemp()
572 mTask.resetHandle = timTimerSet(2000000ull, 0, 50, softresetCallback, NULL, true); in handleI2cEvent()
/device/google/contexthub/firmware/os/drivers/si_si7034/
Dsi7034a10.c291 mTask.humiTimerHandle = timTimerSet(sensorTimerLookupCommon(si7034Rates, in humiSetRate()
332 mTask.tempTimerHandle = timTimerSet(sensorTimerLookupCommon(si7034Rates, in tempSetRate()
/device/google/contexthub/firmware/os/drivers/hall/
Dhall.c96 …mTask.debounceTimerHandle = timTimerSet(HALL_DEBOUNCE_TIMER_DELAY, 0, 50, debounceTimerCallback, (… in hallIsr()
/device/google/contexthub/firmware/os/drivers/leds/
Dleds_gpio.c105 mTask.ledsTimerHandle = timTimerSet(sensorTimerLookupCommon(ledsRates, in sensorLedsSetRate()
Dleds_lp3943.c210 mTask.ledsTimerHandle = timTimerSet(sensorTimerLookupCommon(ledsRates, in sensorLP3943SetRate()
/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c100 …data->debounceTimerHandle = timTimerSet(HALL_DEBOUNCE_TIMER_DELAY, 0, 50, debounceTimerCallback, (… in startDebounceTimer()
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c396 mTask.baroTimerHandle = timTimerSet(sensorTimerLookupCommon(lps22hbRates, in baroSetRate()
492 mTask.tempTimerHandle = timTimerSet(sensorTimerLookupCommon(lps22hbRates, in tempSetRate()
/device/google/contexthub/firmware/os/core/
Dtimer.c211 uint32_t timTimerSet(uint64_t length, uint32_t jitterPpm, uint32_t driftPpm, TimTimerCbkF cbk, void… in timTimerSet() function
Dspi.c122 if (!timTimerSet(state->packets[i].delay, 0, 50, spiDelayCallback, state, true)) { in spiMasterRxTxDone()
DhostIntf.c685 timTimerSet(SENSOR_INIT_DELAY, 0, 50, initCompleteCallback, NULL, true); in initSensors()
1313 … mLatencyTimer = timTimerSet(CHECK_LATENCY_TIME, 100, 100, latencyTimerCallback, NULL, false); in onConfigCmdEnableOne()
1338 … mLatencyTimer = timTimerSet(CHECK_LATENCY_TIME, 100, 100, latencyTimerCallback, NULL, false); in onConfigCmdEnableAll()
DnanohubCommand.c1976 timTimerSet(PRINT_DELAY, 0, 50, syncDebugCallback, NULL, false /*oneShot*/))) { in syncDebugTriggerPrint()
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c353 …mData.alsTimerHandle = timTimerSet(sensorTimerLookupCommon(supportedRates, rateTimerVals, rate), 0… in sensorRateAls()
408 …mData.proxTimerHandle = timTimerSet(sensorTimerLookupCommon(supportedRates, rateTimerVals, rate), … in sensorRateProx()
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c264 …mData.alsTimerHandle = timTimerSet(sensorTimerLookupCommon(supportedRates, rateTimerVals, rate), 0… in sensorRateAls()
/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c349 mTask.humidityTimerHandle = timTimerSet(sensorTimerLookupCommon(hts221Rates, in humiditySetRate()
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c293 … mTask.retryTimerHandle = timTimerSet(MAX_I2C_RETRY_DELAY, 0, 50, retryTimerCallback, NULL, true); in setRetryTimer()
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c2730 …T(baroTimerId) = timTimerSet(lsm6dsm_sensorHzToNs(T(sensors[TEMP]).rate[TEMP]), 0, 50, lsm6dsm_bar… in lsm6dsm_setPressPower()
2807 …T(baroTimerId) = timTimerSet(lsm6dsm_sensorHzToNs(T(sensors[PRESS]).rate[PRESS]), 0, 50, lsm6dsm_b… in lsm6dsm_setTempPower()
3248 …T(baroTimerId) = timTimerSet(lsm6dsm_sensorHzToNs(rate), 0, 50, lsm6dsm_baroTimerCallback, NULL, f… in lsm6dsm_setPressRate()
3312 …T(baroTimerId) = timTimerSet(lsm6dsm_sensorHzToNs(rate), 0, 50, lsm6dsm_baroTimerCallback, NULL, f… in lsm6dsm_setTempRate()
4605 timTimerSet(100000000, 100, 100, lsm6dsm_timerCallback, NULL, true); in lsm6dsm_handleSpiDoneEvt()
4833 …if (timTimerSet(LSM6DSM_SYNC_DELTA_INTERVAL, 100, 100, lsm6dsm_timerSyncCallback, NULL, true) == 0) in lsm6dsm_handleSpiDoneEvt()
4907 timTimerSet(100000000 - currTime, 100, 100, lsm6dsm_timerCallback, NULL, true); in lsm6dsm_handleEvent()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c432 …mTask.alsTimerHandle = timTimerSet(ROHM_RPR0521_ALS_TIMER_DELAY, 0, 50, alsTimerCallback, NULL, fa… in sensorPowerAls()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c1817 …mTask.stepCntSamplingTimerHandle = timTimerSet(sensorTimerLookupCommon(StepCntRates, stepCntRateTi…
3533 if (timTimerSet(100000000, 100, 100, sensorTimerCallback, NULL, true) == 0)
3653 if (timTimerSet(kTimeSyncPeriodNs, 100, 100, timeSyncCallback,
3697 if (timTimerSet(delay, 0, 50, i2cDelayCallback, cookie, true))
3755 if (timTimerSet(100000000 - currTime, 100, 100, sensorTimerCallback, NULL, true) == 0)
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c352 if (!timTimerSet(xfer->delay * 1000, 0, 50, i2cDelayCallback, xfer, true)) { in i2cCallback()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c482 …mTask.alsTimerHandle = timTimerSet(AMS_TMD4903_ALS_TIMER_DELAY, 0, 50, alsTimerCallback, NULL, fal… in sensorPowerAls()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c2180 …T(noMotionTimerHandle) = timTimerSet(ICM40600_NOM_DURATION_NS, 0, 100, noMotionCallback, &T(sensor…
2746 …T(noMotionTimerHandle) = timTimerSet(ICM40600_NOM_DURATION_NS, 0, 100, noMotionCallback, (void *)&…