Lines Matching refs:ethoc_write
213 static inline void ethoc_write(struct ethoc *priv, size_t offset, u32 data) in ethoc_write() function
230 ethoc_write(priv, offset + 0, bd->stat); in ethoc_write_bd()
231 ethoc_write(priv, offset + 4, bd->addr); in ethoc_write_bd()
236 ethoc_write(priv, MAC_ADDR0, (mac[2] << 24) | (mac[3] << 16) | in ethoc_write_hwaddr_common()
238 ethoc_write(priv, MAC_ADDR1, (mac[0] << 8) | (mac[1] << 0)); in ethoc_write_hwaddr_common()
244 ethoc_write(priv, INT_SOURCE, mask); in ethoc_ack_irq()
251 ethoc_write(priv, MODER, mode); in ethoc_enable_rx_and_tx()
258 ethoc_write(priv, MODER, mode); in ethoc_disable_rx_and_tx()
319 ethoc_write(priv, MODER, mode); in ethoc_reset()
324 ethoc_write(priv, MODER, mode); in ethoc_reset()
325 ethoc_write(priv, IPGT, 0x15); in ethoc_reset()
338 ethoc_write(priv, TX_BD_NUM, priv->num_tx); in ethoc_init_common()
549 ethoc_write(priv, MIIADDRESS, MIIADDRESS_ADDR(addr, reg)); in ethoc_mdio_read()
550 ethoc_write(priv, MIICOMMAND, MIICOMMAND_READ); in ethoc_mdio_read()
559 ethoc_write(priv, MIICOMMAND, 0); in ethoc_mdio_read()
571 ethoc_write(priv, MIIADDRESS, MIIADDRESS_ADDR(addr, reg)); in ethoc_mdio_write()
572 ethoc_write(priv, MIITX_DATA, val); in ethoc_mdio_write()
573 ethoc_write(priv, MIICOMMAND, MIICOMMAND_WRITE); in ethoc_mdio_write()
580 ethoc_write(priv, MIICOMMAND, 0); in ethoc_mdio_write()