Searched refs:phy_index (Results 1 - 3 of 3) sorted by relevance

/netbsd-current/sys/arch/arm/sunxi/
H A Dsunxi_usbphy.c103 u_int phy_index; member in struct:sunxi_usbphy
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
[all...]
/netbsd-current/sys/arch/arm/samsung/
H A Dexynos_usbdrdphy.c101 u_int phy_index; member in struct:exynos_usbdrdphy
154 val = syscon_read_4(sc->sc_pmureg, USBDRD_PHY_CTRL(phy->phy_index));
159 syscon_write_4(sc->sc_pmureg, USBDRD_PHY_CTRL(phy->phy_index), val);
261 sc->sc_phy[n].phy_index = n;
H A Dexynos_usbphy.c78 u_int phy_index; member in struct:exynos_usbphy
186 switch (phy->phy_index) {
190 const bus_size_t reg = phy->phy_index == PHY_ID_HSIC0 ?
263 sc->sc_phy[n].phy_index = n;

Completed in 196 milliseconds