Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c140 uint32_t alsTimerHandle; member
233 if (mData.alsTimerHandle) { in sensorPowerAls()
234 timTimerCancel(mData.alsTimerHandle); in sensorPowerAls()
235 mData.alsTimerHandle = 0; in sensorPowerAls()
262 if (mData.alsTimerHandle) in sensorRateAls()
263 timTimerCancel(mData.alsTimerHandle); in sensorRateAls()
264 …mData.alsTimerHandle = timTimerSet(sensorTimerLookupCommon(supportedRates, rateTimerVals, rate), 0… in sensorRateAls()
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c175 uint32_t alsTimerHandle; member
325 if (mData.alsTimerHandle) { in sensorPowerAls()
326 timTimerCancel(mData.alsTimerHandle); in sensorPowerAls()
327 mData.alsTimerHandle = 0; in sensorPowerAls()
351 if (mData.alsTimerHandle) in sensorRateAls()
352 timTimerCancel(mData.alsTimerHandle); in sensorRateAls()
353 …mData.alsTimerHandle = timTimerSet(sensorTimerLookupCommon(supportedRates, rateTimerVals, rate), 0… in sensorRateAls()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c232 uint32_t alsTimerHandle; member
398 if (on && !mTask.alsTimerHandle) { in sensorPowerAls()
399 …mTask.alsTimerHandle = timTimerSet(ROHM_RPR0521_ALS_TIMER_DELAY, 0, 50, alsTimerCallback, NULL, fa… in sensorPowerAls()
400 } else if (!on && mTask.alsTimerHandle) { in sensorPowerAls()
401 timTimerCancel(mTask.alsTimerHandle); in sensorPowerAls()
402 mTask.alsTimerHandle = 0; in sensorPowerAls()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c233 uint32_t alsTimerHandle; member
481 if (on && !mTask.alsTimerHandle) { in sensorPowerAls()
482 …mTask.alsTimerHandle = timTimerSet(AMS_TMD4903_ALS_TIMER_DELAY, 0, 50, alsTimerCallback, NULL, fal… in sensorPowerAls()
483 } else if (!on && mTask.alsTimerHandle) { in sensorPowerAls()
484 timTimerCancel(mTask.alsTimerHandle); in sensorPowerAls()
485 mTask.alsTimerHandle = 0; in sensorPowerAls()