Lines Matching +full:drv +full:- +full:id
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Samsung SoC USB 1.1/2.0 PHY driver - S5PV210 support
12 #include "phy-samsung-usb2.h"
83 return -EINVAL; in s5pv210_rate_to_clk()
91 struct samsung_usb2_phy_driver *drv = inst->drv; in s5pv210_isol() local
94 switch (inst->cfg->id) { in s5pv210_isol()
105 regmap_update_bits(drv->reg_pmu, S5PV210_USB_ISOL_OFFSET, in s5pv210_isol()
111 struct samsung_usb2_phy_driver *drv = inst->drv; in s5pv210_phy_pwr() local
117 switch (inst->cfg->id) { in s5pv210_phy_pwr()
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()
172 .id = S5PV210_DEVICE,
178 .id = S5PV210_HOST,