Lines Matching refs:inst
135 void (*phy_isol)(struct phy_usb_instance *inst, u32 on);
137 unsigned int (*set_refclk)(struct phy_usb_instance *inst);
178 struct exynos5_usbdrd_phy *to_usbdrd_phy(struct phy_usb_instance *inst) in to_usbdrd_phy() argument
180 return container_of((inst), struct exynos5_usbdrd_phy, in to_usbdrd_phy()
181 phys[(inst)->index]); in to_usbdrd_phy()
221 static void exynos5_usbdrd_phy_isol(struct phy_usb_instance *inst, in exynos5_usbdrd_phy_isol() argument
226 if (!inst->reg_pmu) in exynos5_usbdrd_phy_isol()
231 regmap_update_bits(inst->reg_pmu, inst->pmu_offset, in exynos5_usbdrd_phy_isol()
241 exynos5_usbdrd_pipe3_set_refclk(struct phy_usb_instance *inst) in exynos5_usbdrd_pipe3_set_refclk() argument
244 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst); in exynos5_usbdrd_pipe3_set_refclk()
287 exynos5_usbdrd_utmi_set_refclk(struct phy_usb_instance *inst) in exynos5_usbdrd_utmi_set_refclk() argument
290 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst); in exynos5_usbdrd_utmi_set_refclk()
349 struct phy_usb_instance *inst = phy_get_drvdata(phy); in exynos5_usbdrd_phy_init() local
350 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst); in exynos5_usbdrd_phy_init()
379 inst->phy_cfg->phy_init(phy_drd); in exynos5_usbdrd_phy_init()
382 reg = inst->phy_cfg->set_refclk(inst); in exynos5_usbdrd_phy_init()
411 struct phy_usb_instance *inst = phy_get_drvdata(phy); in exynos5_usbdrd_phy_exit() local
412 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst); in exynos5_usbdrd_phy_exit()
444 struct phy_usb_instance *inst = phy_get_drvdata(phy); in exynos5_usbdrd_phy_power_on() local
445 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst); in exynos5_usbdrd_phy_power_on()
461 inst->phy_cfg->phy_isol(inst, 0); in exynos5_usbdrd_phy_power_on()
473 struct phy_usb_instance *inst = phy_get_drvdata(phy); in exynos5_usbdrd_phy_power_off() local
474 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst); in exynos5_usbdrd_phy_power_off()
479 inst->phy_cfg->phy_isol(inst, 1); in exynos5_usbdrd_phy_power_off()