Home
last modified time | relevance | path

Searched refs:mii_cmd (Results 1 – 5 of 5) sorted by relevance

/u-boot/drivers/net/
A Dsun8i_emac.c202 u32 mii_cmd; in sun8i_mdio_read() local
205 mii_cmd = (reg << MDIO_CMD_MII_PHY_REG_ADDR_SHIFT) & in sun8i_mdio_read()
207 mii_cmd |= (addr << MDIO_CMD_MII_PHY_ADDR_SHIFT) & in sun8i_mdio_read()
216 mii_cmd |= MDIO_CMD_MII_BUSY; in sun8i_mdio_read()
218 writel(mii_cmd, priv->mac_reg + EMAC_MII_CMD); in sun8i_mdio_read()
234 u32 mii_cmd; in sun8i_mdio_write() local
236 mii_cmd = (reg << MDIO_CMD_MII_PHY_REG_ADDR_SHIFT) & in sun8i_mdio_write()
238 mii_cmd |= (addr << MDIO_CMD_MII_PHY_ADDR_SHIFT) & in sun8i_mdio_write()
247 mii_cmd |= MDIO_CMD_MII_WRITE; in sun8i_mdio_write()
248 mii_cmd |= MDIO_CMD_MII_BUSY; in sun8i_mdio_write()
[all …]
A Dmcfmii.c90 uint mii_send(uint mii_cmd) in mii_send() argument
112 ep->mmfr = mii_cmd; /* command to phy */ in mii_send()
128 __FILE__, __LINE__, __FUNCTION__, mii_cmd, mii_reply); in mii_send()
A Dns8382x.c476 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | addr; in mdio_read() local
481 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_read()
503 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (addr << 18) | value; in mdio_write() local
508 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_write()
A Dmpc8xx_fec.c727 mii_send(uint mii_cmd) in mii_send() argument
736 out_be32(&ep->fec_mii_data, mii_cmd); /* command to phy */ in mii_send()
/u-boot/arch/m68k/include/asm/
A Dfec.h355 uint mii_send(uint mii_cmd);

Completed in 12 milliseconds