Searched refs:reg_phy (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/phy/samsung/ |
H A D | phy-exynos5250-usb2.c | 212 otg = readl(drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on() 228 writel(otg, drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on() 234 writel(otg, drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on() 242 ctrl0 = readl(drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on() 257 writel(ctrl0, drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on() 261 writel(ctrl0, drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on() 264 otg = readl(drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on() 280 writel(otg, drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on() 290 writel(hsic, drv->reg_phy + EXYNOS_5250_HSICPHYCTRL1); in exynos5250_power_on() 291 writel(hsic, drv->reg_phy + EXYNOS_5250_HSICPHYCTRL2); in exynos5250_power_on() [all …]
|
H A D | phy-exynos4210-usb2.c | 167 writel(on, drv->reg_phy + EXYNOS_4210_UPHY1CON); in exynos4210_phy_pwr() 182 clk = readl(drv->reg_phy + EXYNOS_4210_UPHYCLK); in exynos4210_phy_pwr() 185 writel(clk, drv->reg_phy + EXYNOS_4210_UPHYCLK); in exynos4210_phy_pwr() 187 pwr = readl(drv->reg_phy + EXYNOS_4210_UPHYPWR); in exynos4210_phy_pwr() 189 writel(pwr, drv->reg_phy + EXYNOS_4210_UPHYPWR); in exynos4210_phy_pwr() 191 rst = readl(drv->reg_phy + EXYNOS_4210_UPHYRST); in exynos4210_phy_pwr() 193 writel(rst, drv->reg_phy + EXYNOS_4210_UPHYRST); in exynos4210_phy_pwr() 196 writel(rst, drv->reg_phy + EXYNOS_4210_UPHYRST); in exynos4210_phy_pwr() 201 pwr = readl(drv->reg_phy + EXYNOS_4210_UPHYPWR); in exynos4210_phy_pwr() 203 writel(pwr, drv->reg_phy + EXYNOS_4210_UPHYPWR); in exynos4210_phy_pwr()
|
H A D | phy-s5pv210-usb2.c | 130 writel(drv->ref_reg_val, drv->reg_phy + S5PV210_UPHYCLK); in s5pv210_phy_pwr() 132 pwr = readl(drv->reg_phy + S5PV210_UPHYPWR); in s5pv210_phy_pwr() 134 writel(pwr, drv->reg_phy + S5PV210_UPHYPWR); in s5pv210_phy_pwr() 136 rst = readl(drv->reg_phy + S5PV210_UPHYRST); in s5pv210_phy_pwr() 138 writel(rst, drv->reg_phy + S5PV210_UPHYRST); in s5pv210_phy_pwr() 141 writel(rst, drv->reg_phy + S5PV210_UPHYRST); in s5pv210_phy_pwr() 147 pwr = readl(drv->reg_phy + S5PV210_UPHYPWR); in s5pv210_phy_pwr() 149 writel(pwr, drv->reg_phy + S5PV210_UPHYPWR); in s5pv210_phy_pwr()
|
H A D | phy-exynos5-usbdrd.c | 394 void __iomem *reg_phy; member 484 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYCLKRST); in exynos5_usbdrd_pipe3_set_refclk() 530 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYCLKRST); in exynos5_usbdrd_utmi_set_refclk() 559 reg_base = phy_drd->reg_phy; in exynos5_usbdrd_apply_phy_tunes() 586 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYPARAM1); in exynos5_usbdrd_pipe3_init() 590 writel(reg, phy_drd->reg_phy + EXYNOS5_DRD_PHYPARAM1); in exynos5_usbdrd_pipe3_init() 592 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYTEST); in exynos5_usbdrd_pipe3_init() 594 writel(reg, phy_drd->reg_phy + EXYNOS5_DRD_PHYTEST); in exynos5_usbdrd_pipe3_init() 600 void __iomem *regs_base = phy_drd->reg_phy; in exynos5_usbdrd_usbdp_g2_v4_ctrl_pma_ready() 724 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYPARAM0); in exynos5_usbdrd_utmi_init() [all …]
|
H A D | phy-exynos4x12-usb2.c | 197 clk = readl(drv->reg_phy + EXYNOS_4x12_UPHYCLK); in exynos4x12_setup_clk() 205 writel(clk, drv->reg_phy + EXYNOS_4x12_UPHYCLK); in exynos4x12_setup_clk() 240 pwr = readl(drv->reg_phy + EXYNOS_4x12_UPHYPWR); in exynos4x12_phy_pwr() 242 writel(pwr, drv->reg_phy + EXYNOS_4x12_UPHYPWR); in exynos4x12_phy_pwr() 244 rst = readl(drv->reg_phy + EXYNOS_4x12_UPHYRST); in exynos4x12_phy_pwr() 246 writel(rst, drv->reg_phy + EXYNOS_4x12_UPHYRST); in exynos4x12_phy_pwr() 249 writel(rst, drv->reg_phy + EXYNOS_4x12_UPHYRST); in exynos4x12_phy_pwr() 254 pwr = readl(drv->reg_phy + EXYNOS_4x12_UPHYPWR); in exynos4x12_phy_pwr() 256 writel(pwr, drv->reg_phy + EXYNOS_4x12_UPHYPWR); in exynos4x12_phy_pwr()
|
H A D | phy-samsung-usb2.c | 171 drv->reg_phy = devm_platform_ioremap_resource(pdev, 0); in samsung_usb2_phy_probe() 172 if (IS_ERR(drv->reg_phy)) { in samsung_usb2_phy_probe() 174 return PTR_ERR(drv->reg_phy); in samsung_usb2_phy_probe()
|
H A D | phy-samsung-usb2.h | 42 void __iomem *reg_phy; member
|
/linux/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 4462 fep->reg_phy = devm_regulator_get_optional(&pdev->dev, "phy"); in fec_probe() 4463 if (!IS_ERR(fep->reg_phy)) { in fec_probe() 4464 ret = regulator_enable(fep->reg_phy); in fec_probe() 4471 if (PTR_ERR(fep->reg_phy) == -EPROBE_DEFER) { in fec_probe() 4475 fep->reg_phy = NULL; in fec_probe() 4554 if (fep->reg_phy) in fec_probe() 4555 regulator_disable(fep->reg_phy); in fec_probe() 4595 if (fep->reg_phy) in fec_drv_remove() 4596 regulator_disable(fep->reg_phy); in fec_drv_remove() 4657 if (fep->reg_phy && !(fep->wol_flag & FEC_WOL_FLAG_ENABLE)) in fec_suspend() [all …]
|
H A D | fec.h | 660 struct regulator *reg_phy; member
|