Searched refs:PTR_IDX (Results 1 – 2 of 2) sorted by relevance
270 dst_virt_ptr[PTR_PG(i)][PTR_IDX(i)] = in bnxt_qplib_alloc_init_hwq()287 dst_virt_ptr[PTR_PG(i)][PTR_IDX(i)] = in bnxt_qplib_alloc_init_hwq()293 dst_virt_ptr[PTR_PG(i - 1)][PTR_IDX(i - 1)] |= in bnxt_qplib_alloc_init_hwq()297 [PTR_IDX(i - 2)] |= in bnxt_qplib_alloc_init_hwq()327 dst_virt_ptr[PTR_PG(i)][PTR_IDX(i)] = in bnxt_qplib_alloc_init_hwq()332 dst_virt_ptr[PTR_PG(i - 1)][PTR_IDX(i - 1)] |= in bnxt_qplib_alloc_init_hwq()336 [PTR_IDX(i - 2)] |= in bnxt_qplib_alloc_init_hwq()442 ptr = &pbl_ptr[PTR_PG(j + k)][PTR_IDX(j + k)]; in bnxt_qplib_map_tqm_pgtbl()450 ptr = &pbl_ptr[PTR_PG(j)][PTR_IDX(j)]; in bnxt_qplib_map_tqm_pgtbl()
81 #define PTR_IDX(x) ((x) & PTR_MAX_IDX_PER_PG) macro