Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c140 PROX_STATE_FAR enumerator
353 if (mTask.proxState == PROX_STATE_FAR) { in configProx()
546 …Task.proxState = (embeddedSample.fdata < PROXIMITY_THRESH_NEAR) ? PROX_STATE_NEAR : PROX_STATE_FAR; in handleEvent()
548 if ((lastProxState != PROX_STATE_FAR) && (mTask.proxState == PROX_STATE_FAR)) { in handleEvent()
554 if (lastProxState == PROX_STATE_FAR) { in handleEvent()
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c143 PROX_STATE_FAR, enumerator
639 mData.proxState = PROX_STATE_FAR; in handle_i2c_event()
645 mData.proxState = PROX_STATE_FAR; in handle_i2c_event()
646 } else if (mData.proxState == PROX_STATE_FAR && in handle_i2c_event()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c194 PROX_STATE_FAR, enumerator
275 data->proxState = (pinState) ? PROX_STATE_FAR : PROX_STATE_NEAR; in proxIsr()
695 mTask.proxState = PROX_STATE_FAR; in handle_i2c_event()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c195 PROX_STATE_FAR, enumerator
340 data->lastProxState = (pinState) ? PROX_STATE_FAR : PROX_STATE_NEAR; in proxIsr()
807 mTask.lastProxState = PROX_STATE_FAR; in handleProxSample()
820 if (mTask.lastProxState == PROX_STATE_FAR) { in handleProxSample()