Searched refs:CP_DESC_CNT (Results 1 – 2 of 2) sorted by relevance
635 #define CP_DESC_CNT (BNXT_PAGE_SIZE / sizeof(struct tx_cmp)) macro645 #define HW_CMPD_RING_SIZE (sizeof(struct tx_cmp) * CP_DESC_CNT)663 #define CP_RING(x) (((x) & ~(CP_DESC_CNT - 1)) >> (BNXT_PAGE_SHIFT - 4))664 #define CP_IDX(x) ((x) & (CP_DESC_CNT - 1))
4000 bp->cp_nr_pages = bnxt_calc_nr_ring_pages(ring_size, CP_DESC_CNT); in bnxt_set_ring_params()4003 bp->cp_ring_size = MAX_CP_PAGES * CP_DESC_CNT - 1; in bnxt_set_ring_params()4007 bp->cp_bit = bp->cp_nr_pages * CP_DESC_CNT; in bnxt_set_ring_params()