Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/fm/
Dmemac_phy.c25 static u32 memac_in_32(u32 *reg) in memac_in_32() function
54 while ((memac_in_32(&regs->mdio_stat)) & MDIO_STAT_BSY) in memac_mdio_write()
66 while ((memac_in_32(&regs->mdio_stat)) & MDIO_STAT_BSY) in memac_mdio_write()
73 while ((memac_in_32(&regs->mdio_data)) & MDIO_DATA_BSY) in memac_mdio_write()
101 while ((memac_in_32(&regs->mdio_stat)) & MDIO_STAT_BSY) in memac_mdio_read()
113 while ((memac_in_32(&regs->mdio_stat)) & MDIO_STAT_BSY) in memac_mdio_read()
121 while ((memac_in_32(&regs->mdio_data)) & MDIO_DATA_BSY) in memac_mdio_read()
125 if (memac_in_32(&regs->mdio_stat) & MDIO_STAT_RD_ER) in memac_mdio_read()
128 return memac_in_32(&regs->mdio_data) & 0xffff; in memac_mdio_read()