Home
last modified time | relevance | path

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

/openbmc/u-boot/common/
H A Dmiiphyutil.c399 u16 bmcr, anlpar, adv; in miiphy_speed() local
432 if (miiphy_read(devname, addr, MII_LPA, &anlpar)) { in miiphy_speed()
441 return ((anlpar & adv) & LPA_100) ? _100BASET : _10BASET; in miiphy_speed()
457 u16 bmcr, anlpar, adv; in miiphy_duplex() local
465 if (miiphy_read(devname, addr, MII_LPA, &anlpar)) { in miiphy_duplex()
495 if (miiphy_read(devname, addr, MII_LPA, &anlpar)) { in miiphy_duplex()
504 return ((anlpar & adv) & (LPA_10FULL | LPA_100FULL)) ? in miiphy_duplex()
/openbmc/qemu/hw/net/
H A Dallwinner_emac.c38 mii->anlpar |= MII_ANAR_TXFD | MII_ANAR_10FD | MII_ANAR_10 | in mii_set_link()
42 mii->anlpar = MII_ANAR_TX; in mii_set_link()
53 mii->anlpar = MII_ANAR_TX; in mii_reset()
76 return mii->anlpar; in RTL8201CP_mdio_read()
479 VMSTATE_UINT16(anlpar, RTL8201CPState),
/openbmc/qemu/include/hw/net/
H A Dallwinner_emac.h145 uint16_t anlpar; member