Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.c2180 u32 reg_offset, shadow_line, elem_size, hw_p_size, elems_per_p, line; in qed_cxt_dynamic_ilt_alloc() local
2221 elems_per_p = ILT_PAGE_IN_BYTES(hw_p_size) / elem_size; in qed_cxt_dynamic_ilt_alloc()
2222 line = p_blk->start_line + (iid / elems_per_p); in qed_cxt_dynamic_ilt_alloc()
2263 for (elem_i = 0; elem_i < elems_per_p; elem_i++) { in qed_cxt_dynamic_ilt_alloc()
2296 u32 last_cid_allocated = (1 + (iid / elems_per_p)) * in qed_cxt_dynamic_ilt_alloc()
2297 elems_per_p; in qed_cxt_dynamic_ilt_alloc()
2327 u32 reg_offset, elem_size, hw_p_size, elems_per_p; in qed_cxt_free_ilt_range() local
2363 elems_per_p = ILT_PAGE_IN_BYTES(hw_p_size) / elem_size; in qed_cxt_free_ilt_range()
2364 start_line = p_blk->start_line + (start_iid / elems_per_p); in qed_cxt_free_ilt_range()
2365 end_line = p_blk->start_line + (end_iid / elems_per_p); in qed_cxt_free_ilt_range()
[all …]