Home
last modified time | relevance | path

Searched refs:p_ptt_pool (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_hw.c73 OSAL_FREE(p_hwfn->p_dev, p_hwfn->p_ptt_pool); in __ecore_ptt_pool_free()
74 p_hwfn->p_ptt_pool = OSAL_NULL; in __ecore_ptt_pool_free()
102 p_hwfn->p_ptt_pool = p_pool; in ecore_ptt_pool_alloc()
119 p_ptt = &p_hwfn->p_ptt_pool->ptts[i]; in ecore_ptt_invalidate()
127 if (p_hwfn->p_ptt_pool) in ecore_ptt_pool_free()
128 OSAL_SPIN_LOCK_DEALLOC(&p_hwfn->p_ptt_pool->lock); in ecore_ptt_pool_free()
140 OSAL_SPIN_LOCK(&p_hwfn->p_ptt_pool->lock); in ecore_ptt_acquire()
142 if (!OSAL_LIST_IS_EMPTY(&p_hwfn->p_ptt_pool->free_list)) { in ecore_ptt_acquire()
143 p_ptt = OSAL_LIST_FIRST_ENTRY(&p_hwfn->p_ptt_pool->free_list, in ecore_ptt_acquire()
146 &p_hwfn->p_ptt_pool->free_list); in ecore_ptt_acquire()
[all …]
H A Decore.h680 struct ecore_ptt_pool *p_ptt_pool; member