Searched refs:elem_per_page (Results 1 – 2 of 2) sorted by relevance
111 u16 elem_per_page; member210 u16 elem_per_page = chain->elem_per_page; in qed_chain_get_elem_used() local218 used -= (u16)(prod / elem_per_page - cons / elem_per_page); in qed_chain_get_elem_used()232 u16 elem_per_page = chain->elem_per_page; in qed_chain_get_elem_used_u32() local240 used -= (u32)(prod / elem_per_page - cons / elem_per_page); in qed_chain_get_elem_used_u32()597 p_chain->elem_per_page; in qed_chain_set_prod()
21 chain->elem_per_page = ELEMS_PER_PAGE(params->elem_size, in qed_chain_init()29 chain->elem_per_page_mask = chain->elem_per_page - 1; in qed_chain_init()36 chain->size = chain->elem_per_page * page_cnt; in qed_chain_init()