Lines Matching refs:base
37 void __iomem *base;
46 value = readl(imx_phy->base + PHY_CTRL1);
50 writel(value, imx_phy->base + PHY_CTRL1);
52 value = readl(imx_phy->base + PHY_CTRL0);
54 writel(value, imx_phy->base + PHY_CTRL0);
56 value = readl(imx_phy->base + PHY_CTRL2);
58 writel(value, imx_phy->base + PHY_CTRL2);
60 value = readl(imx_phy->base + PHY_CTRL1);
62 writel(value, imx_phy->base + PHY_CTRL1);
73 value = readl(imx_phy->base + PHY_CTRL0);
76 writel(value, imx_phy->base + PHY_CTRL0);
79 value = readl(imx_phy->base + PHY_CTRL6);
81 writel(value, imx_phy->base + PHY_CTRL6);
83 value = readl(imx_phy->base + PHY_CTRL1);
86 writel(value, imx_phy->base + PHY_CTRL1);
88 value = readl(imx_phy->base + PHY_CTRL0);
90 writel(value, imx_phy->base + PHY_CTRL0);
92 value = readl(imx_phy->base + PHY_CTRL2);
94 writel(value, imx_phy->base + PHY_CTRL2);
98 value = readl(imx_phy->base + PHY_CTRL1);
100 writel(value, imx_phy->base + PHY_CTRL1);
169 imx_phy->base = devm_ioremap_resource(dev, res);
170 if (IS_ERR(imx_phy->base))
171 return PTR_ERR(imx_phy->base);