Lines Matching refs:generic_phy
45 static struct ufs_mtk_phy *get_ufs_mtk_phy(struct phy *generic_phy) in get_ufs_mtk_phy() argument
47 return (struct ufs_mtk_phy *)phy_get_drvdata(generic_phy); in get_ufs_mtk_phy()
119 static int ufs_mtk_phy_power_on(struct phy *generic_phy) in ufs_mtk_phy_power_on() argument
121 struct ufs_mtk_phy *phy = get_ufs_mtk_phy(generic_phy); in ufs_mtk_phy_power_on()
133 static int ufs_mtk_phy_power_off(struct phy *generic_phy) in ufs_mtk_phy_power_off() argument
135 struct ufs_mtk_phy *phy = get_ufs_mtk_phy(generic_phy); in ufs_mtk_phy_power_off()
153 struct phy *generic_phy; in ufs_mtk_phy_probe() local
172 generic_phy = devm_phy_create(dev, NULL, &ufs_mtk_phy_ops); in ufs_mtk_phy_probe()
173 if (IS_ERR(generic_phy)) in ufs_mtk_phy_probe()
174 return PTR_ERR(generic_phy); in ufs_mtk_phy_probe()
176 phy_set_drvdata(generic_phy, phy); in ufs_mtk_phy_probe()