Lines Matching refs:phy_base
459 struct rockchip_usb_phy_base *phy_base; in rockchip_usb_phy_probe() local
465 phy_base = devm_kzalloc(dev, sizeof(*phy_base), GFP_KERNEL); in rockchip_usb_phy_probe()
466 if (!phy_base) in rockchip_usb_phy_probe()
475 phy_base->pdata = match->data; in rockchip_usb_phy_probe()
477 phy_base->dev = dev; in rockchip_usb_phy_probe()
478 phy_base->reg_base = ERR_PTR(-ENODEV); in rockchip_usb_phy_probe()
480 phy_base->reg_base = syscon_node_to_regmap( in rockchip_usb_phy_probe()
482 if (IS_ERR(phy_base->reg_base)) in rockchip_usb_phy_probe()
483 phy_base->reg_base = syscon_regmap_lookup_by_phandle( in rockchip_usb_phy_probe()
485 if (IS_ERR(phy_base->reg_base)) { in rockchip_usb_phy_probe()
487 return PTR_ERR(phy_base->reg_base); in rockchip_usb_phy_probe()
491 err = rockchip_usb_phy_init(phy_base, child); in rockchip_usb_phy_probe()