Home
last modified time | relevance | path

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

/arch/mips/include/asm/octeon/
Dcvmx-mdio.h302 union cvmx_smix_cmd smi_cmd; in cvmx_mdio_read() local
309 smi_cmd.u64 = 0; in cvmx_mdio_read()
310 smi_cmd.s.phy_op = MDIO_CLAUSE_22_READ; in cvmx_mdio_read()
311 smi_cmd.s.phy_adr = phy_id; in cvmx_mdio_read()
312 smi_cmd.s.reg_adr = location; in cvmx_mdio_read()
313 cvmx_write_csr(CVMX_SMIX_CMD(bus_id), smi_cmd.u64); in cvmx_mdio_read()
341 union cvmx_smix_cmd smi_cmd; in cvmx_mdio_write() local
352 smi_cmd.u64 = 0; in cvmx_mdio_write()
353 smi_cmd.s.phy_op = MDIO_CLAUSE_22_WRITE; in cvmx_mdio_write()
354 smi_cmd.s.phy_adr = phy_id; in cvmx_mdio_write()
[all …]