Home
last modified time | relevance | path

Searched refs:MII_BUSY (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/mdio/
H A Dmdio-ipq8064.c18 #define MII_BUSY BIT(0) macro
48 !(busy & MII_BUSY), MII_MDIO_DELAY_USEC, in ipq8064_mdio_wait_busy()
55 u32 miiaddr = MII_BUSY | MII_CLKRANGE_250_300M; in ipq8064_mdio_read()
77 u32 miiaddr = MII_WRITE | MII_BUSY | MII_CLKRANGE_250_300M; in ipq8064_mdio_write()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_mdio.c26 #define MII_BUSY 0x00000001 macro
250 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read()
257 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read()
279 u32 value = MII_BUSY; in stmmac_mdio_read_c22()
317 u32 value = MII_BUSY; in stmmac_mdio_read_c45()
352 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_write()
362 !(v & MII_BUSY), 100, 10000); in stmmac_mdio_write()
379 u32 value = MII_BUSY; in stmmac_mdio_write_c22()
418 u32 value = MII_BUSY; in stmmac_mdio_write_c45()
/openbmc/u-boot/drivers/net/
H A Ddesignware.c41 writel(miiaddr | MII_CLKRANGE_150_250M | MII_BUSY, &mac_p->miiaddr); in dw_mdio_read()
45 if (!(readl(&mac_p->miiaddr) & MII_BUSY)) in dw_mdio_read()
70 writel(miiaddr | MII_CLKRANGE_150_250M | MII_BUSY, &mac_p->miiaddr); in dw_mdio_write()
74 if (!(readl(&mac_p->miiaddr) & MII_BUSY)) { in dw_mdio_write()
H A Ddesignware.h50 #define MII_BUSY (1 << 0) macro