Home
last modified time | relevance | path

Searched refs:ENETC_BDR (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/freescale/enetc/
Denetc_hw.h108 #define ENETC_BDR(t, i, r) (0x8000 + (t) * 0x100 + ENETC_BDR_OFF(i) + (r)) macro
496 enetc_rd(hw, ENETC_BDR(t, n, off))
498 enetc_wr(hw, ENETC_BDR(t, n, off), val)
Denetc_ethtool.c68 addr = ENETC_BDR(TX, i, enetc_txbdr_regs[j]); in enetc_get_regs()
77 addr = ENETC_BDR(RX, i, enetc_rxbdr_regs[j]); in enetc_get_regs()
Denetc.c2068 tx_ring->tpir = hw->reg + ENETC_BDR(TX, idx, ENETC_TBPIR); in enetc_setup_txbdr()
2069 tx_ring->tcir = hw->reg + ENETC_BDR(TX, idx, ENETC_TBCIR); in enetc_setup_txbdr()
2106 rx_ring->rcir = hw->reg + ENETC_BDR(RX, idx, ENETC_RBCIR); in enetc_setup_rxbdr()
2189 v->tbier_base = hw->reg + ENETC_BDR(TX, 0, ENETC_TBIER); in enetc_setup_irqs()
2190 v->rbier = hw->reg + ENETC_BDR(RX, i, ENETC_RBIER); in enetc_setup_irqs()
2191 v->ricr1 = hw->reg + ENETC_BDR(RX, i, ENETC_RBICR1); in enetc_setup_irqs()