Searched refs:_ctx (Results 1 – 1 of 1) sorted by relevance
180 static Context _ctx[NUMBER_OF_CMDQ_HW] = { variable184 static Context _ctx[NUMBER_OF_CMDQ_HW] = { variable197 #define CMDQ_MUTEX_CREATE(hnd) _ctx[hnd].mutex = MsOS_CreateMutex(E_MSOS_FIFO, _ctx[hnd].m…198 #define CMDQ_MUTEX_LOCK(hnd) MsOS_ObtainMutex(_ctx[hnd].mutex, MSOS_WAIT_FOREVER)199 #define CMDQ_MUTEX_UNLOCK(hnd) MsOS_ReleaseMutex(_ctx[hnd].mutex)200 #define CMDQ_MUTEX_DELETE(hnd) MsOS_DeleteMutex(_ctx[hnd].mutex)340 _ctx[hnd].buffer_wrptr[0] = a; in InsertOneCommand()341 _ctx[hnd].buffer_wrptr[1] = b; in InsertOneCommand()342 _ctx[hnd].buffer_wrptr[2] = c; in InsertOneCommand()343 _ctx[hnd].buffer_wrptr[3] = d; in InsertOneCommand()[all …]