HomeSort by relevance Sort by last modified time
    Searched refs:evtData (Results 1 - 25 of 26) sorted by null

1 2

  /device/google/contexthub/firmware/app/test1.app/
test_app1.c 34 static void handle_event(uint32_t evtType, const void* evtData)
38 (void)evtData;
  /device/google/contexthub/firmware/inc/
eventQ.h 31 typedef void (*EvtQueueForciblyDiscardEvtCbkF)(uint32_t evtType, void *evtData, TaggedPtr evtFreeData);
37 bool evtQueueEnqueue(struct EvtQueue* q, uint32_t evtType, void *evtData, TaggedPtr evtFreeData, bool atFront /* do not set this unless you know the repercussions. read: never set this in new code */);
seos.h 54 void (*handle)(uint32_t evtType, const void* evtData);
130 void* evtData;
163 bool osEnqueuePrivateEvt(uint32_t evtType, void *evtData, EventFreeF evtFreeF, uint32_t toTid);
164 bool osEnqueuePrivateEvtAsApp(uint32_t evtType, void *evtData, uint32_t fromApp, uint32_t toTid);
166 bool osEnqueueEvt(uint32_t evtType, void *evtData, EventFreeF evtFreeF);
167 bool osEnqueueEvtOrFree(uint32_t evtType, void *evtData, EventFreeF evtFreeF);
168 bool osEnqueueEvtAsApp(uint32_t evtType, void *evtData, uint32_t fromApp);
261 void osFreeRetainedEvent(uint32_t evtType, void *evtData, TaggedPtr *evtFreeingInfoP);
cpu.h 43 void cpuAppHandle(const struct AppHdr *appHdr, struct PlatAppInfo *platInfo, uint32_t evtType, const void* evtData);
syscallDo.h 105 static inline bool eOsEnqueueEvt(uint32_t evtType, void *evtData, uint32_t tidOfWhoWillFreeThisEvent) // tidOfWhoWillFreeThisEvent is likely your TID
107 return syscallDo3P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_EVENTQ, SYSCALL_OS_MAIN_EVTQ_ENQUEUE), evtType, evtData, tidOfWhoWillFreeThisEvent);
110 static inline bool eOsEnqueueEvtOrFree(uint32_t evtType, void *evtData, EventFreeF evtFreeF, uint32_t tidOfWhoWillFreeThisEvent) // tidOfWhoWillFreeThisEvent is likely your TID
112 bool success = eOsEnqueueEvt(evtType, evtData, tidOfWhoWillFreeThisEvent);
114 evtFreeF(evtData);
118 static inline bool eOsEnqueuePrivateEvt(uint32_t evtType, void *evtData, uint32_t tidOfWhoWillFreeThisEvent, uint32_t toTid)
120 return syscallDo4P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_EVENTQ, SYSCALL_OS_MAIN_EVTQ_ENQUEUE_PRIVATE), evtType, evtData, tidOfWhoWillFreeThisEvent, toTid);
128 static inline bool eOsFreeRetainedEvent(uint32_t evtType, void *evtData, TaggedPtr *evtFreeingInfoP)
130 return syscallDo3P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_EVENTQ, SYSCALL_OS_MAIN_EVTQ_FREE_RETAINED), evtType, evtData, evtFreeingInfoP);
nanohubPacket.h 262 uint8_t evtData[NANOHUB_PACKET_PAYLOAD_MAX - sizeof(__le32)];
271 uint8_t evtData[NANOHUB_PACKET_PAYLOAD_MAX - sizeof(__le32)];
sensors.h 40 NUM_AXIS_EMBEDDED = 0, // data = (uint32_t)evtData
278 bool sensorMarshallEvent(uint32_t sensorHandle, uint32_t evtType, void *evtData, TaggedPtr *evtFreeingInfoP);
  /device/google/contexthub/firmware/app/test0.app/
test_app0.c 47 static void handle_event(uint32_t evtType, const void* evtData)
58 te = evtData;
70 aefd = evtData;
72 eOsHeapFree(aefd->evtData);
  /device/google/contexthub/firmware/src/
eventQ.c 34 void* evtData;
75 q->forceDiscardCbk(t->evtType, t->evtData, t->evtFreeData);
83 bool evtQueueEnqueue(struct EvtQueue* q, uint32_t evtType, void *evtData, TaggedPtr evtFreeData, bool atFront)
101 q->forceDiscardCbk(rec->evtType, rec->evtData, rec->evtFreeData);
119 rec->evtData = evtData;
179 *evtDataP = rec->evtData;
seos.c 119 void *evtData;
373 static inline void osTaskHandle(struct Task *task, uint32_t evtType, const void* evtData)
376 cpuAppHandle(task->app, &task->platInfo, evtType, evtData);
380 static void handleEventFreeing(uint32_t evtType, void *evtData, TaggedPtr evtFreeData) // watch out, this is synchronous
387 ((EventFreeF)taggedPtrToPtr(evtFreeData))(evtData);
389 struct AppEventFreeData fd = {.evtType = evtType, .evtData = evtData};
943 static void osInternalEvtHandle(uint32_t evtType, void *evtData)
945 union InternalThing *da = (union InternalThing*)evtData;
983 task = evtData;
    [all...]
