Searched refs:lastProxState (Results 1 – 3 of 3) sorted by relevance
241 uint8_t lastProxState; // enum ProxState member320 uint8_t lastProxState = data->lastProxState; in proxIsr() local334 (void)lastProxState; in proxIsr()340 data->lastProxState = (pinState) ? PROX_STATE_FAR : PROX_STATE_NEAR; in proxIsr()341 if (data->lastProxState != lastProxState) in proxIsr()579 mTask.lastProxState = PROX_STATE_INIT; in sensorPowerProx()618 mTask.lastProxState = PROX_STATE_INIT; in sensorCalibrateProx()655 if (mTask.lastProxState != PROX_STATE_INIT) { in sendLastSampleProx()656 …sample.fdata = (mTask.lastProxState == PROX_STATE_NEAR) ? AMS_TMD4903_REPORT_NEAR_VALUE : AMS_TMD4… in sendLastSampleProx()791 uint8_t lastProxState = mTask.lastProxState; in handleProxSample() local[all …]
507 enum ProxState lastProxState; in handleEvent() local545 lastProxState = mTask.proxState; in handleEvent()548 if ((lastProxState != PROX_STATE_FAR) && (mTask.proxState == PROX_STATE_FAR)) { in handleEvent()552 … } else if ((lastProxState != PROX_STATE_NEAR) && (mTask.proxState == PROX_STATE_NEAR)) { in handleEvent()554 if (lastProxState == PROX_STATE_FAR) { in handleEvent()
260 uint8_t lastProxState = data->proxState; in proxIsr() local276 if (data->proxState != lastProxState) in proxIsr()574 uint8_t lastProxState; in handle_i2c_event() local685 lastProxState = mTask.proxState; in handle_i2c_event()698 if (mTask.proxState != lastProxState) in handle_i2c_event()