Lines Matching refs:smi_wr
342 union cvmx_smix_wr_dat smi_wr; in cvmx_mdio_write() local
348 smi_wr.u64 = 0; in cvmx_mdio_write()
349 smi_wr.s.dat = val; in cvmx_mdio_write()
350 cvmx_write_csr(CVMX_SMIX_WR_DAT(bus_id), smi_wr.u64); in cvmx_mdio_write()
360 smi_wr.u64 = cvmx_read_csr(CVMX_SMIX_WR_DAT(bus_id)); in cvmx_mdio_write()
361 } while (smi_wr.s.pending && --timeout); in cvmx_mdio_write()
386 union cvmx_smix_wr_dat smi_wr; in cvmx_mdio_45_read() local
394 smi_wr.u64 = 0; in cvmx_mdio_45_read()
395 smi_wr.s.dat = location; in cvmx_mdio_45_read()
396 cvmx_write_csr(CVMX_SMIX_WR_DAT(bus_id), smi_wr.u64); in cvmx_mdio_45_read()
406 smi_wr.u64 = cvmx_read_csr(CVMX_SMIX_WR_DAT(bus_id)); in cvmx_mdio_45_read()
407 } while (smi_wr.s.pending && --timeout); in cvmx_mdio_45_read()
461 union cvmx_smix_wr_dat smi_wr; in cvmx_mdio_45_write() local
469 smi_wr.u64 = 0; in cvmx_mdio_45_write()
470 smi_wr.s.dat = location; in cvmx_mdio_45_write()
471 cvmx_write_csr(CVMX_SMIX_WR_DAT(bus_id), smi_wr.u64); in cvmx_mdio_45_write()
481 smi_wr.u64 = cvmx_read_csr(CVMX_SMIX_WR_DAT(bus_id)); in cvmx_mdio_45_write()
482 } while (smi_wr.s.pending && --timeout); in cvmx_mdio_45_write()
486 smi_wr.u64 = 0; in cvmx_mdio_45_write()
487 smi_wr.s.dat = val; in cvmx_mdio_45_write()
488 cvmx_write_csr(CVMX_SMIX_WR_DAT(bus_id), smi_wr.u64); in cvmx_mdio_45_write()
498 smi_wr.u64 = cvmx_read_csr(CVMX_SMIX_WR_DAT(bus_id)); in cvmx_mdio_45_write()
499 } while (smi_wr.s.pending && --timeout); in cvmx_mdio_45_write()