Searched refs:LOCAL_APP_OPS (Results 1 – 2 of 2) sorted by relevance
/device/google/contexthub/firmware/os/core/ |
D | sensors.c | 192 INVOKE_AS_OWNER_AND_RETURN(LOCAL_APP_OPS(s)->sensorPower, on, s->callData); in sensorCallFuncPower() 220 return sensorCallAsOwner(s, LOCAL_APP_OPS(s)->sensorFirmwareUpload); in sensorCallFuncFwUpld() 233 INVOKE_AS_OWNER_AND_RETURN(LOCAL_APP_OPS(s)->sensorSetRate, rate, latency, s->callData); in sensorCallFuncSetRate() 255 return sensorCallAsOwner(s, LOCAL_APP_OPS(s)->sensorCalibrate); in sensorCallFuncCalibrate() 263 return sensorCallAsOwner(s, LOCAL_APP_OPS(s)->sensorSelfTest); in sensorCallFuncSelfTest() 271 return sensorCallAsOwner(s, LOCAL_APP_OPS(s)->sensorFlush); in sensorCallFuncFlush() 279 INVOKE_AS_OWNER_AND_RETURN(LOCAL_APP_OPS(s)->sensorCfgData, cfgData, s->callData); in sensorCallFuncCfgData() 300 …INVOKE_AS_OWNER_AND_RETURN(LOCAL_APP_OPS(s)->sensorMarshallData, evtType, evtData, evtFreeingInfoP… in sensorCallFuncMarshall() 323 return sensorCallAsOwner(s, LOCAL_APP_OPS(s)->sensorTriggerOndemand); in sensorCallFuncTrigger() 331 INVOKE_AS_OWNER_AND_RETURN(LOCAL_APP_OPS(s)->sensorSendOneDirectEvt, s->callData, tid); in sensorCallFuncSendOneDirectEvt()
|
/device/google/contexthub/firmware/os/inc/ |
D | sensors_priv.h | 71 #define LOCAL_APP_OPS(s) ((const struct SensorOps*)taggedPtrToPtr(s->callInfo)) macro
|