Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/
Dsensors.c425 static uint32_t sensorCalcHwRate(struct Sensor* s, uint32_t extraReqedRate, uint32_t removedRate) in sensorCalcHwRate() argument
427 bool haveUsers = false, haveOnChange = extraReqedRate == SENSOR_RATE_ONCHANGE; in sensorCalcHwRate()
432 ((extraReqedRate == SENSOR_RATE_ONCHANGE && !s->hasOnchange) || in sensorCalcHwRate()
433 (extraReqedRate == SENSOR_RATE_ONDEMAND && !s->hasOndemand))) { in sensorCalcHwRate()
434 … osLog(LOG_WARN, "Bad rate 0x%08" PRIX32 " for sensor %u", extraReqedRate, s->si->sensorType); in sensorCalcHwRate()
438 if (extraReqedRate) { in sensorCalcHwRate()
440 …highestReq = (extraReqedRate == SENSOR_RATE_ONDEMAND || extraReqedRate == SENSOR_RATE_ONCHANGE) ? … in sensorCalcHwRate()