Lines Matching defs:phy_index
105 u_int phy_index;
144 const uint32_t usbc_mask = __BIT(phy->phy_index * 2);
258 val = PMU_READ(sc, phy->phy_index, PMU_CFG);
263 PMU_WRITE(sc, phy->phy_index, PMU_CFG, val);
270 val = PMU_READ(sc, phy->phy_index, PMU_UNK_H3);
272 PMU_WRITE(sc, phy->phy_index, PMU_UNK_H3, val);
285 if (phy->phy_index == 0)
293 if (phy->phy_index == 0) {
323 if (phy->phy_index == 0 && sunxi_usbphy_vbus_detect(sc))
374 phy->phy_index = sc->sc_nphys;