Lines Matching refs:xgmac_read32
62 static u32 xgmac_read32(void __iomem *regs, in xgmac_read32() function
92 while ((xgmac_read32(®s->mdio_stat, is_little_endian) & in xgmac_wait_until_free()
117 while ((xgmac_read32(®s->mdio_stat, is_little_endian) & in xgmac_wait_until_done()
141 mdio_stat = xgmac_read32(®s->mdio_stat, endian); in xgmac_mdio_write_c22()
172 mdio_stat = xgmac_read32(®s->mdio_stat, endian); in xgmac_mdio_write_c45()
217 mdio_stat = xgmac_read32(®s->mdio_stat, endian); in xgmac_mdio_read_c22()
243 if ((xgmac_read32(®s->mdio_stat, endian) & MDIO_STAT_RD_ER) && in xgmac_mdio_read_c22()
250 ret = xgmac_read32(®s->mdio_data, endian) & 0xffff; in xgmac_mdio_read_c22()
275 mdio_stat = xgmac_read32(®s->mdio_stat, endian); in xgmac_mdio_read_c45()
309 if ((xgmac_read32(®s->mdio_stat, endian) & MDIO_STAT_RD_ER) && in xgmac_mdio_read_c45()
316 ret = xgmac_read32(®s->mdio_data, endian) & 0xffff; in xgmac_mdio_read_c45()
349 mdio_stat = xgmac_read32(®s->mdio_stat, priv->is_little_endian); in xgmac_mdio_set_mdc_freq()
366 mdio_stat = xgmac_read32(®s->mdio_stat, priv->is_little_endian); in xgmac_mdio_set_suppress_preamble()