Searched refs:ENETC_BDR (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_hw.h | 112 #define ENETC_BDR(t, i, r) (0x8000 + (t) * 0x100 + ENETC_BDR_OFF(i) + (r)) macro 522 enetc_rd(hw, ENETC_BDR(t, n, off)) 524 enetc_wr(hw, ENETC_BDR(t, n, off), val)
|
H A D | enetc.c | 2147 tx_ring->tpir = hw->reg + ENETC_BDR(TX, idx, ENETC_TBPIR); in enetc_setup_txbdr() 2148 tx_ring->tcir = hw->reg + ENETC_BDR(TX, idx, ENETC_TBCIR); in enetc_setup_txbdr() 2190 rx_ring->rcir = hw->reg + ENETC_BDR(RX, idx, ENETC_RBCIR); in enetc_setup_rxbdr() 2333 v->tbier_base = hw->reg + ENETC_BDR(TX, 0, ENETC_TBIER); in enetc_setup_irqs() 2334 v->rbier = hw->reg + ENETC_BDR(RX, i, ENETC_RBIER); in enetc_setup_irqs() 2335 v->ricr1 = hw->reg + ENETC_BDR(RX, i, ENETC_RBICR1); in enetc_setup_irqs()
|
H A D | enetc_ethtool.c | 78 addr = ENETC_BDR(TX, i, enetc_txbdr_regs[j]); in enetc_get_regs() 87 addr = ENETC_BDR(RX, i, enetc_rxbdr_regs[j]); in enetc_get_regs()
|