Searched refs:cp_nr_pages (Results 1 – 2 of 2) sorted by relevance
3837 int i, n = bp->cp_nr_pages; in bnxt_alloc_all_cp_arrays()3896 rc = bnxt_alloc_cp_arrays(cpr, bp->cp_nr_pages); in bnxt_alloc_cp_sub_ring()3903 rmem->nr_pages = bp->cp_nr_pages; in bnxt_alloc_cp_sub_ring()4067 rmem->nr_pages = bp->cp_nr_pages; in bnxt_init_ring_struct()4542 bp->cp_nr_pages = bnxt_calc_nr_ring_pages(ring_size, CP_DESC_CNT); in bnxt_set_ring_params()4543 if (bp->cp_nr_pages > MAX_CP_PAGES) { in bnxt_set_ring_params()4544 bp->cp_nr_pages = MAX_CP_PAGES; in bnxt_set_ring_params()4549 bp->cp_bit = bp->cp_nr_pages * CP_DESC_CNT; in bnxt_set_ring_params()
2324 int cp_nr_pages; member