Searched refs:phyreg (Results 1 – 2 of 2) sorted by relevance
/external/syslinux/gpxe/src/drivers/net/ |
D | forcedeth.c | 723 u32 control_1000, status_1000, phyreg; in update_linkspeed() local 815 phyreg = readl(base + NvRegRandomSeed); in update_linkspeed() 816 phyreg &= ~(0x3FF00); in update_linkspeed() 818 phyreg |= NVREG_RNDSEED_FORCE3; in update_linkspeed() 820 phyreg |= NVREG_RNDSEED_FORCE2; in update_linkspeed() 822 phyreg |= NVREG_RNDSEED_FORCE; in update_linkspeed() 823 writel(phyreg, base + NvRegRandomSeed); in update_linkspeed() 826 phyreg = readl(base + NvRegPhyInterface); in update_linkspeed() 827 phyreg &= ~(PHY_HALF | PHY_100 | PHY_1000); in update_linkspeed() 829 phyreg |= PHY_HALF; in update_linkspeed() [all …]
|
D | smc9000.c | 70 static word smc_read_phy_register(int ioaddr, byte phyaddr, byte phyreg) in smc_read_phy_register() argument 110 if (phyreg & 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 228 if (phyreg & mask) in smc_write_phy_register() 293 phyaddr, phyreg, phydata); in smc_write_phy_register()
|