Searched refs:currentRate (Results 1 – 2 of 2) sorted by relevance
110 s->currentRate = SENSOR_RATE_OFF; in sensorRegisterEx()352 if (s->currentRate == newHwRate && s->currentLatency == newHwLatency) { in sensorReconfig()355 else if (s->currentRate == SENSOR_RATE_OFF) { in sensorReconfig()358 s->currentRate = SENSOR_RATE_POWERING_ON; in sensorReconfig()362 else if (s->currentRate == SENSOR_RATE_POWERING_OFF) { in sensorReconfig()364 s->currentRate = SENSOR_RATE_POWERING_ON; in sensorReconfig()367 …else if (s->currentRate == SENSOR_RATE_POWERING_ON || s->currentRate == SENSOR_RATE_FW_UPLOADING) { in sensorReconfig()377 s->currentRate = SENSOR_RATE_POWERING_OFF; in sensorReconfig()476 s->currentRate = SENSOR_RATE_POWERING_OFF; in sensorInternalFwStateChanged()480 else if (s->currentRate == SENSOR_RATE_FW_UPLOADING) { //we're up in sensorInternalFwStateChanged()[all …]
28 uint32_t currentRate; /* here 0 means off */ member