Lines Matching refs:generic_phy
69 static struct ufs_mtk_phy *get_ufs_mtk_phy(struct phy *generic_phy) in get_ufs_mtk_phy() argument
71 return (struct ufs_mtk_phy *)phy_get_drvdata(generic_phy); in get_ufs_mtk_phy()
148 static int ufs_mtk_phy_power_on(struct phy *generic_phy) in ufs_mtk_phy_power_on() argument
150 struct ufs_mtk_phy *phy = get_ufs_mtk_phy(generic_phy); in ufs_mtk_phy_power_on()
175 static int ufs_mtk_phy_power_off(struct phy *generic_phy) in ufs_mtk_phy_power_off() argument
177 struct ufs_mtk_phy *phy = get_ufs_mtk_phy(generic_phy); in ufs_mtk_phy_power_off()
196 struct phy *generic_phy; in ufs_mtk_phy_probe() local
217 generic_phy = devm_phy_create(dev, NULL, &ufs_mtk_phy_ops); in ufs_mtk_phy_probe()
218 if (IS_ERR(generic_phy)) in ufs_mtk_phy_probe()
219 return PTR_ERR(generic_phy); in ufs_mtk_phy_probe()
221 phy_set_drvdata(generic_phy, phy); in ufs_mtk_phy_probe()