Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/cpu/cortexm4f/
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/firmware/inc/cpu/cortexm4f/
Dpendsv.h37 bool pendsvSubscribe(PendsvCallbackF cbk); //may not be interrupt safe if reentered
38 bool pendsvUnsubscribe(PendsvCallbackF cbk);
/device/google/contexthub/contexthubhal/
Dnanohubhal.h94 int doSubscribeMessages(uint32_t hub_id, context_hub_callback *cbk, void *cookie);
120 static int subscribeMessages(uint32_t hub_id, context_hub_callback *cbk, void *cookie) { in subscribeMessages() argument
121 return hubInstance()->doSubscribeMessages(hub_id, cbk, cookie); in subscribeMessages()
Dnanohubhal.cpp333 int NanoHub::doSubscribeMessages(uint32_t hub_id, context_hub_callback *cbk, void *cookie) in doSubscribeMessages() argument
342 if (!mMsgCbkFunc && !cbk) { //we're off and staying off - do nothing in doSubscribeMessages()
345 } else if (cbk && mMsgCbkFunc) { //new callback but staying on in doSubscribeMessages()
353 } else if (cbk) { //we're turning on in doSubscribeMessages()
359 mMsgCbkFunc = cbk; in doSubscribeMessages()
/device/google/contexthub/firmware/inc/
Dtimer.h42 uint32_t timTimerSet(uint64_t length, uint32_t jitterPpm, uint32_t driftPpm, TimTimerCbkF cbk, void…
/device/google/contexthub/firmware/src/
Dtimer.c181 uint32_t timTimerSet(uint64_t length, uint32_t jitterPpm, uint32_t driftPpm, TimTimerCbkF cbk, void… in timTimerSet() argument
183 return timTimerSetEx(length, jitterPpm, driftPpm, taggedPtrMakeFromPtr(cbk), data, oneShot); in timTimerSet()