Lines Matching refs:smi_wr
32 union cvmx_smix_wr_dat smi_wr; in cavium_mdiobus_c45_addr() local
37 smi_wr.u64 = 0; in cavium_mdiobus_c45_addr()
38 smi_wr.s.dat = regnum & 0xffff; in cavium_mdiobus_c45_addr()
39 oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); in cavium_mdiobus_c45_addr()
52 smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); in cavium_mdiobus_c45_addr()
53 } while (smi_wr.s.pending && --timeout); in cavium_mdiobus_c45_addr()
129 union cvmx_smix_wr_dat smi_wr; in cavium_mdiobus_write_c22() local
134 smi_wr.u64 = 0; in cavium_mdiobus_write_c22()
135 smi_wr.s.dat = val; in cavium_mdiobus_write_c22()
136 oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); in cavium_mdiobus_write_c22()
149 smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); in cavium_mdiobus_write_c22()
150 } while (smi_wr.s.pending && --timeout); in cavium_mdiobus_write_c22()
164 union cvmx_smix_wr_dat smi_wr; in cavium_mdiobus_write_c45() local
172 smi_wr.u64 = 0; in cavium_mdiobus_write_c45()
173 smi_wr.s.dat = val; in cavium_mdiobus_write_c45()
174 oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); in cavium_mdiobus_write_c45()
187 smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); in cavium_mdiobus_write_c45()
188 } while (smi_wr.s.pending && --timeout); in cavium_mdiobus_write_c45()