Lines Matching defs:ability
396 u_int16_t phy_sts = 0, media, advert, ability;
476 ability = my_phy_readreg(sc, PHY_LPAR);
482 ability = 0;
496 ability = 0;
508 if (advert & PHY_ANAR_100BT4 && ability & PHY_ANAR_100BT4) {
514 ability & PHY_ANAR_100BTXFULL) {
520 ability & PHY_ANAR_100BTXHALF) {
526 ability & PHY_ANAR_10BTFULL) {
557 * To get PHY ability.
1602 u_int16_t advert = 0, ability = 0;
1624 ability = my_phy_readreg(sc, PHY_LPAR);
1632 ability = 0;
1634 } else if (ability & PHY_1000SR_1000BTXHALF) {
1636 ability = 0;
1641 if (advert & PHY_ANAR_100BT4 && ability & PHY_ANAR_100BT4)
1643 else if (advert & PHY_ANAR_100BTXFULL && ability & PHY_ANAR_100BTXFULL)
1645 else if (advert & PHY_ANAR_100BTXHALF && ability & PHY_ANAR_100BTXHALF)
1647 else if (advert & PHY_ANAR_10BTFULL && ability & PHY_ANAR_10BTFULL)
1649 else if (advert & PHY_ANAR_10BTHALF && ability & PHY_ANAR_10BTHALF)