Searched defs:tid (Results 26 - 39 of 39) sorted by relevance

12

/device/google/contexthub/firmware/os/drivers/orientation/
H A Dorientation.c108 uint32_t tid; member in struct:FusionTask
593 if (sensorRequest(mTask.tid, mTask.accelHandle, mTask.raw_sensor_rate[ACC],
595 osEventSubscribe(mTask.tid, EVT_SENSOR_ACC_DATA_RDY);
600 sensorRequestRateChange(mTask.tid, mTask.accelHandle, mTask.raw_sensor_rate[ACC],
614 if (sensorRequest(mTask.tid, mTask.gyroHandle, mTask.raw_sensor_rate[GYR],
616 osEventSubscribe(mTask.tid, EVT_SENSOR_GYR_DATA_RDY);
621 sensorRequestRateChange(mTask.tid, mTask.gyroHandle, mTask.raw_sensor_rate[GYR],
635 if (sensorRequest(mTask.tid, mTask.magHandle, mTask.raw_sensor_rate[MAG],
637 osEventSubscribe(mTask.tid, EVT_SENSOR_MAG_DATA_RDY);
638 osEventSubscribe(mTask.tid, EVT_SENSOR_MAG_BIA
833 fusionStart(uint32_t tid) argument
[all...]
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
H A Dlps22hb.c112 uint32_t tid; member in struct:lps22hbTask
154 osEnqueuePrivateEvt(EVT_COMM_DONE, cookie, NULL, mTask.tid);
212 osEnqueuePrivateEvt(EVT_SENSOR_BARO_TIMER, data, NULL, mTask.tid);
217 osEnqueuePrivateEvt(EVT_SENSOR_TEMP_TIMER, data, NULL, mTask.tid);
403 //osEnqueuePrivateEvt(EVT_TEST, NULL, NULL, mTask.tid);
471 osEventUnsubscribe(mTask.tid, EVT_APP_START);
533 mTask.tid = task_id;
558 osEventSubscribe(mTask.tid, EVT_APP_START);
/device/google/contexthub/firmware/os/drivers/window_orientation/
H A Dwindow_orientation.c113 uint32_t tid; member in struct:WindowOrientationTask
561 sensorRelease(mTask.tid, mTask.accelHandle);
563 osEventUnsubscribe(mTask.tid, EVT_SENSOR_ACC_DATA_RDY);
577 if (sensorRequest(mTask.tid, mTask.accelHandle, ACCEL_MIN_RATE_HZ, ACCEL_MAX_LATENCY_NS)) {
582 osEventSubscribe(mTask.tid, EVT_SENSOR_ACC_DATA_RDY);
642 static bool window_orientation_start(uint32_t tid) argument
644 mTask.tid = tid;
/device/google/contexthub/firmware/os/platform/stm32/
H A Dplatform.c681 uint32_t platFreeResources(uint32_t tid) argument
683 uint32_t dmaCount = dmaStopAll(tid);
684 uint32_t irqCount = extiUnchainAll(tid);
H A Di2c.c162 uint16_t tid; member in struct:I2cStmState
228 uint16_t tid; member in struct:StmI2cXfer
357 uint16_t oldTid = osSetCurrentTid(state->tid);
364 uint16_t oldTid = osSetCurrentTid(state->tid);
524 state->tid = xfer->tid;
881 xfer->tid = osGetCurrentTid();
910 state->tid = xfer->tid;
989 state->tid
[all...]
/device/google/contexthub/firmware/os/core/
H A DhostIntf.c341 static bool hostIntfRequest(uint32_t tid) argument
343 mHostIntfTid = tid;
H A DnanohubCommand.c882 void *hdr, size_t hdr_size, uint32_t tid)
900 if (tid) {
902 res = osEnqueuePrivateEvt(event, packet, free, tid);
917 uint32_t tid; local
925 osTidById(&hostPacket->appId, &tid)) {
927 &hostPacket->len, sizeof(hostPacket->len), tid);
936 osTidById(&hostPacket->appId, &tid)) {
937 if (osAppIsChre(tid)) {
944 &hdr, sizeof(hdr), tid);
948 &hostPacket->len, sizeof(hostPacket->len), tid);
881 forwardPacket(uint32_t event, void *data, size_t data_size, void *hdr, size_t hdr_size, uint32_t tid) argument
[all...]
H A Dseos.c93 bool osAppIsChre(uint16_t tid) argument
95 struct Task *task = osTaskFindByTid(tid);
142 return task->tid;
145 uint32_t osSetCurrentTid(uint32_t tid) argument
147 struct Task *task = osTaskByIdx(TID_TO_TASK_IDX(tid));
149 if (task && task->tid == tid) {
151 return preempted->tid;
182 task->tid,
249 uint16_t tid local
276 osTaskFindByTid(uint32_t tid) argument
293 uint16_t tid = task->tid; local
970 uint16_t tid = EVENT_GET_ORIGIN(evtType); local
1084 uint16_t tid, evt; local
1162 osEventSubscribe(uint32_t tid, uint32_t evtType) argument
1168 osEventUnsubscribe(uint32_t tid, uint32_t evtType) argument
1310 osTidById(uint64_t *appId, uint32_t *tid) argument
[all...]
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
H A Dams_tmd2772.c171 uint32_t tid; member in struct:SensorData
225 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mData.tid);
266 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, cookie, NULL, mData.tid);
271 osEnqueuePrivateEvt(EVT_SENSOR_PROX_TIMER, cookie, NULL, mData.tid);
354 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, NULL, NULL, mData.tid);
365 static bool sendLastSampleAls(void *cookie, uint32_t tid) { argument
371 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mData.lastAlsSample.vptr, NULL, tid);
409 osEnqueuePrivateEvt(EVT_SENSOR_PROX_TIMER, NULL, NULL, mData.tid);
420 static bool sendLastSampleProx(void *cookie, uint32_t tid) { argument
428 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL, tid);
[all...]
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
H A Dams_tmd4903.c229 uint32_t tid; member in struct:SensorData
336 osEnqueuePrivateEvt(EVT_SENSOR_PROX_INTERRUPT, NULL, NULL, mTask.tid);
344 osEnqueuePrivateEvt(EVT_SENSOR_PROX_INTERRUPT, NULL, NULL, mTask.tid);
348 osEnqueuePrivateEvt(EVT_SENSOR_ALS_INTERRUPT, NULL, NULL, mTask.tid);
377 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mTask.tid);
384 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, cookie, NULL, mTask.tid);
556 static bool sendLastSampleAls(void *cookie, uint32_t tid) { argument
562 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mTask.lastAlsSample.vptr, NULL, tid);
650 static bool sendLastSampleProx(void *cookie, uint32_t tid) { argument
657 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL, tid);
[all...]
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
H A Drohm_rpr0521.c220 uint32_t tid; member in struct:SensorData
264 osEnqueuePrivateEvt(EVT_SENSOR_PROX_INTERRUPT, NULL, NULL, mTask.tid);
299 osEnqueuePrivateEvt(EVT_SENSOR_I2C, cookie, NULL, mTask.tid);
306 osEnqueuePrivateEvt(EVT_SENSOR_ALS_TIMER, cookie, NULL, mTask.tid);
424 static bool sendLastSampleAls(void *cookie, uint32_t tid) { argument
430 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_ALS), mTask.lastAlsSample.vptr, NULL, tid);
497 static bool sendLastSampleProx(void *cookie, uint32_t tid) { argument
504 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL, tid);
717 mTask.tid = myTid;
/device/google/marlin/camera/usbcamcore/src/
H A DQualcommUsbCamera.cpp2019 pid_t tid = 0; local
2034 tid = gettid();
2036 androidSetThreadPriority(tid, ANDROID_PRIORITY_NORMAL);
2454 pid_t tid = 0; local
2468 tid = gettid();
2470 androidSetThreadPriority(tid, ANDROID_PRIORITY_NORMAL);
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
H A Dst_lsm6dsm.c585 * @tid: task id.
638 uint32_t tid; member in struct:LSM6DSMTask
899 static bool lsm6dsm_stepCounterSendLastData(void *cookie, uint32_t tid);
1027 osEnqueuePrivateEvt(EVT_SPI_DONE, data, NULL, mTask.tid);
1035 osEnqueuePrivateEvt(EVT_SPI_DONE, cookie, NULL, mTask.tid);
1046 osEnqueuePrivateEvt(EVT_SENSOR_INTERRUPT_1, _task, NULL, T(tid));
2271 static bool lsm6dsm_stepCounterSendLastData(void *cookie, uint32_t tid) argument
2927 osEventUnsubscribe(T(tid), EVT_APP_START);
3004 T(tid) = task_id;
3196 osEventSubscribe(T(tid), EVT_APP_STAR
[all...]
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
H A Dbosch_bmi160.c428 uint32_t tid; member in struct:BMI160Task
850 if (!osEnqueuePrivateEvt(EVT_SENSOR_INTERRUPT_2, _task, NULL, T(tid)))
860 if (!osEnqueuePrivateEvt(EVT_SPI_DONE, cookie, NULL, mTask.tid))
866 if (!osEnqueuePrivateEvt(EVT_SPI_DONE, data, NULL, mTask.tid))
872 if (!osEnqueuePrivateEvt(EVT_TIME_SYNC, data, NULL, mTask.tid))
1222 if (!osEnqueuePrivateEvt(EVT_TIME_SYNC, (void *)mTask.poll_generation, NULL, mTask.tid))
1896 static bool stepCntSendLastData(void *cookie, uint32_t tid) argument
1899 if (!osEnqueuePrivateEvt(EVT_SENSOR_STEP_COUNTER, (void *) mTask.total_step_cnt, NULL, tid)) {
3458 sensorRequest(mTask.tid, mTask.sensors[ACC].handle, SENSOR_HZ(50), SENSOR_LATENCY_NODATA);
3469 sensorRelease(mTask.tid, mTas
[all...]

Completed in 285 milliseconds

12