Home
last modified time | relevance | path

Searched refs:BNX2_PAGE_BITS (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
H A Dcnic.h92 #define KWQ_PG(x) (((x) & ~MAX_KWQE_CNT) >> (BNX2_PAGE_BITS - 5))
95 #define KCQ_PG(x) (((x) & ~MAX_KCQE_CNT) >> (BNX2_PAGE_BITS - 5))
H A Dbnx2.h6551 #define BNX2_PAGE_BITS 14 macro
6553 #define BNX2_PAGE_BITS PAGE_SHIFT macro
6555 #define BNX2_PAGE_SIZE (1 << BNX2_PAGE_BITS)
6581 #define BNX2_RX_RING(x) (((x) & ~BNX2_MAX_RX_DESC_CNT) >> (BNX2_PAGE_BITS - 4))
H A Dbnx2.c2573 val |= (BNX2_PAGE_BITS - 8) << 16; in bnx2_init_5709_context()
4976 val = (BNX2_PAGE_BITS - 8) << 24; in bnx2_init_chip()
4982 val |= (BNX2_PAGE_BITS - 8) << 24 | 0x40; in bnx2_init_chip()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/
H A Dcnic.h92 #define KWQ_PG(x) (((x) & ~MAX_KWQE_CNT) >> (BNX2_PAGE_BITS - 5))
95 #define KCQ_PG(x) (((x) & ~MAX_KCQE_CNT) >> (BNX2_PAGE_BITS - 5))
H A Dbnx2.h6551 #define BNX2_PAGE_BITS 14 macro
6553 #define BNX2_PAGE_BITS PAGE_SHIFT macro
6555 #define BNX2_PAGE_SIZE (1 << BNX2_PAGE_BITS)
6581 #define BNX2_RX_RING(x) (((x) & ~BNX2_MAX_RX_DESC_CNT) >> (BNX2_PAGE_BITS - 4))
H A Dbnx2.c2572 val |= (BNX2_PAGE_BITS - 8) << 16; in bnx2_init_5709_context()
4959 val = (BNX2_PAGE_BITS - 8) << 24; in bnx2_init_chip()
4965 val |= (BNX2_PAGE_BITS - 8) << 24 | 0x40; in bnx2_init_chip()

Completed in 68 milliseconds