Home
last modified time | relevance | path

Searched refs:phyaddr (Results 1 – 3 of 3) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/de/
H A Dif_de.c138 const unsigned phyaddr);
1341 unsigned phyaddr; in tulip_mii_get_phyaddr() local
1344 for (phyaddr = 1; phyaddr < 32; phyaddr++) { in tulip_mii_get_phyaddr()
1345 unsigned status = tulip_mii_readreg(sc, phyaddr, PHYREG_STATUS); in tulip_mii_get_phyaddr()
1349 return phyaddr; in tulip_mii_get_phyaddr()
1385 tulip_mii_autonegotiate(tulip_softc_t * const sc, const unsigned phyaddr) in tulip_mii_autonegotiate() argument
1394 tulip_mii_writereg(sc, phyaddr, PHYREG_CONTROL, PHYCTL_RESET); in tulip_mii_autonegotiate()
1402 u_int32_t data = tulip_mii_readreg(sc, phyaddr, PHYREG_CONTROL); in tulip_mii_autonegotiate()
1409 ifp->if_xname, phyaddr); in tulip_mii_autonegotiate()
1416 status = tulip_mii_readreg(sc, phyaddr, PHYREG_STATUS); in tulip_mii_autonegotiate()
[all …]
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8125/dev/pci/
H A Dif_rge.c2316 uint16_t off, phyaddr; local
2318 phyaddr = addr ? addr : RGE_PHYBASE + (reg / 8);
2319 phyaddr <<= 4;
2323 phyaddr += (off - 16) << 1;
2325 rge_write_phy_ocp(sc, phyaddr, val);
2331 uint16_t off, phyaddr; local
2333 phyaddr = addr ? addr : RGE_PHYBASE + (reg / 8);
2334 phyaddr <<= 4;
2338 phyaddr += (off - 16) << 1;
2340 return (rge_read_phy_ocp(sc, phyaddr));
/haiku/src/add-ons/kernel/drivers/network/ether/rtl81xx/dev/re/
H A Dif_re.c784 int total_len, i, error = 0, phyaddr; in re_diag() local
810 phyaddr = 1; in re_diag()
812 phyaddr = 0; in re_diag()
814 re_miibus_writereg(sc->rl_dev, phyaddr, MII_BMCR, BMCR_RESET); in re_diag()
816 status = re_miibus_readreg(sc->rl_dev, phyaddr, MII_BMCR); in re_diag()
821 re_miibus_writereg(sc->rl_dev, phyaddr, MII_BMCR, BMCR_LOOP); in re_diag()