Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c139 uint32_t alsHandle; member
251 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareAls()
266 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateAls()
324 sensorUnregister(mData.alsHandle); in handle_i2c_event()
349 sensorRegisterInitComplete(mData.alsHandle); in handle_i2c_event()
353 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event()
357 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
396 mData.alsHandle = sensorRegister(&sensorInfoAls, &sensorOpsAls, NULL, false); in init_app()
407 sensorUnregister(mData.alsHandle); in end_app()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c230 uint32_t alsHandle; member
447 return sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareAls()
457 return sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateAls()
618 sensorUnregister(mTask.alsHandle); in handle_i2c_event()
663 sensorRegisterInitComplete(mTask.alsHandle); in handle_i2c_event()
668 sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event()
676 sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
762 mTask.alsHandle = sensorRegister(&sensorInfoAls, &sensorOpsAls, NULL, false); in init_app()
777 sensorUnregister(mTask.alsHandle); in end_app()
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c173 uint32_t alsHandle; member
340 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareAls()
355 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateAls()
552 sensorUnregister(mData.alsHandle); in handle_i2c_event()
591 sensorRegisterInitComplete(mData.alsHandle); in handle_i2c_event()
596 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event()
604 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
687 mData.alsHandle = sensorRegister(&sensorInfoAls, &sensorOpsAls, NULL, false); in init_app()
697 sensorUnregister(mData.alsHandle); in end_app()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c231 uint32_t alsHandle; member
502 return sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareAls()
512 return sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateAls()
714 sensorUnregister(mTask.alsHandle); in verifySensorId()
868 sensorRegisterInitComplete(mTask.alsHandle); in handle_i2c_event()
907 sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event()
921 sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
991 mTask.alsHandle = sensorRegister(&sensorInfoAls, &sensorOpsAls, NULL, false); in init_app()
1006 sensorUnregister(mTask.alsHandle); in end_app()