Searched refs:cbk (Results 1 – 6 of 6) sorted by relevance
/device/google/contexthub/firmware/src/cpu/cortexm4f/ |
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/firmware/inc/cpu/cortexm4f/ |
D | pendsv.h | 37 bool pendsvSubscribe(PendsvCallbackF cbk); //may not be interrupt safe if reentered 38 bool pendsvUnsubscribe(PendsvCallbackF cbk);
|
/device/google/contexthub/contexthubhal/ |
D | nanohubhal.h | 94 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()
|
D | nanohubhal.cpp | 333 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/ |
D | timer.h | 42 uint32_t timTimerSet(uint64_t length, uint32_t jitterPpm, uint32_t driftPpm, TimTimerCbkF cbk, void…
|
/device/google/contexthub/firmware/src/ |
D | timer.c | 181 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()
|