Home
last modified time | relevance | path

Searched refs:phyreg (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/drivers/net/
Dxilinx_emaclite.c256 u16 phyreg; in setup_phy() local
266 phyread(emaclite, emaclite->phyaddr, PHY_DETECT_REG, &phyreg); in setup_phy()
267 if ((phyreg != 0xFFFF) && in setup_phy()
268 ((phyreg & PHY_DETECT_MASK) == PHY_DETECT_MASK)) { in setup_phy()
282 phyread(emaclite, i, PHY_DETECT_REG, &phyreg); in setup_phy()
283 if ((phyreg != 0xFFFF) && in setup_phy()
284 ((phyreg & PHY_DETECT_MASK) == PHY_DETECT_MASK)) { in setup_phy()
Dzynq_gem.c247 u16 phyreg = 0; in phy_detection() local
251 phyread(priv, priv->phyaddr, PHY_DETECT_REG, &phyreg); in phy_detection()
252 if ((phyreg != 0xFFFF) && in phy_detection()
253 ((phyreg & PHY_DETECT_MASK) == PHY_DETECT_MASK)) { in phy_detection()
269 phyread(priv, i, PHY_DETECT_REG, &phyreg); in phy_detection()
270 if ((phyreg != 0xFFFF) && in phy_detection()
271 ((phyreg & PHY_DETECT_MASK) == PHY_DETECT_MASK)) { in phy_detection()
Dftmac110.c68 uint8_t phyaddr, uint8_t phyreg) in mdio_read() argument
77 | (phyreg << PHYCR_REG_SHIFT); in mdio_read()
97 uint8_t phyaddr, uint8_t phyreg, uint16_t phydata) in mdio_write() argument
105 | (phyreg << PHYCR_REG_SHIFT); in mdio_write()
Dsmc91111.c882 static word smc_read_phy_register (struct eth_device *dev, byte phyreg) in smc_read_phy_register() argument
921 if (phyreg & mask) in smc_read_phy_register()
988 phyaddr, phyreg, phydata); in smc_read_phy_register()
999 static void smc_write_phy_register (struct eth_device *dev, byte phyreg, in smc_write_phy_register() argument
1037 if (phyreg & mask) in smc_write_phy_register()
1100 phyaddr, phyreg, phydata); in smc_write_phy_register()
Dxilinx_axi_emac.c242 u16 phyreg; in axiemac_phy_init() local
261 ret = phyread(priv, i, PHY_DETECT_REG, &phyreg); in axiemac_phy_init()
262 if (!ret && (phyreg != 0xFFFF) && in axiemac_phy_init()
263 ((phyreg & PHY_DETECT_MASK) == PHY_DETECT_MASK)) { in axiemac_phy_init()
Dag7xxx.c922 int ret, phyreg; in ag7xxx_eth_probe() local
928 phyreg = fdtdec_get_int(gd->fdt_blob, ret, "reg", -1); in ag7xxx_eth_probe()
931 phyiobase = map_physmem(phyreg, 0x200, MAP_NOCACHE); in ag7xxx_eth_probe()