Home
last modified time | relevance | path

Searched refs:ethoc_read (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/
H A Dethoc.c237 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()
[all …]
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dethoc.c207 static inline u32 ethoc_read(struct ethoc *priv, size_t offset) in ethoc_read() function
221 bd->stat = ethoc_read(priv, offset + 0); in ethoc_read_bd()
222 bd->addr = ethoc_read(priv, offset + 4); in ethoc_read_bd()
248 u32 mode = ethoc_read(priv, MODER); in ethoc_enable_rx_and_tx()
255 u32 mode = ethoc_read(priv, MODER); in ethoc_disable_rx_and_tx()
316 mode = ethoc_read(priv, MODER); in ethoc_reset()
321 mode = ethoc_read(priv, MODER); in ethoc_reset()
425 pending = ethoc_read(priv, INT_SOURCE); in ethoc_is_new_packet_received()
498 pending = ethoc_read(priv, INT_SOURCE); in ethoc_send_common()
555 u32 data = ethoc_read(priv, MIIRX_DATA); in ethoc_mdio_read()