Searched refs:reg_phy (Results 1 – 9 of 9) sorted by relevance
/drivers/phy/samsung/ |
D | phy-exynos5250-usb2.c | 214 otg = readl(drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on() 230 writel(otg, drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on() 236 writel(otg, drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on() 244 ctrl0 = readl(drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on() 259 writel(ctrl0, drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on() 263 writel(ctrl0, drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on() 266 otg = readl(drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on() 282 writel(otg, drv->reg_phy + EXYNOS_5250_USBOTGSYS); in exynos5250_power_on() 292 writel(hsic, drv->reg_phy + EXYNOS_5250_HSICPHYCTRL1); in exynos5250_power_on() 293 writel(hsic, drv->reg_phy + EXYNOS_5250_HSICPHYCTRL2); in exynos5250_power_on() [all …]
|
D | phy-exynos5-usbdrd.c | 195 void __iomem *reg_phy; member 284 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYCLKRST); in exynos5_usbdrd_pipe3_set_refclk() 330 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYCLKRST); in exynos5_usbdrd_utmi_set_refclk() 347 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYPARAM1); in exynos5_usbdrd_pipe3_init() 351 writel(reg, phy_drd->reg_phy + EXYNOS5_DRD_PHYPARAM1); in exynos5_usbdrd_pipe3_init() 353 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYTEST); in exynos5_usbdrd_pipe3_init() 355 writel(reg, phy_drd->reg_phy + EXYNOS5_DRD_PHYTEST); in exynos5_usbdrd_pipe3_init() 362 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYPARAM0); in exynos5_usbdrd_utmi_init() 366 writel(reg, phy_drd->reg_phy + EXYNOS5_DRD_PHYPARAM0); in exynos5_usbdrd_utmi_init() 368 reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYPARAM1); in exynos5_usbdrd_utmi_init() [all …]
|
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()
|
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()
|
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()
|
D | phy-samsung-usb2.c | 171 drv->reg_phy = devm_ioremap_resource(dev, mem); 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()
|
D | phy-samsung-usb2.h | 42 void __iomem *reg_phy; member
|
/drivers/net/ethernet/freescale/ |
D | fec_main.c | 3732 fep->reg_phy = devm_regulator_get_optional(&pdev->dev, "phy"); in fec_probe() 3733 if (!IS_ERR(fep->reg_phy)) { in fec_probe() 3734 ret = regulator_enable(fep->reg_phy); in fec_probe() 3741 if (PTR_ERR(fep->reg_phy) == -EPROBE_DEFER) { in fec_probe() 3745 fep->reg_phy = NULL; in fec_probe() 3821 if (fep->reg_phy) in fec_probe() 3822 regulator_disable(fep->reg_phy); in fec_probe() 3860 if (fep->reg_phy) in fec_drv_remove() 3861 regulator_disable(fep->reg_phy); in fec_drv_remove() 3902 if (fep->reg_phy && !(fep->wol_flag & FEC_WOL_FLAG_ENABLE)) in fec_suspend() [all …]
|
D | fec.h | 572 struct regulator *reg_phy; member
|