/linux-master/drivers/net/phy/ |
H A D | marvell-88q2xxx.c | 341 if (phydev->autoneg == AUTONEG_ENABLE) { 713 if (phydev->autoneg == AUTONEG_ENABLE || phydev->speed == SPEED_1000) { 729 if (phydev->autoneg == AUTONEG_ENABLE || phydev->speed == SPEED_1000)
|
H A D | dp83869.c | 664 phydev->autoneg = AUTONEG_DISABLE;
|
H A D | micrel.c | 645 phydev->autoneg = AUTONEG_DISABLE; 738 * switching from autoneg off to on. So, take MDI-X configuration under 739 * own control and set it after autoneg configuration was done. 1756 if (phydev->autoneg != AUTONEG_ENABLE) { 1779 * switching from autoneg off to on. So, take MDI-X configuration under 1780 * own control and set it after autoneg configuration was done. 2065 /* If autoneg is enabled, we won't be able to test cross pair 2079 /* If autoneg is enabled, we won't be able to test cross pair 2082 * If autoneg is disabled, we should set the speed to 10mbit.
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.h | 281 u8 autoneg; member in struct:hclge_mac
|
H A D | hclge_main.c | 2646 "autoneg is not supported by current port\n"); 2663 return phydev->autoneg; 2665 return hdev->hw.mac.autoneg; 2674 dev_dbg(&hdev->pdev->dev, "restart autoneg\n"); 2687 if (hdev->hw.mac.support_autoneg && hdev->hw.mac.autoneg) 2921 ret = hclge_set_autoneg_en(hdev, hdev->hw.mac.autoneg); 3241 mac->autoneg = resp->autoneg; 3282 cmd->base.autoneg = req0->autoneg; [all...] |
/linux-master/drivers/net/ethernet/intel/e1000e/ |
H A D | phy.c | 914 if (hw->mac.autoneg) { 1109 * e1000_copper_link_autoneg - Setup/Enable autoneg for copper link 1112 * Performs initial bounds checking on autoneg advertisement parameter, then 1113 * configure to advertise the full capability. Setup the PHY to autoneg 1115 * autoneg_wait_to_complete, then wait for autoneg to complete before exiting. 1123 /* Perform some bounds checking on the autoneg advertisement 1160 e_dbg("Error while waiting for autoneg to complete\n"); 1184 if (hw->mac.autoneg) { 1185 /* Setup autoneg and flow control advertisement and perform 1483 /* Disable autoneg o [all...] |
H A D | netdev.c | 5252 hw->mac.autoneg && 5261 e_info("Autonegotiated half duplex but link partner cannot autoneg. Try forcing full duplex if link gets many collisions.\n"); 7619 adapter->hw.mac.autoneg = 1;
|
H A D | ich8lan.c | 1649 if (!mac->autoneg) 1660 * settings because we may have had to re-autoneg with a
|
H A D | hw.h | 606 bool autoneg; member in struct:e1000_mac_info
|
/linux-master/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmmii.c | 53 if (phydev->autoneg)
|
H A D | bcmgenet.c | 928 epause->autoneg = priv->autoneg_pause; 953 priv->autoneg_pause = !!epause->autoneg; 3134 priv->dev->phydev->autoneg != AUTONEG_ENABLE) {
|
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_main.c | 6915 hw->mac.autoneg = true;
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 2533 if (!(link_info->autoneg & BNXT_AUTONEG_SPEED) && 10768 netdev_info(bp->dev, "FEC autoneg %s encoding: %s\n", 11011 if (support_changed && (link_info->autoneg & BNXT_AUTONEG_SPEED)) 11046 if (bp->link_info.autoneg & BNXT_AUTONEG_FLOW_CTRL) { 11073 if (bp->link_info.autoneg & BNXT_AUTONEG_SPEED) { 11121 if ((bp->link_info.autoneg & BNXT_AUTONEG_FLOW_CTRL) || 11126 if (!rc && !(bp->link_info.autoneg & BNXT_AUTONEG_FLOW_CTRL)) { 11522 if (!(link_info->autoneg & BNXT_AUTONEG_SPEED)) { 11552 if ((link_info->autoneg & BNXT_AUTONEG_FLOW_CTRL) && 11556 if (!(link_info->autoneg [all...] |
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | b44.c | 1840 cmd->base.autoneg = (bp->flags & B44_FLAG_FORCE_LINK) ? 1842 if (cmd->base.autoneg == AUTONEG_ENABLE) 1885 if (cmd->base.autoneg == AUTONEG_ENABLE) { 1899 if (cmd->base.autoneg == AUTONEG_ENABLE) { 1986 epause->autoneg = 2000 if (epause->autoneg)
|
/linux-master/drivers/net/ |
H A D | tun.c | 3563 cmd->base.autoneg = AUTONEG_DISABLE;
|
H A D | veth.c | 132 cmd->base.autoneg = AUTONEG_DISABLE;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_ethtool.c | 1095 link_ksettings->base.autoneg = an_disable_admin ? AUTONEG_DISABLE : 1124 const unsigned long link_modes, u8 autoneg) 1131 autoneg != AUTONEG_ENABLE) { 1132 netdev_err(netdev, "%s: 56G link speed requires autoneg enabled\n", 1185 static bool ext_requested(u8 autoneg, const unsigned long *adver, bool ext_supported) argument 1189 return autoneg == AUTONEG_ENABLE ? ext_link_mode : ext_supported; 1205 u8 autoneg; local 1213 autoneg = link_ksettings->base.autoneg; 1217 ext = ext_requested(autoneg, adve 1123 mlx5e_speed_validate(struct net_device *netdev, bool ext, const unsigned long link_modes, u8 autoneg) argument [all...] |
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ethtool.c | 362 cmd->base.autoneg = ADVERTISED_Autoneg; 415 if (cmd->base.autoneg != AUTONEG_ENABLE) 527 pause->autoneg = 1; 543 pause->autoneg = 1;
|
/linux-master/drivers/net/ethernet/realtek/ |
H A D | r8169_main.c | 2140 data->autoneg = tp->phydev->autoneg;
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_port.c | 739 conf->autoneg)
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool.c | 1366 /* If VSI state is up, then restart autoneg with link up */ 2001 /* set autoneg settings */ 2002 ks->base.autoneg = (hw_link_info->an_info & ICE_AQ_AN_COMPLETED) ? 2088 /* Set supported and advertised autoneg */ 2188 /* Check autoneg */ 2190 /* If autoneg was not already enabled */ 2192 /* If autoneg is not supported, return error */ 2205 /* If autoneg is currently enabled */ 2207 /* If autoneg is supported 10GBASE_T is the only PHY 2274 u8 autoneg, timeou local [all...] |
/linux-master/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 2800 pause->autoneg = (fep->pause_flag & FEC_PAUSE_FLAG_AUTONEG) != 0; 2823 fep->pause_flag |= pause->autoneg ? FEC_PAUSE_FLAG_AUTONEG : 0; 2826 pause->autoneg); 2828 if (pause->autoneg) {
|
/linux-master/drivers/net/ethernet/microchip/ |
H A D | lan743x_main.c | 1548 phy->fc_autoneg = phydev->autoneg;
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | cgx.c | 1119 u32 speed, u8 duplex, u8 autoneg, u64 mode) 1129 args->an = autoneg; 1118 set_mod_args(struct cgx_set_link_mode_args *args, u32 speed, u8 duplex, u8 autoneg, u64 mode) argument
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_ethtool.c | 346 /* Tell firmware to stop mac autoneg before loopback test start, 720 h->ae_algo->ops->get_pauseparam(h, ¶m->autoneg, 734 "set pauseparam: autoneg=%u, rx:%u, tx:%u\n", 735 param->autoneg, param->rx_pause, param->tx_pause); 738 return h->ae_algo->ops->set_pauseparam(h, param->autoneg, 752 &cmd->base.autoneg, 840 u8 autoneg; local 846 * unnecessary to check them when autoneg on. 848 if (cmd->base.autoneg) 852 ops->get_ksettings_an_result(handle, &autoneg, 1324 int autoneg; local [all...] |