Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c231 uint32_t proxHandle; member
497 return sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareProx()
507 return sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateProx()
619 sensorUnregister(mTask.proxHandle); in handle_i2c_event()
664 sensorRegisterInitComplete(mTask.proxHandle); in handle_i2c_event()
672 sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event()
691 sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
763 mTask.proxHandle = sensorRegister(&sensorInfoProx, &sensorOpsProx, NULL, false); in init_app()
778 sensorUnregister(mTask.proxHandle); in end_app()
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c174 uint32_t proxHandle; member
395 sensorSignalInternalEvt(mData.proxHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareProx()
410 sensorSignalInternalEvt(mData.proxHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateProx()
553 sensorUnregister(mData.proxHandle); in handle_i2c_event()
592 sensorRegisterInitComplete(mData.proxHandle); in handle_i2c_event()
600 sensorSignalInternalEvt(mData.proxHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event()
608 sensorSignalInternalEvt(mData.proxHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
688 mData.proxHandle = sensorRegister(&sensorInfoProx, &sensorOpsProx, NULL, false); in init_app()
698 sensorUnregister(mData.proxHandle); in end_app()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c232 uint32_t proxHandle; member
589 return sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareProx()
599 return sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateProx()
715 sensorUnregister(mTask.proxHandle); in verifySensorId()
869 sensorRegisterInitComplete(mTask.proxHandle); in handle_i2c_event()
911 sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event()
935 sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
992 mTask.proxHandle = sensorRegister(&sensorInfoProx, &sensorOpsProx, NULL, false); in init_app()
1007 sensorUnregister(mTask.proxHandle); in end_app()
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c153 uint32_t proxHandle; member
345 sensorRequest(mTask.id, mTask.proxHandle, DEFAULT_PROX_RATE_HZ, in configProx()
349 sensorRelease(mTask.id, mTask.proxHandle); in configProx()
521 sensorFind(SENS_TYPE_PROX, 0, &mTask.proxHandle); in handleEvent()