Home
last modified time | relevance | path

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

/arch/mips/include/asm/octeon/
Dcvmx-mdio.h342 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()
[all …]