/device/google/contexthub/firmware/os/drivers/bosch_bmp280/ |
D | bosch_bmp280.c | 329 sensorSignalInternalEvt(mTask.baroHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in sensorPowerBaro() 350 sensorSignalInternalEvt(mTask.baroHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in sensorPowerBaro() 359 return sensorSignalInternalEvt(mTask.baroHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareBaro() 367 return sensorSignalInternalEvt(mTask.baroHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateBaro() 418 sensorSignalInternalEvt(mTask.tempHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in sensorPowerTemp() 439 sensorSignalInternalEvt(mTask.tempHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in sensorPowerTemp() 449 sensorSignalInternalEvt(mTask.tempHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareTemp() 458 sensorSignalInternalEvt(mTask.tempHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateTemp() 626 sensorSignalInternalEvt(mTask.baroHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handleI2cEvent() 627 sensorSignalInternalEvt(mTask.tempHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handleI2cEvent() [all …]
|
/device/google/contexthub/firmware/os/drivers/st_lps22hb/ |
D | lps22hb.c | 371 sensorSignalInternalEvt(mTask.sensors[BARO].handle, in baroPower() 386 …return sensorSignalInternalEvt(mTask.sensors[BARO].handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in baroFwUpload() 399 return sensorSignalInternalEvt(mTask.sensors[BARO].handle, in baroSetRate() 468 sensorSignalInternalEvt(mTask.sensors[TEMP].handle, in tempPower() 483 …return sensorSignalInternalEvt(mTask.sensors[TEMP].handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in tempFwUpload() 495 return sensorSignalInternalEvt(mTask.sensors[TEMP].handle, in tempSetRate() 554 sensorSignalInternalEvt(mTask.sensors[BARO].handle, in handleCommDoneEvt() 559 sensorSignalInternalEvt(mTask.sensors[BARO].handle, in handleCommDoneEvt() 564 sensorSignalInternalEvt(mTask.sensors[TEMP].handle, in handleCommDoneEvt() 569 sensorSignalInternalEvt(mTask.sensors[TEMP].handle, in handleCommDoneEvt()
|
/device/google/contexthub/firmware/os/drivers/si_si7034/ |
D | si7034a10.c | 272 return sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, in humiPower() 280 return sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, in humiFwUpload() 294 return sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, in humiSetRate() 313 return sensorSignalInternalEvt(mTask.sensors[TEMP].handle, in tempPower() 321 return sensorSignalInternalEvt(mTask.sensors[TEMP].handle, in tempFwUpload() 335 return sensorSignalInternalEvt(mTask.sensors[TEMP].handle, in tempSetRate()
|
/device/google/contexthub/firmware/os/drivers/vsync/ |
D | vsync.c | 167 sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in vsyncPower() 173 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in vsyncFirmwareUpload() 179 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in vsyncSetRate()
|
/device/google/contexthub/firmware/os/drivers/hall/ |
D | hall.c | 154 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in hallPower() 159 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in hallFirmwareUpload() 173 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in hallSetRate()
|
/device/google/contexthub/firmware/os/drivers/leds/ |
D | leds_gpio.c | 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()
|
D | leds_lp3943.c | 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()
|
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/ |
D | rohm_rpr0521.c | 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() 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() 668 sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event() 672 sensorSignalInternalEvt(mTask.proxHandle, 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() 691 sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
|
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/ |
D | ams_tmd2772.c | 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() 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() 596 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event() 600 sensorSignalInternalEvt(mData.proxHandle, 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() 608 sensorSignalInternalEvt(mData.proxHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
|
/device/google/contexthub/firmware/os/drivers/st_hts221/ |
D | hts221.c | 324 sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, in humidityPower() 339 …return sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1… in humidityFwUpload() 352 return sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, in humiditySetRate() 424 sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, in handleCommDoneEvt() 429 sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, in handleCommDoneEvt()
|
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/ |
D | isl29034.c | 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() 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()
|
/device/google/contexthub/firmware/os/drivers/hall_twopole/ |
D | hall_twopole.c | 175 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in hallPower() 180 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in hallFirmwareUpload() 189 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in hallSetRate()
|
/device/google/contexthub/firmware/os/drivers/tilt_detection/ |
D | tilt_detection.c | 200 sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, in tiltDetectionPower() 207 sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, in tiltDetectionSetRate() 214 sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, in tiltDetectionFirmwareUpload()
|
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/ |
D | ams_tmd4903.c | 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() 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() 907 sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event() 911 sensorSignalInternalEvt(mTask.proxHandle, 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() 935 sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
|
/device/google/contexthub/firmware/os/drivers/st_acc44/ |
D | st_acc44.c | 392 sensorSignalInternalEvt(mTask.accHandle, in st_acc44_Power() 405 return sensorSignalInternalEvt(mTask.accHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in st_acc44_FwUpload() 726 sensorSignalInternalEvt(mTask.accHandle, in st_acc44_handleCommDoneEvt() 734 sensorSignalInternalEvt(mTask.accHandle, in st_acc44_handleCommDoneEvt() 743 sensorSignalInternalEvt(mTask.accHandle, in st_acc44_handleCommDoneEvt()
|
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/ |
D | synaptics_s3708.c | 395 return sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, mTask.on, 0); in callbackPower() 400 return sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in callbackFirmwareUpload() 405 return sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in callbackSetRate()
|
/device/google/contexthub/firmware/os/drivers/window_orientation/ |
D | window_orientation.c | 570 sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in windowOrientationPower() 593 sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in windowOrientationSetRate() 600 sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, in windowOrientationFirmwareUpload()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 963 sensorSignalInternalEvt(mTask.sensors[ACC].handle, 970 sensorSignalInternalEvt(mTask.sensors[GYR].handle, 978 sensorSignalInternalEvt(mTask.sensors[MAG].handle, 986 sensorSignalInternalEvt(mTask.sensors[STEP].handle, 993 sensorSignalInternalEvt(mTask.sensors[DTAP].handle, 1000 sensorSignalInternalEvt(mTask.sensors[NOMO].handle, 1007 sensorSignalInternalEvt(mTask.sensors[ANYMO].handle, 1014 sensorSignalInternalEvt(mTask.sensors[FLAT].handle, 1021 sensorSignalInternalEvt(mTask.sensors[STEPCNT].handle, 1754 sensorSignalInternalEvt(mTask.sensors[STEP].handle, [all …]
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 476 return sensorSignalInternalEvt(mTask.magHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in magFwUpload() 822 sensorSignalInternalEvt(mTask.magHandle, in sensorMagConfig() 835 sensorSignalInternalEvt(mTask.magHandle, in sensorMagConfig() 848 sensorSignalInternalEvt(mTask.magHandle, in sensorMagConfig()
|
/device/google/contexthub/firmware/os/inc/ |
D | sensors.h | 263 bool sensorSignalInternalEvt(uint32_t handle, uint32_t intEvtNum, uint32_t value1, uint64_t value2);
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 2988 sensorSignalInternalEvt(T(sensors[ACCEL]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_accelFirmwareUpload() 3001 sensorSignalInternalEvt(T(sensors[GYRO]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_gyroFirmwareUpload() 3015 sensorSignalInternalEvt(T(sensors[MAGN]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_magnFirmwareUpload() 3030 sensorSignalInternalEvt(T(sensors[PRESS]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_pressFirmwareUpload() 3043 sensorSignalInternalEvt(T(sensors[TEMP]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_tempFirmwareUpload() 3057 … sensorSignalInternalEvt(T(sensors[STEP_DETECTOR]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_stepDetectorFirmwareUpload() 3070 … sensorSignalInternalEvt(T(sensors[STEP_COUNTER]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_stepCounterFirmwareUpload() 3083 sensorSignalInternalEvt(T(sensors[SIGN_MOTION]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_signMotionFirmwareUpload() 3351 …sensorSignalInternalEvt(T(sensors[STEP_DETECTOR]).handle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, late… in lsm6dsm_setStepDetectorRate() 3415 …sensorSignalInternalEvt(T(sensors[SIGN_MOTION]).handle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latenc… in lsm6dsm_setSignMotionRate() [all …]
|
/device/google/contexthub/firmware/os/drivers/orientation/ |
D | orientation.c | 705 sensorSignalInternalEvt(mSensor->handle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in fusionSetRate() 755 sensorSignalInternalEvt(mSensor->handle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in fusionPower() 764 sensorSignalInternalEvt(mSensor->handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in fusionFirmwareUpload()
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 1862 sensorSignalInternalEvt(T(sensors[i]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); 2967 sensorSignalInternalEvt(mSensor->handle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, 1, 0); 3005 sensorSignalInternalEvt(mSensor->handle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, 0, 0); 3022 …sensorSignalInternalEvt(mSensor->handle, SENSOR_INTERNAL_EVT_RATE_CHG, mSensor->rate, mSensor->lat…
|
/device/google/contexthub/firmware/os/core/ |
D | sensors.c | 536 bool sensorSignalInternalEvt(uint32_t handle, uint32_t intEvtNum, uint32_t value1, uint64_t value2) in sensorSignalInternalEvt() function
|
D | osApi.c | 106 *retValP = (uintptr_t)sensorSignalInternalEvt(handle, intEvtNum, value1, value2); in osExpApiSensorSignal()
|