Searched refs:phyaddr (Results 1 – 3 of 3) sorted by relevance
/external/syslinux/gpxe/src/drivers/net/ |
D | smc9000.c | 70 static word smc_read_phy_register(int ioaddr, byte phyaddr, byte phyreg) in smc_read_phy_register() argument 97 if (phyaddr & mask) in smc_read_phy_register() 179 phyaddr, phyreg, phydata); in smc_read_phy_register() 190 byte phyaddr, byte phyreg, word phydata) in smc_write_phy_register() argument 215 if (phyaddr & mask) in smc_write_phy_register() 293 phyaddr, phyreg, phydata); in smc_write_phy_register() 305 int phyaddr; in smc_detect_phy() local 309 for (phyaddr = 0; phyaddr < 32; ++phyaddr) in smc_detect_phy() 312 phy_id1 = smc_read_phy_register(ioaddr, phyaddr, PHY_ID1_REG); in smc_detect_phy() 313 phy_id2 = smc_read_phy_register(ioaddr, phyaddr, PHY_ID2_REG); in smc_detect_phy() [all …]
|
D | forcedeth.c | 406 int phyaddr; member 517 miicontrol = mii_rw(nic, np->phyaddr, MII_BMCR, MII_READ); in phy_reset() 519 if (mii_rw(nic, np->phyaddr, MII_BMCR, miicontrol)) { in phy_reset() 529 miicontrol = mii_rw(nic, np->phyaddr, MII_BMCR, MII_READ); in phy_reset() 544 reg = mii_rw(nic, np->phyaddr, MII_ADVERTISE, MII_READ); in phy_init() 548 if (mii_rw(nic, np->phyaddr, MII_ADVERTISE, reg)) { in phy_init() 557 mii_status = mii_rw(nic, np->phyaddr, MII_BMSR, MII_READ); in phy_init() 562 mii_rw(nic, np->phyaddr, MII_CTRL1000, MII_READ); in phy_init() 570 (nic, np->phyaddr, MII_CTRL1000, mii_control_1000)) { in phy_init() 586 mii_rw(nic, np->phyaddr, MII_RESV1, MII_READ); in phy_init() [all …]
|
D | pcnet32.c | 963 int phyaddr; in mdio_read() local 968 phyaddr = lp->a.read_bcr(ioaddr, 33); in mdio_read() 973 lp->a.write_bcr(ioaddr, 33, phyaddr); in mdio_read() 982 int phyaddr; 987 phyaddr = lp->a.read_bcr(ioaddr, 33); 992 lp->a.write_bcr(ioaddr, 33, phyaddr);
|