Lines Matching refs:mmp3_usb_phy
108 struct mmp3_usb_phy { struct
142 struct mmp3_usb_phy *mmp3_usb_phy = phy_get_drvdata(phy); in mmp3_usb_phy_init() local
143 void __iomem *base = mmp3_usb_phy->base; in mmp3_usb_phy_init()
197 struct mmp3_usb_phy *mmp3_usb_phy = phy_get_drvdata(phy); in mmp3_usb_phy_calibrate() local
198 void __iomem *base = mmp3_usb_phy->base; in mmp3_usb_phy_calibrate()
249 struct mmp3_usb_phy *mmp3_usb_phy; in mmp3_usb_phy_probe() local
252 mmp3_usb_phy = devm_kzalloc(dev, sizeof(*mmp3_usb_phy), GFP_KERNEL); in mmp3_usb_phy_probe()
253 if (!mmp3_usb_phy) in mmp3_usb_phy_probe()
256 mmp3_usb_phy->base = devm_platform_ioremap_resource(pdev, 0); in mmp3_usb_phy_probe()
257 if (IS_ERR(mmp3_usb_phy->base)) { in mmp3_usb_phy_probe()
259 return PTR_ERR(mmp3_usb_phy->base); in mmp3_usb_phy_probe()
262 mmp3_usb_phy->phy = devm_phy_create(dev, NULL, &mmp3_usb_phy_ops); in mmp3_usb_phy_probe()
263 if (IS_ERR(mmp3_usb_phy->phy)) { in mmp3_usb_phy_probe()
265 return PTR_ERR(mmp3_usb_phy->phy); in mmp3_usb_phy_probe()
268 phy_set_drvdata(mmp3_usb_phy->phy, mmp3_usb_phy); in mmp3_usb_phy_probe()