Lines Matching refs:poll_cnt
41 uint32_t poll_cnt = 0; in phy_xlnx_gem_mdio_read() local
53 if (poll_cnt++ > 0) { in phy_xlnx_gem_mdio_read()
57 } while ((reg_val & ETH_XLNX_GEM_MDIO_IDLE_BIT) == 0 && poll_cnt < 10); in phy_xlnx_gem_mdio_read()
58 if (poll_cnt == 10) { in phy_xlnx_gem_mdio_read()
84 poll_cnt = 0; in phy_xlnx_gem_mdio_read()
86 if (poll_cnt++ > 0) { in phy_xlnx_gem_mdio_read()
90 } while ((reg_val & ETH_XLNX_GEM_MDIO_IDLE_BIT) == 0 && poll_cnt < 10); in phy_xlnx_gem_mdio_read()
91 if (poll_cnt == 10) { in phy_xlnx_gem_mdio_read()
120 uint32_t poll_cnt = 0; in phy_xlnx_gem_mdio_write() local
132 if (poll_cnt++ > 0) { in phy_xlnx_gem_mdio_write()
136 } while ((reg_val & ETH_XLNX_GEM_MDIO_IDLE_BIT) == 0 && poll_cnt < 10); in phy_xlnx_gem_mdio_write()
137 if (poll_cnt == 10) { in phy_xlnx_gem_mdio_write()
165 poll_cnt = 0; in phy_xlnx_gem_mdio_write()
167 if (poll_cnt++ > 0) { in phy_xlnx_gem_mdio_write()
171 } while ((reg_val & ETH_XLNX_GEM_MDIO_IDLE_BIT) == 0 && poll_cnt < 10); in phy_xlnx_gem_mdio_write()
172 if (poll_cnt == 10) { in phy_xlnx_gem_mdio_write()