Lines Matching defs:phy_idx
201 int phy_idx;
207 phy_idx = args->args[0];
209 if (WARN_ON(phy_idx >= SR_NR_PCIE_PHYS))
212 return core->phys[phy_idx].phy;
222 unsigned int phy_idx = 0;
255 for (phy_idx = 0; phy_idx < SR_NR_PCIE_PHYS; phy_idx++) {
256 struct sr_pcie_phy *p = &core->phys[phy_idx];
259 if (phy_idx == SR_PAXC_PHY_IDX)
271 p->index = phy_idx;