Home
last modified time | relevance | path

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

/drivers/phy/
Dphy-exynos5250-usb2.c217 otg = readl(drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on()
233 writel(otg, drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on()
239 writel(otg, drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on()
247 ctrl0 = readl(drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on()
262 writel(ctrl0, drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on()
266 writel(ctrl0, drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on()
269 otg = readl(drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on()
285 writel(otg, drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on()
295 writel(hsic, drv->reg_phy + EXYNOS_5250_HSICPHYCTRL1); in exynos5250_power_on()
296 writel(hsic, drv->reg_phy + EXYNOS_5250_HSICPHYCTRL2); in exynos5250_power_on()
[all …]
Dphy-exynos5-usbdrd.c167 void __iomem *reg_phy; member
256 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYCLKRST); in exynos5_usbdrd_pipe3_set_refclk()
302 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYCLKRST); in exynos5_usbdrd_utmi_set_refclk()
319 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYPARAM1); in exynos5_usbdrd_pipe3_init()
323 writel(reg, phy_drd->reg_phy + EXYNOS5_DRD_PHYPARAM1); in exynos5_usbdrd_pipe3_init()
325 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYTEST); in exynos5_usbdrd_pipe3_init()
327 writel(reg, phy_drd->reg_phy + EXYNOS5_DRD_PHYTEST); in exynos5_usbdrd_pipe3_init()
334 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYPARAM0); in exynos5_usbdrd_utmi_init()
338 writel(reg, phy_drd->reg_phy + EXYNOS5_DRD_PHYPARAM0); in exynos5_usbdrd_utmi_init()
340 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYPARAM1); in exynos5_usbdrd_utmi_init()
[all …]
Dphy-exynos4210-usb2.c170 writel(on, drv->reg_phy + EXYNOS_4210_UPHY1CON); in exynos4210_phy_pwr()
185 clk = readl(drv->reg_phy + EXYNOS_4210_UPHYCLK); in exynos4210_phy_pwr()
188 writel(clk, drv->reg_phy + EXYNOS_4210_UPHYCLK); in exynos4210_phy_pwr()
190 pwr = readl(drv->reg_phy + EXYNOS_4210_UPHYPWR); in exynos4210_phy_pwr()
192 writel(pwr, drv->reg_phy + EXYNOS_4210_UPHYPWR); in exynos4210_phy_pwr()
194 rst = readl(drv->reg_phy + EXYNOS_4210_UPHYRST); in exynos4210_phy_pwr()
196 writel(rst, drv->reg_phy + EXYNOS_4210_UPHYRST); in exynos4210_phy_pwr()
199 writel(rst, drv->reg_phy + EXYNOS_4210_UPHYRST); in exynos4210_phy_pwr()
204 pwr = readl(drv->reg_phy + EXYNOS_4210_UPHYPWR); in exynos4210_phy_pwr()
206 writel(pwr, drv->reg_phy + EXYNOS_4210_UPHYPWR); in exynos4210_phy_pwr()
Dphy-s5pv210-usb2.c133 writel(drv->ref_reg_val, drv->reg_phy + S5PV210_UPHYCLK); in s5pv210_phy_pwr()
135 pwr = readl(drv->reg_phy + S5PV210_UPHYPWR); in s5pv210_phy_pwr()
137 writel(pwr, drv->reg_phy + S5PV210_UPHYPWR); in s5pv210_phy_pwr()
139 rst = readl(drv->reg_phy + S5PV210_UPHYRST); in s5pv210_phy_pwr()
141 writel(rst, drv->reg_phy + S5PV210_UPHYRST); in s5pv210_phy_pwr()
144 writel(rst, drv->reg_phy + S5PV210_UPHYRST); in s5pv210_phy_pwr()
150 pwr = readl(drv->reg_phy + S5PV210_UPHYPWR); in s5pv210_phy_pwr()
152 writel(pwr, drv->reg_phy + S5PV210_UPHYPWR); in s5pv210_phy_pwr()
Dphy-exynos4x12-usb2.c200 clk = readl(drv->reg_phy + EXYNOS_4x12_UPHYCLK); in exynos4x12_setup_clk()
208 writel(clk, drv->reg_phy + EXYNOS_4x12_UPHYCLK); in exynos4x12_setup_clk()
243 pwr = readl(drv->reg_phy + EXYNOS_4x12_UPHYPWR); in exynos4x12_phy_pwr()
245 writel(pwr, drv->reg_phy + EXYNOS_4x12_UPHYPWR); in exynos4x12_phy_pwr()
247 rst = readl(drv->reg_phy + EXYNOS_4x12_UPHYRST); in exynos4x12_phy_pwr()
249 writel(rst, drv->reg_phy + EXYNOS_4x12_UPHYRST); in exynos4x12_phy_pwr()
252 writel(rst, drv->reg_phy + EXYNOS_4x12_UPHYRST); in exynos4x12_phy_pwr()
257 pwr = readl(drv->reg_phy + EXYNOS_4x12_UPHYPWR); in exynos4x12_phy_pwr()
259 writel(pwr, drv->reg_phy + EXYNOS_4x12_UPHYPWR); in exynos4x12_phy_pwr()
Dphy-samsung-usb2.c178 drv->reg_phy = devm_ioremap_resource(dev, mem); in samsung_usb2_phy_probe()
179 if (IS_ERR(drv->reg_phy)) { in samsung_usb2_phy_probe()
181 return PTR_ERR(drv->reg_phy); in samsung_usb2_phy_probe()
Dphy-samsung-usb2.h45 void __iomem *reg_phy; member
/drivers/net/ethernet/freescale/
Dfec_main.c3438 fep->reg_phy = devm_regulator_get(&pdev->dev, "phy"); in fec_probe()
3439 if (!IS_ERR(fep->reg_phy)) { in fec_probe()
3440 ret = regulator_enable(fep->reg_phy); in fec_probe()
3447 fep->reg_phy = NULL; in fec_probe()
3515 if (fep->reg_phy) in fec_probe()
3516 regulator_disable(fep->reg_phy); in fec_probe()
3540 if (fep->reg_phy) in fec_drv_remove()
3541 regulator_disable(fep->reg_phy); in fec_drv_remove()
3571 if (fep->reg_phy && !(fep->wol_flag & FEC_WOL_FLAG_ENABLE)) in fec_suspend()
3572 regulator_disable(fep->reg_phy); in fec_suspend()
[all …]
Dfec.h543 struct regulator *reg_phy; member