OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:evtType
(Results
1 - 12
of
12
) sorted by null
/device/google/contexthub/firmware/os/core/
eventQ.c
40
uint32_t
evtType
;
92
q->forceDiscardCbk(rec->
evtType
, rec->evtData, rec->evtFreeData);
100
bool evtQueueEnqueue(struct EvtQueue* q, uint32_t
evtType
, void *evtData,
118
if (!(rec->
evtType
& EVENT_TYPE_BIT_DISCARDABLE))
120
q->forceDiscardCbk(rec->
evtType
, rec->evtData, rec->evtFreeData);
134
rec->
evtType
=
evtType
;
159
bool (*match)(uint32_t
evtType
, const void *data, void *context),
168
if (match(rec->
evtType
, rec->evtData, context)) {
169
q->forceDiscardCbk(rec->
evtType
, rec->evtData, rec->evtFreeData)
[
all
...]
nanohub_chre.c
179
void osChreFreeEvent(uint32_t tid, chreEventCompleteFunction *cbFreeEvt, uint32_t
evtType
, void * evtData)
184
osTaskInvokeEventFreeCallback(chreTask, cbFreeEvt,
evtType
, evtData);
188
static bool osChreSendEvent(uint16_t
evtType
, void *evtData,
196
* therefore, we have to enforce the
evtType
>= CHRE_EVENT_FIRST_USER_VALUE.
198
if (
evtType
< CHRE_EVENT_FIRST_USER_VALUE) {
199
osChreFreeEvent(osGetCurrentTid(), evtFreeCallback,
evtType
, evtData);
202
return osEnqueuePrivateEvtNew(
evtType
, evtData, evtFreeCallback, toTid);
481
uint16_t
evtType
= va_arg(args, uint32_t); // stored as 32-bit
485
*retValP = osChreSendEvent(
evtType
, evtData, freeCallback, toTid);
osApi.c
39
uint32_t
evtType
= va_arg(args, uint32_t);
41
*retValP = osEventSubscribe(0,
evtType
);
47
uint32_t
evtType
= va_arg(args, uint32_t);
49
*retValP = osEventUnsubscribe(0,
evtType
);
54
uint32_t
evtType
= va_arg(args, uint32_t);
58
*retValP = osEnqueueEvtAsApp(
evtType
, evtData, tid ? true : false);
63
uint32_t
evtType
= va_arg(args, uint32_t);
68
*retValP = osEnqueuePrivateEvtAsApp(
evtType
, evtData, toTid);
80
uint32_t
evtType
= va_arg(args, uint32_t);
84
osFreeRetainedEvent(
evtType
, evtData, evtFreeingInfoP)
[
all
...]
nanohubCommand.c
108
static inline bool isSensorEvent(uint32_t
evtType
)
110
return
evtType
> EVT_NO_FIRST_SENSOR_EVENT &&
evtType
<= EVT_NO_FIRST_SENSOR_EVENT + SENS_TYPE_LAST_USER;
521
uint32_t
evtType
;
580
if (resp->
evtType
== EVT_APP_TO_HOST) {
745
length = packet->length + sizeof(packet->
evtType
);
749
packet->
evtType
= htole32(EVT_APP_TO_HOST);
752
packet->
evtType
= htole32(EVT_RESET_REASON);
755
packet->
evtType
= htole32(EVT_APP_TO_SENSOR_HAL_DATA);
759
packet->
evtType
= htole32(HOST_EVT_DEBUG_LOG)
[
all
...]
seos.c
338
static inline void osTaskHandle(struct Task *task, uint16_t
evtType
, uint16_t fromTid, const void* evtData)
342
EVENT_WITH_ORIGIN(
evtType
, osTaskIsChre(task) ? fromTid : 0),
369
uint32_t
evtType
= act->privateEvt.
evtType
;
375
osLog(LOG_ERROR, "ERROR: Failed to find task to free event:
evtType
=%08" PRIX32 "\n",
evtType
);
380
if (osTaskIsChre(srcTask) && (
evtType
>> 16) == EVT_PRIVATE_CLASS_CHRE) {
383
evtType
& EVT_MASK, evtData);
394
struct AppEventFreeData fd = {.
evtType
=
evtType
, .evtData = evtData}
[
all
...]
/device/google/contexthub/firmware/os/inc/
hostIntf.h
52
uint32_t
evtType
;
seos_priv.h
104
uint32_t
evtType
;
122
void osChreTaskHandle(struct Task *task, uint32_t
evtType
, const void *evtData);
seos.h
54
void (*handle)(uint32_t
evtType
, const void* evtData);
125
uint32_t
evtType
;
162
bool osEventSubscribe(uint32_t tid, uint32_t
evtType
); /* async */
163
bool osEventUnsubscribe(uint32_t tid, uint32_t
evtType
); /* async */
167
bool osEnqueuePrivateEvt(uint32_t
evtType
, void *evtData, EventFreeF evtFreeF, uint32_t toTid);
168
bool osEnqueuePrivateEvtAsApp(uint32_t
evtType
, void *evtData, uint32_t toTid);
169
bool osEnqueuePrivateEvtNew(uint16_t
evtType
, void *evtData,
173
bool osEnqueueEvt(uint32_t
evtType
, void *evtData, EventFreeF evtFreeF);
174
bool osEnqueueEvtOrFree(uint32_t
evtType
, void *evtData, EventFreeF evtFreeF);
175
bool osEnqueueEvtAsApp(uint32_t
evtType
, void *evtData, bool freeData)
[
all
...]
nanohubPacket.h
262
__le32
evtType
;
271
__le32
evtType
;
/device/google/contexthub/util/nanoapp_cmd/
nanoapp_cmd.c
68
uint32_t
evtType
;
493
mConfigCmd.
evtType
= EVT_NO_SENSOR_CONFIG_EVENT;
501
mConfigCmd.
evtType
= EVT_NO_SENSOR_CONFIG_EVENT;
534
mConfigCmd.
evtType
= EVT_NO_SENSOR_CONFIG_EVENT;
547
mConfigCmd.
evtType
= EVT_NO_SENSOR_CONFIG_EVENT;
/device/google/contexthub/firmware/os/drivers/orientation/
orientation.c
771
uint32_t
evtType
= sensorGetMyEventType(mSi[mSensor->idx].sensorType);
773
osEnqueueEvt(
evtType
, SENSOR_DATA_EVENT_FLUSH, NULL);
777
static void fusionHandleEvent(uint32_t
evtType
, const void* evtData)
785
switch (
evtType
) {
/device/google/contexthub/sensorhal/
hubconnection.h
137
uint32_t
evtType
;
148
uint32_t
evtType
;
216
uint32_t
evtType
;
Completed in 179 milliseconds