Lines Matching refs:phy_index
103 u_int phy_index;
142 const uint32_t usbc_mask = __BIT(phy->phy_index * 2);
254 val = PMU_READ(sc, phy->phy_index, PMU_CFG);
259 PMU_WRITE(sc, phy->phy_index, PMU_CFG, val);
266 val = PMU_READ(sc, phy->phy_index, PMU_UNK_H3);
268 PMU_WRITE(sc, phy->phy_index, PMU_UNK_H3, val);
281 if (phy->phy_index == 0)
289 if (phy->phy_index == 0) {
319 if (phy->phy_index == 0 && sunxi_usbphy_vbus_detect(sc))
370 phy->phy_index = sc->sc_nphys;