hostIntf.c     [all...]
osApi.c 54 void *evtData = va_arg(args, void*);
57 *retValP = osEnqueueEvtAsApp(evtType, evtData, 0);
63 void *evtData = va_arg(args, void*);
67 *retValP = osEnqueuePrivateEvtAsApp(evtType, evtData, 0, toTid);
80 void *evtData = va_arg(args, void*);
83 osFreeRetainedEvent(evtType, evtData, evtFreeingInfoP);
sensors.c 329 static bool sensorCallFuncMarshall(struct Sensor* s, uint32_t evtType, void *evtData, TaggedPtr *evtFreeingInfoP)
332 INVOKE_AS_OWNER_AND_RETURN(LOCAL_APP_OPS(s)->sensorMarshallData, evtType, evtData, evtFreeingInfoP, s->callData);
340 evt->externalMarshallEvt.origEvtData = evtData;
849 bool sensorMarshallEvent(uint32_t sensorHandle, uint32_t evtType, void *evtData, TaggedPtr *evtFreeingInfoP)
856 return sensorCallFuncMarshall(s, evtType, evtData, evtFreeingInfoP);
  /device/google/contexthub/firmware/src/cpu/cortexm4f/
appSupport.c 207 void cpuAppHandle(const struct AppHdr *app, struct PlatAppInfo *platInfo, uint32_t evtType, const void* evtData)
210 (void)callWithR9((const void*)APP_FLASH_RELOC_BASE(app), app->vec.handle, platInfo->data, evtType, (uintptr_t)evtData);
212 APP_VEC(app)->handle(evtType, evtData);
  /device/google/contexthub/firmware/src/drivers/tilt_detection/
tilt_detection.c 225 static void tiltDetectionHandleEvent(uint32_t evtType, const void* evtData)
227 if (evtData == SENSOR_DATA_EVENT_FLUSH)
260 if (algoUpdate((struct TripleAxisDataEvent *)evtData)) {
  /device/google/contexthub/firmware/src/drivers/window_orientation/
window_orientation.c 606 static void windowOrientationHandleEvent(uint32_t evtType, const void* evtData)
612 if (evtData == SENSOR_DATA_EVENT_FLUSH)
617 ev = (struct TripleAxisDataEvent *)evtData;
  /device/google/contexthub/firmware/src/drivers/vsync/
vsync.c 191 static void handleEvent(uint32_t evtType, const void* evtData)
  /device/google/contexthub/firmware/src/drivers/orientation/
orientation.c 733 static void fusionHandleEvent(uint32_t evtType, const void* evtData)
738 if (evtData == SENSOR_DATA_EVENT_FLUSH)
757 ev = (struct TripleAxisDataEvent *)evtData;
762 ev = (struct TripleAxisDataEvent *)evtData;
767 ev = (struct TripleAxisDataEvent *)evtData;
774 ev = (struct TripleAxisDataEvent *)evtData;
  /device/google/contexthub/firmware/src/drivers/bosch_bmp280/
bosch_bmp280.c 496 static void handleEvent(uint32_t evtType, const void* evtData)
514 handleI2cEvent((enum BMP280TaskState)evtData);
  /device/google/contexthub/firmware/src/drivers/hall/
hall.c 203 static void handleEvent(uint32_t evtType, const void* evtData)
  /device/google/contexthub/firmware/src/drivers/hall_twopole/
hall_twopole.c 219 static void handleEvent(uint32_t evtType, const void* evtData)
  /device/google/contexthub/firmware/src/drivers/ams_tmd2772/
ams_tmd2772.c 639 static void handle_event(uint32_t evtType, const void* evtData)
655 handle_i2c_event((int)evtData);
  /device/google/contexthub/firmware/src/drivers/rohm_rpr0521/
rohm_rpr0521.c 676 static void handle_event(uint32_t evtType, const void* evtData)
689 handle_i2c_event((int)evtData);
  /device/google/contexthub/firmware/src/drivers/bosch_bmi160/
bosch_bmi160.c     [all...]
  /device/google/contexthub/firmware/src/drivers/ams_tmd4903/
ams_tmd4903.c     [all...]

Completed in 2955 milliseconds

1 2