Lines Matching refs:inst

190 	void (*phy_isol)(struct phy_usb_instance *inst, u32 on);
192 unsigned int (*set_refclk)(struct phy_usb_instance *inst);
243 struct exynos5_usbdrd_phy *to_usbdrd_phy(struct phy_usb_instance *inst)
245 return container_of((inst), struct exynos5_usbdrd_phy,
246 phys[(inst)->index]);
289 static void exynos5_usbdrd_phy_isol(struct phy_usb_instance *inst,
294 if (!inst->reg_pmu)
299 regmap_update_bits(inst->reg_pmu, inst->pmu_offset,
309 exynos5_usbdrd_pipe3_set_refclk(struct phy_usb_instance *inst)
312 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);
355 exynos5_usbdrd_utmi_set_refclk(struct phy_usb_instance *inst)
358 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);
417 struct phy_usb_instance *inst = phy_get_drvdata(phy);
418 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);
447 inst->phy_cfg->phy_init(phy_drd);
450 reg = inst->phy_cfg->set_refclk(inst);
479 struct phy_usb_instance *inst = phy_get_drvdata(phy);
480 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);
512 struct phy_usb_instance *inst = phy_get_drvdata(phy);
513 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);
543 inst->phy_cfg->phy_isol(inst, 0);
564 struct phy_usb_instance *inst = phy_get_drvdata(phy);
565 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);
570 inst->phy_cfg->phy_isol(inst, 1);
730 struct phy_usb_instance *inst = phy_get_drvdata(phy);
731 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);
733 if (inst->phy_cfg->id == EXYNOS5_DRDPHY_UTMI)
810 struct phy_usb_instance *inst = phy_get_drvdata(phy);
811 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);
819 inst->phy_cfg->phy_init(phy_drd);
828 struct phy_usb_instance *inst = phy_get_drvdata(phy);
829 struct exynos5_usbdrd_phy *phy_drd = to_usbdrd_phy(inst);