Searched refs:cp_nr_pages (Results 1 – 2 of 2) sorted by relevance
3399 int i, n = bp->cp_nr_pages; in bnxt_alloc_all_cp_arrays()3460 rc = bnxt_alloc_cp_arrays(cpr, bp->cp_nr_pages); in bnxt_alloc_cp_sub_ring()3468 rmem->nr_pages = bp->cp_nr_pages; in bnxt_alloc_cp_sub_ring()3555 rmem->nr_pages = bp->cp_nr_pages; in bnxt_init_ring_struct()3964 bp->cp_nr_pages = bnxt_calc_nr_ring_pages(ring_size, CP_DESC_CNT); in bnxt_set_ring_params()3965 if (bp->cp_nr_pages > MAX_CP_PAGES) { in bnxt_set_ring_params()3966 bp->cp_nr_pages = MAX_CP_PAGES; in bnxt_set_ring_params()3971 bp->cp_bit = bp->cp_nr_pages * CP_DESC_CNT; in bnxt_set_ring_params()
1926 int cp_nr_pages; member