Searched refs:phyreg (Results 1 – 6 of 6) sorted by relevance
/external/u-boot/drivers/net/ |
D | xilinx_emaclite.c | 256 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()
|
D | zynq_gem.c | 247 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()
|
D | ftmac110.c | 68 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()
|
D | smc91111.c | 882 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()
|
D | xilinx_axi_emac.c | 242 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()
|
D | ag7xxx.c | 922 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()
|