Home | History | Annotate | Download | only in src

Lines Matching refs:thing

280     union OsApiSlabItem *thing = slabAllocatorAlloc(mSlabAllocator);
282 if (thing) {
283 thing->i2cAppCbkInfo.toTid = osGetCurrentTid();
284 thing->i2cAppCbkInfo.cookie = cookie;
287 return thing;
297 union OsApiSlabItem *thing = (union OsApiSlabItem*)cookie;
300 tid = thing->i2cAppCbkInfo.toTid;
301 cookie = thing->i2cAppCbkInfo.cookie;
304 thing->i2cAppCbkEvt.cookie = cookie;
305 thing->i2cAppCbkEvt.tx = tx;
306 thing->i2cAppCbkEvt.rx = rx;
307 thing->i2cAppCbkEvt.err = err;
309 if (!osEnqueuePrivateEvt(EVT_APP_I2C_CBK, &thing->i2cAppCbkEvt, osExpApiI2cInternalEvtFreeF, tid)) {
311 osExpApiI2cInternalEvtFreeF(thing);