/device/google/contexthub/firmware/os/core/ |
D | sensors.c | 202 if (osEnqueuePrivateEvt(EVT_APP_SENSOR_POWER, &evt->externalPowerEvt, in sensorCallFuncPower() 222 return osEnqueuePrivateEvt(EVT_APP_SENSOR_FW_UPLD, s->callData, NULL, EXT_APP_TID(s)); in sensorCallFuncFwUpld() 243 if (osEnqueuePrivateEvt(EVT_APP_SENSOR_SET_RATE, &evt->externalSetRateEvt, in sensorCallFuncSetRate() 257 return osEnqueuePrivateEvt(EVT_APP_SENSOR_CALIBRATE, s->callData, NULL, EXT_APP_TID(s)); in sensorCallFuncCalibrate() 265 return osEnqueuePrivateEvt(EVT_APP_SENSOR_SELF_TEST, s->callData, NULL, EXT_APP_TID(s)); in sensorCallFuncSelfTest() 273 return osEnqueuePrivateEvt(EVT_APP_SENSOR_FLUSH, s->callData, NULL, EXT_APP_TID(s)); in sensorCallFuncFlush() 288 if (osEnqueuePrivateEvt(EVT_APP_SENSOR_CFG_DATA, &evt->externalCfgDataEvt, in sensorCallFuncCfgData() 311 if (osEnqueuePrivateEvt(EVT_APP_SENSOR_MARSHALL, &evt->externalMarshallEvt, in sensorCallFuncMarshall() 325 return osEnqueuePrivateEvt(EVT_APP_SENSOR_TRIGGER, s->callData, NULL, EXT_APP_TID(s)); in sensorCallFuncTrigger() 340 if (osEnqueuePrivateEvt(EVT_APP_SENSOR_SEND_ONE_DIR_EVT, &evt->externalSendDirectEvt, in sensorCallFuncSendOneDirectEvt()
|
D | timer.c | 102 if (!osEnqueuePrivateEvt(EVT_APP_TIMER, evt, timerCallFuncFreeF, tim->tid)) { in timCallFunc()
|
D | osApi.c | 317 …if (!osEnqueuePrivateEvt(EVT_APP_I2C_CBK, &thing->i2cAppCbkEvt, osExpApiI2cInternalEvtFreeF, tid))… in osExpApiI2cInternalCbk()
|
D | hostIntf.c | 630 osEnqueuePrivateEvt(EVT_APP_START, NULL, NULL, mHostIntfTid); in initCompleteCallback() 661 osEnqueuePrivateEvt(EVT_LATENCY_TIMER, data, NULL, mHostIntfTid); in latencyTimerCallback()
|
D | seos.c | 1401 bool osEnqueuePrivateEvt(uint32_t evtType, void *evtData, EventFreeF evtFreeF, uint32_t toTid) in osEnqueuePrivateEvt() function
|
D | nanohubCommand.c | 955 res = osEnqueuePrivateEvt(event, packet, free, tid); in forwardPacket()
|
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/ |
D | ams_tmd2772.c | 225 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mData.tid); in i2cCallback() 266 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, cookie, NULL, mData.tid); in alsTimerCallback() 271 osEnqueuePrivateEvt(EVT_SENSOR_PROX_TIMER, cookie, NULL, mData.tid); in proxTimerCallback() 354 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, NULL, NULL, mData.tid); in sensorRateAls() 371 …result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mData.lastAlsSample.vptr, NULL, … in sendLastSampleAls() 409 osEnqueuePrivateEvt(EVT_SENSOR_PROX_TIMER, NULL, NULL, mData.tid); in sensorRateProx() 428 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL, tid); in sendLastSampleProx()
|
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/ |
D | isl29034.c | 177 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mData.tid); in i2cCallback() 218 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, cookie, NULL, mData.tid); in alsTimerCallback() 265 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, NULL, NULL, mData.tid); in sensorRateAls() 283 …result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mData.lastAlsSample.vptr, NULL, … in sendLastSampleAls()
|
/device/google/contexthub/firmware/os/drivers/leds/ |
D | leds_lp3943.c | 120 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mTask.id); in i2cCallback() 127 osEnqueuePrivateEvt(EVT_SENSOR_LEDS_TIMER, data, NULL, mTask.id); in sensorLP3943TimerCallback() 293 osEnqueuePrivateEvt(EVT_TEST, NULL, NULL, mTask.id); in handleI2cEvent()
|
D | leds_gpio.c | 64 osEnqueuePrivateEvt(EVT_SENSOR_LEDS_TIMER, data, NULL, mTask.id); in sensorLedsTimerCallback() 155 osEnqueuePrivateEvt(EVT_TEST, NULL, NULL, mTask.id); in handleEvent()
|
/device/google/contexthub/firmware/os/drivers/si_si7034/ |
D | si7034a10.c | 172 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mTask.tid); in i2cCallback() 217 osEnqueuePrivateEvt(EVT_SENSOR_HUMIDITY_TIMER, data, NULL, mTask.tid); in sensorHumiTimerCallback() 222 osEnqueuePrivateEvt(EVT_SENSOR_TEMP_TIMER, data, NULL, mTask.tid); in sensorTempTimerCallback() 388 osEnqueuePrivateEvt(EVT_TEST, NULL, NULL, mTask.tid); in handleI2cEvent()
|
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/ |
D | synaptics_s3708.c | 180 osEnqueuePrivateEvt(EVT_SENSOR_TOUCH_INTERRUPT, NULL, NULL, data->id); in touchIsr() 195 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mTask.id); in i2cCallback() 207 osEnqueuePrivateEvt(EVT_SENSOR_RETRY_TIMER, cookie, NULL, mTask.id); in retryTimerCallback() 459 osEnqueuePrivateEvt(EVT_SENSOR_TOUCH_INTERRUPT, NULL, NULL, mTask.id); in processI2cResponse()
|
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/ |
D | rohm_rpr0521.c | 272 osEnqueuePrivateEvt(EVT_SENSOR_PROX_INTERRUPT, NULL, NULL, mTask.tid); in proxIsr() 307 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mTask.tid); in i2cCallback() 314 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, cookie, NULL, mTask.tid); in alsTimerCallback() 471 …result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mTask.lastAlsSample.vptr, NULL, … in sendLastSampleAls() 541 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL, tid); in sendLastSampleProx()
|
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/ |
D | ams_tmd4903.c | 336 osEnqueuePrivateEvt(EVT_SENSOR_PROX_INTERRUPT, NULL, NULL, mTask.tid); in proxIsr() 344 osEnqueuePrivateEvt(EVT_SENSOR_PROX_INTERRUPT, NULL, NULL, mTask.tid); in proxIsr() 348 osEnqueuePrivateEvt(EVT_SENSOR_ALS_INTERRUPT, NULL, NULL, mTask.tid); in proxIsr() 377 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mTask.tid); in i2cCallback() 384 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, cookie, NULL, mTask.tid); in alsTimerCallback() 562 …result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mTask.lastAlsSample.vptr, NULL, … in sendLastSampleAls() 657 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL, tid); in sendLastSampleProx()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/ |
D | bosch_bmp280.c | 261 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mTask.id); in i2cCallback() 268 osEnqueuePrivateEvt(EVT_SENSOR_BARO_TIMER, cookie, NULL, mTask.id); in baroTimerCallback() 273 osEnqueuePrivateEvt(EVT_SENSOR_TEMP_TIMER, cookie, NULL, mTask.id); in tempTimerCallback() 278 osEnqueuePrivateEvt(EVT_SENSOR_SOFTRESET_TIMER, cookie, NULL, mTask.id); in softresetCallback()
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 1367 osEnqueuePrivateEvt(EVT_SPI_DONE, data, NULL, mTask.tid); in lsm6dsm_timerCallback() 1377 osEnqueuePrivateEvt(EVT_TIME_SYNC, data, NULL, mTask.tid); in lsm6dsm_timerSyncCallback() 1390 osEnqueuePrivateEvt(EVT_SPI_DONE, cookie, NULL, mTask.tid); in lsm6dsm_spiCallback() 1463 osEnqueuePrivateEvt(EVT_SENSOR_INTERRUPT_1, _task, NULL, T(tid)); in lsm6dsm_readStatusReg_() 2373 if (!osEnqueuePrivateEvt(EVT_TIME_SYNC, 0, NULL, mTask.tid)) { in lsm6dsm_updateSyncTaskMode() 2560 osEnqueuePrivateEvt(EVT_SENSOR_POWERING_UP, &T(sensors[ACCEL]), NULL, mTask.tid); in lsm6dsm_setAccelPower() 2568 osEnqueuePrivateEvt(EVT_SENSOR_POWERING_DOWN, &T(sensors[ACCEL]), NULL, mTask.tid); in lsm6dsm_setAccelPower() 2593 osEnqueuePrivateEvt(EVT_SENSOR_POWERING_UP, &T(sensors[GYRO]), NULL, mTask.tid); in lsm6dsm_setGyroPower() 2604 osEnqueuePrivateEvt(EVT_SENSOR_POWERING_DOWN, &T(sensors[GYRO]), NULL, mTask.tid); in lsm6dsm_setGyroPower() 2633 osEnqueuePrivateEvt(EVT_SENSOR_POWERING_UP, &T(sensors[MAGN]), NULL, mTask.tid); in lsm6dsm_setMagnPower() [all …]
|
/device/google/contexthub/firmware/os/drivers/st_lps22hb/ |
D | lps22hb.c | 243 osEnqueuePrivateEvt(EVT_COMM_DONE, cookie, NULL, mTask.tid); in i2cCallback() 306 osEnqueuePrivateEvt(EVT_SENSOR_BARO_TIMER, data, NULL, mTask.tid); in sensorBaroTimerCallback() 311 osEnqueuePrivateEvt(EVT_SENSOR_TEMP_TIMER, data, NULL, mTask.tid); in sensorTempTimerCallback()
|
/device/google/contexthub/firmware/os/drivers/st_hts221/ |
D | hts221.c | 219 osEnqueuePrivateEvt(EVT_COMM_DONE, cookie, NULL, mTask.tid); in i2cCallback() 269 osEnqueuePrivateEvt(EVT_SENSOR_HUMIDITY_TIMER, data, NULL, mTask.tid); in sensorHumidityTimerCallback()
|
/device/google/contexthub/firmware/os/drivers/hall/ |
D | hall.c | 188 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL, tid); in hallSendLastSample()
|
/device/google/contexthub/firmware/os/drivers/hall_twopole/ |
D | hall_twopole.c | 204 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL, tid); in hallSendLastSample()
|
/device/google/contexthub/firmware/os/drivers/st_acc44/ |
D | st_acc44.c | 498 if (!osEnqueuePrivateEvt(EVT_SENSOR_INTERRUPT, NULL, NULL, mTask.tid)) in st_acc44_int1_isr() 589 osEnqueuePrivateEvt(EVT_COMM_DONE, cookie, NULL, mTask.tid); in st_acc44_i2cCallback()
|
/device/google/contexthub/firmware/os/inc/ |
D | seos.h | 167 bool osEnqueuePrivateEvt(uint32_t evtType, void *evtData, EventFreeF evtFreeF, uint32_t toTid);
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 366 osEnqueuePrivateEvt(EVT_COMM_DONE, cookie, NULL, mTask.tid); in i2cCallback() 700 if (!osEnqueuePrivateEvt(EVT_SENSOR_INTERRUPT, NULL, NULL, mTask.tid)) in st_mag40_int1_isr()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 924 if (!osEnqueuePrivateEvt(EVT_SENSOR_INTERRUPT_2, _task, NULL, T(tid))) 934 if (!osEnqueuePrivateEvt(EVT_SPI_DONE, cookie, NULL, mTask.tid)) 940 if (!osEnqueuePrivateEvt(EVT_SPI_DONE, data, NULL, mTask.tid)) 946 if (!osEnqueuePrivateEvt(EVT_TIME_SYNC, data, NULL, mTask.tid)) 1253 if (!osEnqueuePrivateEvt(EVT_TIME_SYNC, (void *)mTask.poll_generation, NULL, mTask.tid)) 1950 if (!osEnqueuePrivateEvt(EVT_SENSOR_STEP_COUNTER, (void *) mTask.total_step_cnt, NULL, tid)) { 4193 if (!osEnqueuePrivateEvt(EVT_SENSOR_INTERRUPT_1, _task, NULL, T(tid)))
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 907 osEnqueuePrivateEvt(EVT_SENSOR_INTERRUPT_1, _task, NULL, T(tid)); 919 if (!osEnqueuePrivateEvt(EVT_SPI_DONE, cookie, NULL, T(tid)))
|