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()
1328 const struct rockchip_usb2phy_cfg *phy_cfgs; in rockchip_usb2phy_probe() local1376 phy_cfgs = device_get_match_data(dev); in rockchip_usb2phy_probe()1382 if (!phy_cfgs) in rockchip_usb2phy_probe()1392 if (phy_cfgs[index].reg == reg) { in rockchip_usb2phy_probe()1393 rphy->phy_cfg = &phy_cfgs[index]; in rockchip_usb2phy_probe()1398 } while (phy_cfgs[index].reg); in rockchip_usb2phy_probe()