Searched refs:phy_ctl (Results 1 – 2 of 2) sorted by relevance
44 unsigned phy_ctl; in ksz90xx_startup() local51 phy_ctl = phy_read(phydev, MDIO_DEVAD_NONE, MII_KSZ90xx_PHY_CTL); in ksz90xx_startup()53 if (phy_ctl & MIIM_KSZ90xx_PHYCTL_DUPLEX) in ksz90xx_startup()58 if (phy_ctl & MIIM_KSZ90xx_PHYCTL_1000) in ksz90xx_startup()60 else if (phy_ctl & MIIM_KSZ90xx_PHYCTL_100) in ksz90xx_startup()62 else if (phy_ctl & MIIM_KSZ90xx_PHYCTL_10) in ksz90xx_startup()
146 u32 val, phy_ctl; in pcie_phy_read() local154 phy_ctl = 0x1 << PCIE_PHY_CTRL_RD_LOC; in pcie_phy_read()155 writel(phy_ctl, dbi_base + PCIE_PHY_CTRL); in pcie_phy_read()