Lines Matching refs:ethoc_read
237 static inline u32 ethoc_read(struct ethoc *dev, loff_t offset) in ethoc_read() function
257 bd->stat = ethoc_read(dev, offset + 0); in ethoc_read_bd()
258 bd->addr = ethoc_read(dev, offset + 4); in ethoc_read_bd()
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()
566 pending = ethoc_read(priv, INT_SOURCE); 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()
634 u32 status = ethoc_read(priv, MIISTATUS); in ethoc_mdio_read()
636 u32 data = ethoc_read(priv, MIIRX_DATA); in ethoc_mdio_read()
657 u32 stat = ethoc_read(priv, MIISTATUS); in ethoc_mdio_write()
689 mode = ethoc_read(priv, MODER); in ethoc_mdio_poll()
827 u32 mode = ethoc_read(priv, MODER); in ethoc_set_multicast_list()
875 u32 pending = ethoc_read(priv, INT_SOURCE); in ethoc_tx_timeout()
944 regs_buff[i] = ethoc_read(priv, i * sizeof(u32)); in ethoc_get_regs()
1190 (ethoc_read(priv, MIIMODER) & MIIMODER_NOPRE) | in ethoc_probe()