Searched refs:phy_cfgs (Results 1 – 2 of 2) sorted by relevance
1106 const struct rockchip_usb3phy_port_cfg *phy_cfgs; in rockchip_typec_phy_probe() local1113 phy_cfgs = of_device_get_match_data(dev); in rockchip_typec_phy_probe()1114 if (!phy_cfgs) { in rockchip_typec_phy_probe()1125 while (phy_cfgs[index].reg) { in rockchip_typec_phy_probe()1126 if (phy_cfgs[index].reg == res->start) { in rockchip_typec_phy_probe()1127 tcphy->port_cfgs = &phy_cfgs[index]; in rockchip_typec_phy_probe()
1307 const struct rockchip_usb2phy_cfg *phy_cfgs; in rockchip_usb2phy_probe() local1355 phy_cfgs = device_get_match_data(dev); in rockchip_usb2phy_probe()1361 if (!phy_cfgs) in rockchip_usb2phy_probe()1371 if (phy_cfgs[index].reg == reg) { in rockchip_usb2phy_probe()1372 rphy->phy_cfg = &phy_cfgs[index]; in rockchip_usb2phy_probe()1377 } while (phy_cfgs[index].reg); in rockchip_usb2phy_probe()