Home
last modified time | relevance | path

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

/linux/drivers/net/mdio/
H A Dmdio-cavium.c32 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()
[all …]