Lines Matching refs:baseaddr
95 void __iomem *baseaddr; member
106 smix_clk.u = readq(priv->baseaddr + SMI_X_CLK); in octeontx_smi_setmode()
109 writeq(smix_clk.u, priv->baseaddr + SMI_X_CLK); in octeontx_smi_setmode()
125 writeq(smix_wr_dat.u, priv->baseaddr + SMI_X_WR_DAT); in octeontx_c45_addr()
132 writeq(smix_cmd.u, priv->baseaddr + SMI_X_CMD); in octeontx_c45_addr()
135 smix_wr_dat.u = readq(priv->baseaddr + SMI_X_WR_DAT); in octeontx_c45_addr()
154 mode, priv->baseaddr, addr, devad, regnum); in octeontx_phy_read()
178 writeq(smix_cmd.u, priv->baseaddr + SMI_X_CMD); in octeontx_phy_read()
181 smix_rd_dat.u = readq(priv->baseaddr + SMI_X_RD_DAT); in octeontx_phy_read()
203 mode, priv->baseaddr, addr, devad, regnum); in octeontx_phy_write()
217 writeq(smix_wr_dat.u, priv->baseaddr + SMI_X_WR_DAT); in octeontx_phy_write()
230 writeq(smix_cmd.u, priv->baseaddr + SMI_X_CMD); in octeontx_phy_write()
233 smix_wr_dat.u = readq(priv->baseaddr + SMI_X_WR_DAT); in octeontx_phy_write()
250 writeq(smi_en.u, priv->baseaddr + SMI_X_EN); in octeontx_smi_reset()
253 writeq(smi_en.u, priv->baseaddr + SMI_X_EN); in octeontx_smi_reset()
348 priv->baseaddr = (void __iomem *)fdtdec_get_addr(gd->fdt_blob, in octeontx_smi_probe()
351 debug("mdio base addr %p\n", priv->baseaddr); in octeontx_smi_probe()