Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/qed/
Dqed_chain.h112 u16 elem_per_page_mask; member
316 (((p)->u.chain16.idx & (p)->elem_per_page_mask) == (p)->usable_per_page)
319 (((p)->u.chain32.idx & (p)->elem_per_page_mask) == (p)->usable_per_page)
321 ((((p)->u.chain16.idx + 1) & (p)->elem_per_page_mask) == \
325 ((((p)->u.chain32.idx + 1) & (p)->elem_per_page_mask) == \
375 p_chain->elem_per_page_mask) == p_chain->next_page_mask) { in qed_chain_produce()
384 p_chain->elem_per_page_mask) == p_chain->next_page_mask) { in qed_chain_produce()
446 p_chain->elem_per_page_mask) == p_chain->next_page_mask) { in qed_chain_consume()
455 p_chain->elem_per_page_mask) == p_chain->next_page_mask) { in qed_chain_consume()
586 page_mask = ~p_chain->elem_per_page_mask; in qed_chain_set_prod()
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_chain.c29 chain->elem_per_page_mask = chain->elem_per_page - 1; in qed_chain_init()
31 chain->elem_per_page_mask; in qed_chain_init()