Lines Matching defs:ecore_chain

27  * $FreeBSD: stable/11/sys/dev/qlnx/qlnxe/ecore_chain.h 337517 2018-08-09 01:17:35Z davidcs $
98 struct ecore_chain
193 static OSAL_INLINE u16 ecore_chain_get_prod_idx(struct ecore_chain *p_chain)
200 static OSAL_INLINE u32 ecore_chain_get_prod_idx_u32(struct ecore_chain *p_chain)
207 static OSAL_INLINE u16 ecore_chain_get_cons_idx(struct ecore_chain *p_chain)
213 static OSAL_INLINE u32 ecore_chain_get_cons_idx_u32(struct ecore_chain *p_chain)
227 static OSAL_INLINE u16 ecore_chain_get_elem_left(struct ecore_chain *p_chain)
246 ecore_chain_get_elem_left_u32(struct ecore_chain *p_chain)
265 static OSAL_INLINE u8 ecore_chain_is_full(struct ecore_chain *p_chain)
275 static OSAL_INLINE u8 ecore_chain_is_empty(struct ecore_chain *p_chain)
284 u16 ecore_chain_get_elem_per_page(struct ecore_chain *p_chain)
291 u16 ecore_chain_get_usable_per_page(struct ecore_chain *p_chain)
297 u8 ecore_chain_get_unusable_per_page(struct ecore_chain *p_chain)
303 static OSAL_INLINE u32 ecore_chain_get_size(struct ecore_chain *p_chain)
309 static OSAL_INLINE u32 ecore_chain_get_page_cnt(struct ecore_chain *p_chain)
315 dma_addr_t ecore_chain_get_pbl_phys(struct ecore_chain *p_chain)
331 ecore_chain_advance_page(struct ecore_chain *p_chain, void **p_next_elem,
397 void ecore_chain_return_multi_produced(struct ecore_chain *p_chain, u32 num)
415 static OSAL_INLINE void ecore_chain_return_produced(struct ecore_chain *p_chain)
435 static OSAL_INLINE void *ecore_chain_produce(struct ecore_chain *p_chain)
478 static OSAL_INLINE u32 ecore_chain_get_capacity(struct ecore_chain *p_chain)
492 void ecore_chain_recycle_consumed(struct ecore_chain *p_chain)
511 static OSAL_INLINE void *ecore_chain_consume(struct ecore_chain *p_chain)
551 static OSAL_INLINE void ecore_chain_reset(struct ecore_chain *p_chain)
611 ecore_chain_init_params(struct ecore_chain *p_chain, u32 page_cnt, u8 elem_size,
652 static OSAL_INLINE void ecore_chain_init_mem(struct ecore_chain *p_chain,
675 static OSAL_INLINE void ecore_chain_init_pbl_mem(struct ecore_chain *p_chain,
698 ecore_chain_init_next_ptr_elem(struct ecore_chain *p_chain, void *p_virt_curr,
721 static OSAL_INLINE void *ecore_chain_get_last_elem(struct ecore_chain *p_chain)
762 static OSAL_INLINE void ecore_chain_set_prod(struct ecore_chain *p_chain,
793 static OSAL_INLINE void ecore_chain_set_cons(struct ecore_chain *p_chain,
824 static OSAL_INLINE void ecore_chain_pbl_zero_mem(struct ecore_chain *p_chain)
838 int ecore_chain_print(struct ecore_chain *p_chain, char *buffer,
841 int (*func_ptr_print_element)(struct ecore_chain *p_chain,
844 int (*func_ptr_print_metadata)(struct ecore_chain *p_chain,