Home
last modified time | relevance | path

Searched refs:MDIO_BUSY (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/qualcomm/emac/
Demac-phy.c31 #define MDIO_BUSY BIT(27) macro
68 !(reg & (MDIO_START | MDIO_BUSY)), in emac_mdio_read()
92 !(reg & (MDIO_START | MDIO_BUSY)), in emac_mdio_write()
/Linux-v4.19/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c229 if (!(val & (MDIO_START | MDIO_BUSY))) in atl1e_read_phy_reg()
233 if (!(val & (MDIO_START | MDIO_BUSY))) { in atl1e_read_phy_reg()
264 if (!(val & (MDIO_START | MDIO_BUSY))) in atl1e_write_phy_reg()
269 if (!(val & (MDIO_START | MDIO_BUSY))) in atl1e_write_phy_reg()
405 if (!(val & (MDIO_START | MDIO_BUSY))) in atl1e_phy_commit()
409 if (0 != (val & (MDIO_START | MDIO_BUSY))) { in atl1e_phy_commit()
Datl1e_hw.h245 #define MDIO_BUSY 0x8000000 macro
/Linux-v4.19/drivers/net/ethernet/ti/
Dcpmac.c172 #define MDIO_BUSY 0x80000000 macro
281 while (cpmac_read(bus->priv, CPMAC_MDIO_ACCESS(0)) & MDIO_BUSY) in cpmac_mdio_read()
283 cpmac_write(bus->priv, CPMAC_MDIO_ACCESS(0), MDIO_BUSY | MDIO_REG(reg) | in cpmac_mdio_read()
285 while ((val = cpmac_read(bus->priv, CPMAC_MDIO_ACCESS(0))) & MDIO_BUSY) in cpmac_mdio_read()
294 while (cpmac_read(bus->priv, CPMAC_MDIO_ACCESS(0)) & MDIO_BUSY) in cpmac_mdio_write()
296 cpmac_write(bus->priv, CPMAC_MDIO_ACCESS(0), MDIO_BUSY | MDIO_WRITE | in cpmac_mdio_write()
/Linux-v4.19/drivers/net/ethernet/sgi/
Dmeth.h235 #define MDIO_BUSY BIT(16) macro
Dmeth.c118 while ((___rval = mace->eth.phy_data) & MDIO_BUSY) { \
/Linux-v4.19/drivers/net/ethernet/atheros/atlx/
Datlx.h185 #define MDIO_BUSY 0x8000000 macro
Datl2.c2525 if (!(val & (MDIO_START | MDIO_BUSY))) in atl2_read_phy_reg()
2529 if (!(val & (MDIO_START | MDIO_BUSY))) { in atl2_read_phy_reg()
2560 if (!(val & (MDIO_START | MDIO_BUSY))) in atl2_write_phy_reg()
2566 if (!(val & (MDIO_START | MDIO_BUSY))) in atl2_write_phy_reg()
2664 if (!(val & (MDIO_START | MDIO_BUSY))) in atl2_phy_commit()
2668 if (0 != (val & (MDIO_START | MDIO_BUSY))) { in atl2_phy_commit()
Datl1.c373 if (!(val & (MDIO_START | MDIO_BUSY))) in atl1_read_phy_reg()
376 if (!(val & (MDIO_START | MDIO_BUSY))) { in atl1_read_phy_reg()
621 if (!(val & (MDIO_START | MDIO_BUSY))) in atl1_write_phy_reg()
625 if (!(val & (MDIO_START | MDIO_BUSY))) in atl1_write_phy_reg()
694 if (!(val & (MDIO_START | MDIO_BUSY))) in atl1_phy_reset()
698 if ((val & (MDIO_START | MDIO_BUSY)) != 0) { in atl1_phy_reset()