Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc_hw.h108 #define ENETC_BDR(t, i, r) (0x8000 + (t) * 0x100 + ENETC_BDR_OFF(i) + (r)) macro
466 enetc_rd(hw, ENETC_BDR(t, n, off))
468 enetc_wr(hw, ENETC_BDR(t, n, off), val)
Denetc.c1216 tx_ring->tpir = hw->reg + ENETC_BDR(TX, idx, ENETC_TBPIR); in enetc_setup_txbdr()
1217 tx_ring->tcir = hw->reg + ENETC_BDR(TX, idx, ENETC_TBCIR); in enetc_setup_txbdr()
1251 rx_ring->rcir = hw->reg + ENETC_BDR(RX, idx, ENETC_RBCIR); in enetc_setup_rxbdr()
1334 v->tbier_base = hw->reg + ENETC_BDR(TX, 0, ENETC_TBIER); in enetc_setup_irqs()
1335 v->rbier = hw->reg + ENETC_BDR(RX, i, ENETC_RBIER); in enetc_setup_irqs()
1336 v->ricr1 = hw->reg + ENETC_BDR(RX, i, ENETC_RBICR1); in enetc_setup_irqs()
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()