Searched refs:ethoc_read (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/ |
H A D | ethoc.c | 271 u32 imask = ethoc_read(dev, INT_MASK); in ethoc_enable_irq() 278 u32 imask = ethoc_read(dev, INT_MASK); in ethoc_disable_irq() 290 u32 mode = ethoc_read(dev, MODER); in ethoc_enable_rx_and_tx() 297 u32 mode = ethoc_read(dev, MODER); in ethoc_disable_rx_and_tx() 357 mode = ethoc_read(dev, MODER); in ethoc_reset() 362 mode = ethoc_read(dev, MODER); in ethoc_reset() 565 mask = ethoc_read(priv, INT_MASK); in ethoc_interrupt() 595 reg = ethoc_read(priv, MAC_ADDR0); in ethoc_get_mac_address() 601 reg = ethoc_read(priv, MAC_ADDR1); in ethoc_get_mac_address() 689 mode = ethoc_read(priv, MODER); in ethoc_mdio_poll() [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | ethoc.c | 206 static inline u32 ethoc_read(struct ethoc *priv, size_t offset) in ethoc_read() function 220 bd->stat = ethoc_read(priv, offset + 0); in ethoc_read_bd() 221 bd->addr = ethoc_read(priv, offset + 4); in ethoc_read_bd() 247 u32 mode = ethoc_read(priv, MODER); in ethoc_enable_rx_and_tx() 254 u32 mode = ethoc_read(priv, MODER); in ethoc_disable_rx_and_tx() 315 mode = ethoc_read(priv, MODER); in ethoc_reset() 320 mode = ethoc_read(priv, MODER); in ethoc_reset() 424 pending = ethoc_read(priv, INT_SOURCE); in ethoc_is_new_packet_received() 497 pending = ethoc_read(priv, INT_SOURCE); in ethoc_send_common() 554 u32 data = ethoc_read(priv, MIIRX_DATA); in ethoc_mdio_read()
|