Lines Matching refs:ethoc_read
237 static inline u32 ethoc_read(struct ethoc *dev, loff_t offset) in ethoc_read() function
251 bd->stat = ethoc_read(dev, offset + 0); in ethoc_read_bd()
252 bd->addr = ethoc_read(dev, offset + 4); in ethoc_read_bd()
265 u32 imask = ethoc_read(dev, INT_MASK); in ethoc_enable_irq()
272 u32 imask = ethoc_read(dev, INT_MASK); in ethoc_disable_irq()
284 u32 mode = ethoc_read(dev, MODER); in ethoc_enable_rx_and_tx()
291 u32 mode = ethoc_read(dev, MODER); in ethoc_disable_rx_and_tx()
351 mode = ethoc_read(dev, MODER); in ethoc_reset()
356 mode = ethoc_read(dev, MODER); in ethoc_reset()
559 mask = ethoc_read(priv, INT_MASK); in ethoc_interrupt()
560 pending = ethoc_read(priv, INT_SOURCE); in ethoc_interrupt()
589 reg = ethoc_read(priv, MAC_ADDR0); in ethoc_get_mac_address()
595 reg = ethoc_read(priv, MAC_ADDR1); in ethoc_get_mac_address()
628 u32 status = ethoc_read(priv, MIISTATUS); in ethoc_mdio_read()
630 u32 data = ethoc_read(priv, MIIRX_DATA); in ethoc_mdio_read()
651 u32 stat = ethoc_read(priv, MIISTATUS); in ethoc_mdio_write()
796 u32 mode = ethoc_read(priv, MODER); in ethoc_set_multicast_list()
844 u32 pending = ethoc_read(priv, INT_SOURCE); in ethoc_tx_timeout()
929 regs_buff[i] = ethoc_read(priv, i * sizeof(u32)); in ethoc_get_regs()
1186 (ethoc_read(priv, MIIMODER) & MIIMODER_NOPRE) | in ethoc_probe()