Home
last modified time | relevance | path

Searched refs:cbk (Results 1 – 7 of 7) sorted by relevance

/device/google/contexthub/firmware/os/cpu/cortexm4/
Dpendsv.c24 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/
Dlegacyhal.cpp29 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()
Dnanohubhal.cpp376 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()
Dnanohubhal.h151 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()
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/
Dpendsv.h37 bool pendsvSubscribe(PendsvCallbackF cbk); //may not be interrupt safe if reentered
38 bool pendsvUnsubscribe(PendsvCallbackF cbk);
/device/google/contexthub/firmware/os/inc/
Dtimer.h43 uint32_t timTimerSet(uint64_t length, uint32_t jitterPpm, uint32_t driftPpm, TimTimerCbkF cbk, void…
/device/google/contexthub/firmware/os/core/
Dtimer.c211 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()