Searched refs:arc_reg_set (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/arc/ |
D | emac_main.c | 73 arc_reg_set(priv, R_CTRL, reg); in arc_emac_adjust_link() 315 arc_reg_set(priv, R_STATUS, status); in arc_emac_intr() 425 arc_reg_set(priv, R_LAFL, 0); in arc_emac_open() 426 arc_reg_set(priv, R_LAFH, 0); in arc_emac_open() 429 arc_reg_set(priv, R_RX_RING, (unsigned int)priv->rxbd_dma); in arc_emac_open() 430 arc_reg_set(priv, R_TX_RING, (unsigned int)priv->txbd_dma); in arc_emac_open() 433 arc_reg_set(priv, R_ENABLE, RXINT_MASK | TXINT_MASK | ERR_MASK); in arc_emac_open() 436 arc_reg_set(priv, R_CTRL, in arc_emac_open() 470 arc_reg_set(priv, R_LAFL, ~0); in arc_emac_set_rx_mode() 471 arc_reg_set(priv, R_LAFH, ~0); in arc_emac_set_rx_mode() [all …]
|
D | emac.h | 169 static inline void arc_reg_set(struct arc_emac_priv *priv, int reg, int value) in arc_reg_set() function 199 arc_reg_set(priv, reg, value | mask); in arc_reg_or() 215 arc_reg_set(priv, reg, value & ~mask); in arc_reg_clr()
|
D | emac_mdio.c | 34 arc_reg_set(priv, R_STATUS, status); in arc_mdio_complete_wait() 61 arc_reg_set(priv, R_MDIO, in arc_mdio_read() 96 arc_reg_set(priv, R_MDIO, in arc_mdio_write()
|