Searched refs:smi_rd (Results 1 – 2 of 2) sorted by relevance
303 union cvmx_smix_rd_dat smi_rd; in cvmx_mdio_read() local317 smi_rd.u64 = cvmx_read_csr(CVMX_SMIX_RD_DAT(bus_id)); in cvmx_mdio_read()318 } while (smi_rd.s.pending && timeout--); in cvmx_mdio_read()320 if (smi_rd.s.val) in cvmx_mdio_read()321 return smi_rd.s.dat; in cvmx_mdio_read()385 union cvmx_smix_rd_dat smi_rd; in cvmx_mdio_45_read() local423 smi_rd.u64 = cvmx_read_csr(CVMX_SMIX_RD_DAT(bus_id)); in cvmx_mdio_45_read()424 } while (smi_rd.s.pending && --timeout); in cvmx_mdio_45_read()433 if (smi_rd.s.val) in cvmx_mdio_45_read()434 return smi_rd.s.dat; in cvmx_mdio_45_read()
31 union cvmx_smix_rd_dat smi_rd; in octeon_mdiobus_read() local46 smi_rd.u64 = cvmx_read_csr(CVMX_SMIX_RD_DAT(p->unit)); in octeon_mdiobus_read()47 } while (smi_rd.s.pending && --timeout); in octeon_mdiobus_read()49 if (smi_rd.s.val) in octeon_mdiobus_read()50 return smi_rd.s.dat; in octeon_mdiobus_read()