Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/mxfe/
H A Dmxfe.c1117 uint16_t anlpar; in mxfe_checklinknway() local
1120 anlpar = mxfep->mxfe_anlpar; in mxfe_checklinknway()
1125 if ((anlpar & MII_ABILITY_100BASE_TX_FD) && in mxfe_checklinknway()
1129 } else if ((anlpar & MII_ABILITY_100BASE_TX) && in mxfe_checklinknway()
1133 } else if ((anlpar & MII_ABILITY_10BASE_T_FD) && in mxfe_checklinknway()
1137 } else if ((anlpar & MII_ABILITY_10BASE_T) && in mxfe_checklinknway()
1485 uint16_t anlpar; in mxfe_checklinkmii() local
1493 anlpar = mxfe_miiread(mxfep, mxfep->mxfe_phyaddr, MII_AN_LPABLE); in mxfe_checklinkmii()
1497 mxfep->mxfe_anlpar = anlpar; in mxfe_checklinkmii()
1534 } else if (anar & anlpar & MII_ABILITY_100BASE_TX_FD) { in mxfe_checklinkmii()
[all …]
/illumos-gate/usr/src/uts/common/io/bfe/
H A Dbfe.c732 uint16_t bmsr, bmcr, anar, anlpar; in bfe_check_link() local
747 anlpar = bfe_read_phy(bfe, MII_AN_LPABLE); in bfe_check_link()
748 bfe->bfe_mii_anlpar = anlpar; in bfe_check_link()
784 } else if (anar & anlpar & MII_ABILITY_100BASE_TX_FD) { in bfe_check_link()
787 } else if (anar & anlpar & MII_ABILITY_100BASE_T4) { in bfe_check_link()
790 } else if (anar & anlpar & MII_ABILITY_100BASE_TX) { in bfe_check_link()
793 } else if (anar & anlpar & MII_ABILITY_10BASE_T_FD) { in bfe_check_link()
796 } else if (anar & anlpar & MII_ABILITY_10BASE_T) { in bfe_check_link()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_mac.c5499 mii_anlpar_t anlpar; in nxge_mii_check() local
5595 (uint8_t)(uint64_t)(&mii_regs->anlpar), in nxge_mii_check()
5596 &anlpar.value)) != NXGE_OK) in nxge_mii_check()
5604 statsp->mac_stats.lp_cap_100T4 = anlpar.bits.cap_100T4; in nxge_mii_check()
5606 anlpar.bits.cap_100fdx; in nxge_mii_check()
5608 anlpar.bits.cap_100hdx; in nxge_mii_check()
5609 statsp->mac_stats.lp_cap_10fdx = anlpar.bits.cap_10fdx; in nxge_mii_check()
5610 statsp->mac_stats.lp_cap_10hdx = anlpar.bits.cap_10hdx; in nxge_mii_check()
5612 anlpar.bits.cap_asmpause; in nxge_mii_check()
5613 statsp->mac_stats.lp_cap_pause = anlpar.bits.cap_pause; in nxge_mii_check()
[all …]
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_mii.h63 uchar_t anlpar; /* Auto-Negotiation link Partner ability reg */ member
/illumos-gate/usr/src/uts/sun/io/eri/
H A Deri.c4966 uint16_t control, aner, anlpar, anar, an_common; in eri_mif_check() local
5054 (void) eri_mii_read(erip, ERI_PHY_ANLPAR, &anlpar); in eri_mif_check()
5056 an_common = anar & anlpar; in eri_mif_check()
5076 param_anlpar_100T4 = 1 && (anlpar & PHY_ANLPAR_T4); in eri_mif_check()
5077 param_anlpar_100fdx = 1 && (anlpar & PHY_ANLPAR_TXFDX); in eri_mif_check()
5078 param_anlpar_100hdx = 1 && (anlpar & PHY_ANLPAR_TX); in eri_mif_check()
5079 param_anlpar_10fdx = 1 && (anlpar & PHY_ANLPAR_10FDX); in eri_mif_check()
5080 param_anlpar_10hdx = 1 && (anlpar & PHY_ANLPAR_10); in eri_mif_check()
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_mac.c3276 mii_anar_t anlpar; in npi_mac_pcs_mii_read() local
3321 anlpar.bits.cap_pause = pcs_anlpar.bits.w0.pause; in npi_mac_pcs_mii_read()
3322 anlpar.bits.cap_asmpause = pcs_anlpar.bits.w0.asm_pause; in npi_mac_pcs_mii_read()
3323 *value = anlpar.value; in npi_mac_pcs_mii_read()