Searched refs:extraReqedRate (Results 1 – 1 of 1) sorted by relevance
402 static uint32_t sensorCalcHwRate(struct Sensor* s, uint32_t extraReqedRate, uint32_t removedRate) in sensorCalcHwRate() argument404 bool haveUsers = false, haveOnChange = extraReqedRate == SENSOR_RATE_ONCHANGE; in sensorCalcHwRate()409 ((extraReqedRate == SENSOR_RATE_ONCHANGE && !s->hasOnchange) || in sensorCalcHwRate()410 (extraReqedRate == SENSOR_RATE_ONDEMAND && !s->hasOndemand))) { in sensorCalcHwRate()411 … osLog(LOG_WARN, "Bad rate 0x%08" PRIX32 " for sensor %u", extraReqedRate, s->si->sensorType); in sensorCalcHwRate()415 if (extraReqedRate) { in sensorCalcHwRate()417 …highestReq = (extraReqedRate == SENSOR_RATE_ONDEMAND || extraReqedRate == SENSOR_RATE_ONCHANGE) ? … in sensorCalcHwRate()