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);
187 struct exynos5_usbdrd_phy *to_usbdrd_phy(struct phy_usb_instance *inst) in to_usbdrd_phy() argument
189 return container_of((inst), struct exynos5_usbdrd_phy, in to_usbdrd_phy()
190 phys[(inst)->index]); in to_usbdrd_phy()
230 static void exynos5_usbdrd_phy_isol(struct phy_usb_instance *inst, in exynos5_usbdrd_phy_isol() argument
235 if (!inst->reg_pmu) in exynos5_usbdrd_phy_isol()
240 regmap_update_bits(inst->reg_pmu, inst->pmu_offset, in exynos5_usbdrd_phy_isol()
250 exynos5_usbdrd_pipe3_set_refclk(struct phy_usb_instance *inst) in exynos5_usbdrd_pipe3_set_refclk() argument
253 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst); in exynos5_usbdrd_pipe3_set_refclk()
296 exynos5_usbdrd_utmi_set_refclk(struct phy_usb_instance *inst) in exynos5_usbdrd_utmi_set_refclk() argument
299 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst); in exynos5_usbdrd_utmi_set_refclk()
358 struct phy_usb_instance *inst = phy_get_drvdata(phy); in exynos5_usbdrd_phy_init() local
359 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst); in exynos5_usbdrd_phy_init()
388 inst->phy_cfg->phy_init(phy_drd); in exynos5_usbdrd_phy_init()
391 reg = inst->phy_cfg->set_refclk(inst); in exynos5_usbdrd_phy_init()
420 struct phy_usb_instance *inst = phy_get_drvdata(phy); in exynos5_usbdrd_phy_exit() local
421 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst); in exynos5_usbdrd_phy_exit()
453 struct phy_usb_instance *inst = phy_get_drvdata(phy); in exynos5_usbdrd_phy_power_on() local
454 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst); in exynos5_usbdrd_phy_power_on()
484 inst->phy_cfg->phy_isol(inst, 0); in exynos5_usbdrd_phy_power_on()
505 struct phy_usb_instance *inst = phy_get_drvdata(phy); in exynos5_usbdrd_phy_power_off() local
506 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst); in exynos5_usbdrd_phy_power_off()
511 inst->phy_cfg->phy_isol(inst, 1); in exynos5_usbdrd_phy_power_off()