Home
last modified time | relevance | path

Searched refs:osEnqueuePrivateEvt (Results 1 – 25 of 25) sorted by relevance

/device/google/contexthub/firmware/os/core/
Dsensors.c202 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()
Dtimer.c102 if (!osEnqueuePrivateEvt(EVT_APP_TIMER, evt, timerCallFuncFreeF, tim->tid)) { in timCallFunc()
DosApi.c317 …if (!osEnqueuePrivateEvt(EVT_APP_I2C_CBK, &thing->i2cAppCbkEvt, osExpApiI2cInternalEvtFreeF, tid))… in osExpApiI2cInternalCbk()
DhostIntf.c630 osEnqueuePrivateEvt(EVT_APP_START, NULL, NULL, mHostIntfTid); in initCompleteCallback()
661 osEnqueuePrivateEvt(EVT_LATENCY_TIMER, data, NULL, mHostIntfTid); in latencyTimerCallback()
Dseos.c1401 bool osEnqueuePrivateEvt(uint32_t evtType, void *evtData, EventFreeF evtFreeF, uint32_t toTid) in osEnqueuePrivateEvt() function
DnanohubCommand.c955 res = osEnqueuePrivateEvt(event, packet, free, tid); in forwardPacket()
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c177 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/ams_tmd2772/
Dams_tmd2772.c225 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/leds/
Dleds_lp3943.c120 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()
Dleds_gpio.c64 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/
Dsi7034a10.c172 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/
Dsynaptics_s3708.c180 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/
Drohm_rpr0521.c272 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()
438 …result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mTask.lastAlsSample.vptr, NULL, … in sendLastSampleAls()
510 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL, tid); in sendLastSampleProx()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c336 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/
Dbosch_bmp280.c261 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/
Dst_lsm6dsm.c1367 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/
Dlps22hb.c243 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/
Dhts221.c219 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/
Dhall.c188 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL, tid); in hallSendLastSample()
/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c204 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL, tid); in hallSendLastSample()
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c498 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/
Dseos.h167 bool osEnqueuePrivateEvt(uint32_t evtType, void *evtData, EventFreeF evtFreeF, uint32_t toTid);
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c366 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/
Dbosch_bmi160.c917 if (!osEnqueuePrivateEvt(EVT_SENSOR_INTERRUPT_2, _task, NULL, T(tid)))
927 if (!osEnqueuePrivateEvt(EVT_SPI_DONE, cookie, NULL, mTask.tid))
933 if (!osEnqueuePrivateEvt(EVT_SPI_DONE, data, NULL, mTask.tid))
939 if (!osEnqueuePrivateEvt(EVT_TIME_SYNC, data, NULL, mTask.tid))
1246 if (!osEnqueuePrivateEvt(EVT_TIME_SYNC, (void *)mTask.poll_generation, NULL, mTask.tid))
1943 if (!osEnqueuePrivateEvt(EVT_SENSOR_STEP_COUNTER, (void *) mTask.total_step_cnt, NULL, tid)) {
4186 if (!osEnqueuePrivateEvt(EVT_SENSOR_INTERRUPT_1, _task, NULL, T(tid)))
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c907 osEnqueuePrivateEvt(EVT_SENSOR_INTERRUPT_1, _task, NULL, T(tid));
919 if (!osEnqueuePrivateEvt(EVT_SPI_DONE, cookie, NULL, T(tid)))