Lines Matching refs:_s32IntRegMutexId
238 #define _TSP_INT_LOCK() spin_lock_irqsave(&_ptsp_res->_s32IntRegMutexId…
239 …LOCK() spin_unlock_irqrestore(&_ptsp_res->_s32IntRegMutexId,_ptsp_res->_…
241 #define _TSP_INT_LOCK() TSP_OS_MutexObtain(_ptsp_res->_s32IntRegMutexId…
242 …efine _TSP_INT_UNLOCK() TSP_OS_MutexRelease(_ptsp_res->_s32IntRegMutexId)
416 spinlock_t _s32IntRegMutexId; member
419 MS_S32 _s32IntRegMutexId; member
487 ._s32IntRegMutexId = __SPIN_LOCK_UNLOCKED(_s32IntRegMutexId),
490 ._s32IntRegMutexId = -1,
677 spin_lock_init(&presource->_s32IntRegMutexId); in _TSP_InitResource()
679 presource->_s32IntRegMutexId = -1; in _TSP_InitResource()
2555 _ptsp_res->_s32IntRegMutexId = TSP_OS_MutexCreate((MS_U8*)"TSP_Int_Mutex"); in _TSP_Init()
2705 spin_lock_init(&_ptsp_res->_s32IntRegMutexId); in _TSP_SW_Exit()
2707 if(_ptsp_res->_s32IntRegMutexId != -1) in _TSP_SW_Exit()
2709 TSP_OS_MutexRelease(_ptsp_res->_s32IntRegMutexId); in _TSP_SW_Exit()
2710 TSP_OS_MutexDelete(_ptsp_res->_s32IntRegMutexId); in _TSP_SW_Exit()
2711 _ptsp_res->_s32IntRegMutexId = -1; in _TSP_SW_Exit()
2958 if (_ptsp_res->_s32IntRegMutexId != -1 ) in MDrv_TSP_Exit()