Searched refs:cbk (Results 1 – 7 of 7) sorted by relevance
/device/google/contexthub/firmware/os/cpu/cortexm4/ |
D | pendsv.c | 24 bool pendsvSubscribe(PendsvCallbackF cbk) in pendsvSubscribe() argument 32 if (mSubscribers[i] == cbk) in pendsvSubscribe() 40 mSubscribers[free] = cbk; in pendsvSubscribe() 44 bool pendsvUnsubscribe(PendsvCallbackF cbk) in pendsvUnsubscribe() argument 49 if (mSubscribers[i] == cbk) { in pendsvUnsubscribe()
|
/device/google/contexthub/contexthubhal/ |
D | legacyhal.cpp | 29 static int legacy_subscribe_messages(uint32_t hub_id, context_hub_callback *cbk, void *cookie) in legacy_subscribe_messages() argument 31 mSavedCbk = cbk; in legacy_subscribe_messages() 32 if (cbk) in legacy_subscribe_messages()
|
D | nanohubhal.h | 151 int doSubscribeMessages(uint32_t hub_id, Contexthub_callback *cbk, void *cookie); 183 static int subscribeMessages(uint32_t hub_id, Contexthub_callback *cbk, void *cookie) { in subscribeMessages() argument 184 return hubInstance()->doSubscribeMessages(hub_id, cbk, cookie); in subscribeMessages()
|
D | nanohubhal.cpp | 376 int NanoHub::doSubscribeMessages(uint32_t hub_id, Contexthub_callback *cbk, void *cookie) in doSubscribeMessages() argument 385 if (!mMsgCbkFunc && !cbk) { //we're off and staying off - do nothing in doSubscribeMessages() 388 } else if (cbk && mMsgCbkFunc) { //new callback but staying on in doSubscribeMessages() 396 } else if (cbk) { //we're turning on in doSubscribeMessages() 402 mMsgCbkFunc = cbk; in doSubscribeMessages()
|
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/ |
D | pendsv.h | 37 bool pendsvSubscribe(PendsvCallbackF cbk); //may not be interrupt safe if reentered 38 bool pendsvUnsubscribe(PendsvCallbackF cbk);
|
/device/google/contexthub/firmware/os/inc/ |
D | timer.h | 43 uint32_t timTimerSet(uint64_t length, uint32_t jitterPpm, uint32_t driftPpm, TimTimerCbkF cbk, void…
|
/device/google/contexthub/firmware/os/core/ |
D | timer.c | 211 uint32_t timTimerSet(uint64_t length, uint32_t jitterPpm, uint32_t driftPpm, TimTimerCbkF cbk, void… in timTimerSet() argument 213 …return timTimerSetEx(length, jitterPpm, driftPpm, taggedPtrMakeFromPtr(cbk), data, oneShot, false); in timTimerSet()
|