Home
last modified time | relevance | path

Searched refs:sHandle (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/firmware/os/drivers/leds/
Dleds_gpio.c57 uint32_t sHandle; member
92 return sensorSignalInternalEvt(mTask.sHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in sensorLedsPower()
97 return sensorSignalInternalEvt(mTask.sHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorLedsFwUpload()
108 return sensorSignalInternalEvt(mTask.sHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorLedsSetRate()
192 mTask.sHandle = sensorRegister(&sensorInfoLedsGpio, &sensorOpsLedsGpio, NULL, true); in startTask()
201 sensorUnregister(mTask.sHandle); in endTask()
Dleds_lp3943.c101 uint32_t sHandle; member
197 return sensorSignalInternalEvt(mTask.sHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in sensorLP3943Power()
202 return sensorSignalInternalEvt(mTask.sHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorLP3943FwUpload()
213 return sensorSignalInternalEvt(mTask.sHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorLP3943SetRate()
289 sensorRegisterInitComplete(mTask.sHandle); in handleI2cEvent()
347 mTask.sHandle = sensorRegister(&sensorInfoLedsLP3943, &sensorOpsLedsLP3943, NULL, false); in startTask()
356 sensorUnregister(mTask.sHandle); in endTask()