Home
last modified time | relevance | path

Searched refs:phy_reg (Results 1 – 5 of 5) sorted by relevance

/openbsd/src/sys/dev/fdt/
Dxhci_fdt.c473 uint32_t phy_reg[2]; in exynos5_usbdrd_init() local
483 if (OF_getpropintarray(node, "reg", phy_reg, in exynos5_usbdrd_init()
484 sizeof(phy_reg)) != sizeof(phy_reg)) in exynos5_usbdrd_init()
487 if (bus_space_map(sc->sc.iot, phy_reg[0], in exynos5_usbdrd_init()
488 phy_reg[1], 0, &sc->ph_ioh)) { in exynos5_usbdrd_init()
553 uint32_t phy_reg[2], reg; in imx8mp_usb_init() local
559 if (OF_getpropintarray(node, "reg", phy_reg, in imx8mp_usb_init()
560 sizeof(phy_reg)) != sizeof(phy_reg)) in imx8mp_usb_init()
563 if (bus_space_map(sc->sc.iot, phy_reg[0], in imx8mp_usb_init()
564 phy_reg[1], 0, &sc->ph_ioh)) { in imx8mp_usb_init()
[all …]
Dimxehci.c342 uint32_t phy_reg[2]; in imx23_usb_init() local
349 if (OF_getpropintarray(node, "reg", phy_reg, in imx23_usb_init()
350 sizeof(phy_reg)) != sizeof(phy_reg)) in imx23_usb_init()
353 if (bus_space_map(sc->sc.iot, phy_reg[0], in imx23_usb_init()
354 phy_reg[1], 0, &sc->ph_ioh)) { in imx23_usb_init()
/openbsd/src/sys/arch/armv7/exynos/
Dexehci.c118 uint32_t phy_reg[2]; in exehci_attach() local
136 if (OF_getpropintarray(sc->sc_phy, "reg", phy_reg, in exehci_attach()
137 sizeof(phy_reg)) != sizeof(phy_reg)) in exehci_attach()
151 if (bus_space_map(sc->sc.iot, phy_reg[0], in exehci_attach()
152 phy_reg[1], 0, &sc->ph_ioh)) { in exehci_attach()
185 bus_space_unmap(sc->sc.iot, sc->ph_ioh, phy_reg[1]); in exehci_attach()
/openbsd/src/sys/dev/ic/
Ddc.c631 int i, rval, phy_reg; in dc_miibus_readreg() local
698 phy_reg = DC_AL_BMCR; in dc_miibus_readreg()
701 phy_reg = DC_AL_BMSR; in dc_miibus_readreg()
704 phy_reg = DC_AL_VENID; in dc_miibus_readreg()
707 phy_reg = DC_AL_DEVID; in dc_miibus_readreg()
710 phy_reg = DC_AL_ANAR; in dc_miibus_readreg()
713 phy_reg = DC_AL_LPAR; in dc_miibus_readreg()
716 phy_reg = DC_AL_ANER; in dc_miibus_readreg()
725 rval = CSR_READ_4(sc, phy_reg) & 0x0000FFFF; in dc_miibus_readreg()
737 phy_reg = CSR_READ_4(sc, DC_NETCFG); in dc_miibus_readreg()
[all …]
/openbsd/src/sys/dev/pci/
Dif_em_hw.c1427 uint16_t phy_reg; in em_disable_ulp_lpt_lp() local
1480 ret_val = em_read_phy_reg(hw, CV_SMB_CTRL, &phy_reg); in em_disable_ulp_lpt_lp()
1491 ret_val = em_read_phy_reg(hw, CV_SMB_CTRL, &phy_reg); in em_disable_ulp_lpt_lp()
1495 phy_reg &= ~CV_SMB_CTRL_FORCE_SMBUS; in em_disable_ulp_lpt_lp()
1496 em_write_phy_reg(hw, CV_SMB_CTRL, phy_reg); in em_disable_ulp_lpt_lp()
1506 ret_val = em_read_phy_reg(hw, HV_PM_CTRL, &phy_reg); in em_disable_ulp_lpt_lp()
1509 phy_reg |= HV_PM_CTRL_K1_ENABLE; in em_disable_ulp_lpt_lp()
1510 em_write_phy_reg(hw, HV_PM_CTRL, phy_reg); in em_disable_ulp_lpt_lp()
1513 ret_val = em_read_phy_reg(hw, I218_ULP_CONFIG1, &phy_reg); in em_disable_ulp_lpt_lp()
1516 phy_reg &= ~(I218_ULP_CONFIG1_IND | in em_disable_ulp_lpt_lp()
[all …]