Lines Matching refs:args
33 static void osExpApiEvtqSubscribe(uintptr_t *retValP, va_list args)
35 (void)va_arg(args, uint32_t); // tid
36 uint32_t evtType = va_arg(args, uint32_t);
41 static void osExpApiEvtqUnsubscribe(uintptr_t *retValP, va_list args)
43 (void)va_arg(args, uint32_t); // tid
44 uint32_t evtType = va_arg(args, uint32_t);
49 static void osExpApiEvtqEnqueue(uintptr_t *retValP, va_list args)
51 uint32_t evtType = va_arg(args, uint32_t);
52 void *evtData = va_arg(args, void*);
53 (void)va_arg(args, uint32_t); // tid
58 static void osExpApiEvtqEnqueuePrivate(uintptr_t *retValP, va_list args)
60 uint32_t evtType = va_arg(args, uint32_t);
61 void *evtData = va_arg(args, void*);
62 (void)va_arg(args, uint32_t); // tid
63 uint32_t toTid = va_arg(args, uint32_t);
68 static void osExpApiEvtqRetainEvt(uintptr_t *retValP, va_list args)
70 TaggedPtr *evtFreeingInfoP = va_arg(args, TaggedPtr*);
75 static void osExpApiEvtqFreeRetained(uintptr_t *retValP, va_list args)
77 uint32_t evtType = va_arg(args, uint32_t);
78 void *evtData = va_arg(args, void*);
79 TaggedPtr *evtFreeingInfoP = va_arg(args, TaggedPtr*);
84 static void osExpApiLogLogv(uintptr_t *retValP, va_list args)
86 enum LogLevel level = va_arg(args, int /* enums promoted to ints in va_args in C */);
87 const char *str = va_arg(args, const char*);
89 va_copy(innerArgs, INTEGER_TO_VA_LIST(va_arg(args, uintptr_t)));
94 static void osExpApiSensorSignal(uintptr_t *retValP, va_list args)
96 uint32_t handle = va_arg(args, uint32_t);
97 uint32_t intEvtNum = va_arg(args, uint32_t);
98 uint32_t value1 = va_arg(args, uint32_t);
99 uint32_t value2_lo = va_arg(args, uint32_t);
100 uint32_t value2_hi = va_arg(args, uint32_t);
106 static void osExpApiSensorReg(uintptr_t *retValP, va_list args)
108 const struct SensorInfo *si = va_arg(args, const struct SensorInfo*);
109 (void)va_arg(args, uint32_t); // tid
110 void *cookie = va_arg(args, void *);
111 bool initComplete = va_arg(args, int);
116 static void osExpApiSensorUnreg(uintptr_t *retValP, va_list args)
118 uint32_t handle = va_arg(args, uint32_t);
123 static void osExpApiSensorRegInitComp(uintptr_t *retValP, va_list args)
125 uint32_t handle = va_arg(args, uint32_t);
130 static void osExpApiSensorFind(uintptr_t *retValP, va_list args)
132 uint32_t sensorType = va_arg(args, uint32_t);
133 uint32_t idx = va_arg(args, uint32_t);
134 uint32_t *handleP = va_arg(args, uint32_t*);
139 static void osExpApiSensorReq(uintptr_t *retValP, va_list args)
141 (void)va_arg(args, uint32_t); // clientId == tid
142 uint32_t sensorHandle = va_arg(args, uint32_t);
143 uint32_t rate = va_arg(args, uint32_t);
144 uint32_t latency_lo = va_arg(args, uint32_t);
145 uint32_t latency_hi = va_arg(args, uint32_t);
151 static void osExpApiSensorRateChg(uintptr_t *retValP, va_list args)
153 (void)va_arg(args, uint32_t); // clientId == tid
154 uint32_t sensorHandle = va_arg(args, uint32_t);
155 uint32_t newRate = va_arg(args, uint32_t);
156 uint32_t newLatency_lo = va_arg(args, uint32_t);
157 uint32_t newLatency_hi = va_arg(args, uint32_t);
163 static void osExpApiSensorRel(uintptr_t *retValP, va_list args)
165 (void)va_arg(args, uint32_t); // clientId == tid
166 uint32_t sensorHandle = va_arg(args, uint32_t);
171 static void osExpApiSensorTrigger(uintptr_t *retValP, va_list args)
173 (void)va_arg(args, uint32_t); // clientId == tid
174 uint32_t sensorHandle = va_arg(args, uint32_t);
179 static void osExpApiSensorGetRate(uintptr_t *retValP, va_list args)
181 uint32_t sensorHandle = va_arg(args, uint32_t);
186 static void osExpApiTimGetTime(uintptr_t *retValP, va_list args)
188 uint64_t *timeNanos = va_arg(args, uint64_t *);
192 static void osExpApiTimSetTimer(uintptr_t *retValP, va_list args)
194 uint32_t length_lo = va_arg(args, uint32_t);
195 uint32_t length_hi = va_arg(args, uint32_t);
196 uint32_t jitterPpm = va_arg(args, uint32_t);
197 uint32_t driftPpm = va_arg(args, uint32_t);
198 (void)va_arg(args, uint32_t); // tid
199 void *cookie = va_arg(args, void *);
200 bool oneshot = va_arg(args, int);
206 static void osExpApiTimCancelTimer(uintptr_t *retValP, va_list args)
208 uint32_t timerId = va_arg(args, uint32_t);
213 static void osExpApiHeapAlloc(uintptr_t *retValP, va_list args)
215 uint32_t sz = va_arg(args, uint32_t);
220 static void osExpApiHeapFree(uintptr_t *retValP, va_list args)
222 void *mem = va_arg(args, void *);
227 static void osExpApiSlabNew(uintptr_t *retValP, va_list args)
229 uint32_t itemSz = va_arg(args, uint32_t);
230 uint32_t itemAlign = va_arg(args, uint32_t);
231 uint32_t numItems = va_arg(args, uint32_t);
236 static void osExpApiSlabDestroy(uintptr_t *retValP, va_list args)
238 struct SlabAllocator *allocator = va_arg(args, struct SlabAllocator *);
243 static void osExpApiSlabAlloc(uintptr_t *retValP, va_list args)
245 struct SlabAllocator *allocator = va_arg(args, struct SlabAllocator *);
250 static void osExpApiSlabFree(uintptr_t *retValP, va_list args)
252 struct SlabAllocator *allocator = va_arg(args, struct SlabAllocator *);
253 void *mem = va_arg(args, void *);
296 static void osExpApiGpioReq(uintptr_t *retValP, va_list args)
298 uint32_t gpioNum = va_arg(args, uint32_t);
303 static void osExpApiGpioRel(uintptr_t *retValP, va_list args)
305 struct Gpio* gpio = va_arg(args, struct Gpio*);
310 static void osExpApiGpioCfgIn(uintptr_t *retValP, va_list args)
312 struct Gpio* gpio = va_arg(args, struct Gpio*);
313 int32_t speed = va_arg(args, int32_t);
314 enum GpioPullMode pullMode = va_arg(args, int);
319 static void osExpApiGpioCfgOut(uintptr_t *retValP, va_list args)
321 struct Gpio* gpio = va_arg(args, struct Gpio*);
322 int32_t speed = va_arg(args, int32_t);
323 enum GpioPullMode pullMode = va_arg(args, int);
324 enum GpioOpenDrainMode odrMode = va_arg(args, int);
325 bool value = !!va_arg(args, int);
330 static void osExpApiGpioCfgAlt(uintptr_t *retValP, va_list args)
332 struct Gpio* gpio = va_arg(args, struct Gpio*);
333 int32_t speed = va_arg(args, int32_t);
334 enum GpioPullMode pullMode = va_arg(args, int);
335 enum GpioOpenDrainMode odrMode = va_arg(args, int);
336 uint32_t altFunc = va_arg(args, uint32_t);
341 static void osExpApiGpioGet(uintptr_t *retValP, va_list args)
343 struct Gpio* gpio = va_arg(args, struct Gpio*);
348 static void osExpApiGpioSet(uintptr_t *retValP, va_list args)
350 struct Gpio* gpio = va_arg(args, struct Gpio*);
351 bool value = !!va_arg(args, int);
356 static void osExpApiI2cMstReq(uintptr_t *retValP, va_list args)
358 uint32_t busId = va_arg(args, uint32_t);
359 uint32_t speed = va_arg(args, uint32_t);
364 static void osExpApiI2cMstRel(uintptr_t *retValP, va_list args)
366 uint32_t busId = va_arg(args, uint32_t);
371 static void osExpApiI2cMstTxRx(uintptr_t *retValP, va_list args)
373 uint32_t busId = va_arg(args, uint32_t);
374 uint32_t addr = va_arg(args, uint32_t);
375 const void *txBuf = va_arg(args, const void*);
376 size_t txSize = va_arg(args, size_t);
377 void *rxBuf = va_arg(args, void*);
378 size_t rxSize = va_arg(args, size_t);
379 (void)va_arg(args, uint32_t); // tid
380 void *cookie = va_arg(args, void *);
392 static void osExpApiI2cSlvReq(uintptr_t *retValP, va_list args)
394 uint32_t busId = va_arg(args, uint32_t);
395 uint32_t addr = va_arg(args, uint32_t);
400 static void osExpApiI2cSlvRel(uintptr_t *retValP, va_list args)
402 uint32_t busId = va_arg(args, uint32_t);
407 static void osExpApiI2cSlvRxEn(uintptr_t *retValP, va_list args)
409 uint32_t busId = va_arg(args, uint32_t);
410 void *rxBuf = va_arg(args, void*);
411 size_t rxSize = va_arg(args, size_t);
412 (void)va_arg(args, uint32_t); // tid
413 void *cookie = va_arg(args, void *);
425 static void osExpApiI2cSlvTxPre(uintptr_t *retValP, va_list args)
427 uint32_t busId = va_arg(args, uint32_t);
428 uint8_t byte = va_arg(args, int);
429 (void)va_arg(args, uint32_t); // tid
430 void *cookie = va_arg(args, void *);
442 static void osExpApiI2cSlvTxPkt(uintptr_t *retValP, va_list args)
444 uint32_t busId = va_arg(args, uint32_t);
445 const void *txBuf = va_arg(args, const void*);
446 size_t txSize = va_arg(args, size_t);
447 (void)va_arg(args, uint32_t); // tid
448 void *cookie = va_arg(args, void *);