Home
last modified time | relevance | path

Searched refs:_ptsp_res (Results 1 – 3 of 3) sorted by relevance

/utopia/UTPA2-700.0.x/modules/dmx/drv/tsp/
H A DdrvTSP.c212 … while (!OSAL_TSP_MutexObtain(_ptsp_res->_s32TspMutexId , _TSP_MUTEX_TIMEOUT)) \
214_ptsp_res->_u32LastErr = DRVTSP_FUNC_ERROR; \
218 … while(!OSAL_TSP_MutexObtain(_ptsp_res->_s32IndMutexId, _TSP_MUTEX_TIMEOUT)) \
220_ptsp_res->_u32LastErr = DRVTSP_FUNC_ERROR; \
227 … if(!OSAL_TSP_MutexRelease(_ptsp_res->_s32IndMutexId)) \
231 … if(!OSAL_TSP_MutexRelease(_ptsp_res->_s32TspMutexId)) \
235 … if (_ret != DRVTSP_OK) { _ptsp_res->_u32LastErr = _ret; } \
239 #define _TSP_IND_LOCK() while(!OSAL_TSP_MutexObtain(_ptsp_res->_s32…
245 #define _TSP_IND_UNLOCK() if(!OSAL_TSP_MutexRelease(_ptsp_res->_s32In…
250 #define _TSP_INT_LOCK() while(!OSAL_TSP_MutexObtain(_ptsp_res->_s32…
[all …]
/utopia/UTPA2-700.0.x/modules/dmx/drv/tsp3/
H A DdrvTSP.c218 … while (!OSAL_TSP_MutexObtain(_ptsp_res->_s32TspMutexId, _TSP_MUTEX_TIMEOUT)) \
220_ptsp_res->_u32LastErr = DRVTSP_FUNC_ERROR; \
224 … while(!OSAL_TSP_MutexObtain(_ptsp_res->_s32IndMutexId, _TSP_MUTEX_TIMEOUT)) \
226_ptsp_res->_u32LastErr = DRVTSP_FUNC_ERROR; \
233 … if(!OSAL_TSP_MutexRelease(_ptsp_res->_s32IndMutexId)) \
237 … if(!OSAL_TSP_MutexRelease(_ptsp_res->_s32TspMutexId)) \
241 … if (_ret != DRVTSP_OK) { _ptsp_res->_u32LastErr = _ret; } \
245 #define _TSP_IND_LOCK() while(!OSAL_TSP_MutexObtain(_ptsp_res->…
251 #define _TSP_IND_UNLOCK() if(!OSAL_TSP_MutexRelease(_ptsp_res->_s…
253 #define _TSP_INT_LOCK() while(!OSAL_TSP_MutexObtain(_ptsp_res->…
[all …]
/utopia/UTPA2-700.0.x/modules/dmx/drv/tsp4/
H A DdrvTSP2.c215 #define TSP_ENTRY() if (!TSP_OS_MutexObtain(_ptsp_res->_s32MutexId,…
217_ptsp_res->_tspInfo.LastErr = E_TSP_FAIL_FUNCTION; \
225 … TSP_OS_MutexRelease(_ptsp_res->_s32MutexId); \
226 … if (_ret != E_TSP_OK) { _ptsp_res->_tspInfo.LastErr = _ret; } \
231 #define TSP_LOCK() TSP_OS_MutexObtain(_ptsp_res->_s32LockId, TSP_O…
236 TSP_OS_MutexRelease(_ptsp_res->_s32LockId)
238 …NT_LOCK() spin_lock_irqsave(&_ptsp_res->_s32IntRegMutexId, _ptsp_res->…
239 …LOCK() spin_unlock_irqrestore(&_ptsp_res->_s32IntRegMutexId,_ptsp_res->_…
241 #define _TSP_INT_LOCK() TSP_OS_MutexObtain(_ptsp_res->_s32IntRegMutexId…
242 #define _TSP_INT_UNLOCK() TSP_OS_MutexRelease(_ptsp_res->_s32IntRegMutexI…
[all …]