/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ethtool.c | 111 link_ext_state_info->autoneg = 223 if (pause->autoneg) { 885 u32 eth_proto_admin, bool autoneg, 892 if (!autoneg) 959 bool autoneg; local 968 autoneg = mlxsw_sp_port->link.autoneg; 972 mlxsw_sp_port_get_link_advertise(mlxsw_sp, eth_proto_admin, autoneg, cmd); 974 cmd->base.autoneg = autoneg 884 mlxsw_sp_port_get_link_advertise(struct mlxsw_sp *mlxsw_sp, u32 eth_proto_admin, bool autoneg, struct ethtool_link_ksettings *cmd) argument 991 bool autoneg; local 1504 mlxsw_sp1_reg_ptys_eth_pack(struct mlxsw_sp *mlxsw_sp, char *payload, u16 local_port, u32 proto_admin, bool autoneg) argument 2003 mlxsw_sp2_reg_ptys_eth_pack(struct mlxsw_sp *mlxsw_sp, char *payload, u16 local_port, u32 proto_admin, bool autoneg) argument [all...] |
/linux-master/drivers/net/ethernet/ibm/emac/ |
H A D | phy.c | 114 phy->autoneg = AUTONEG_ENABLE; 173 phy->autoneg = AUTONEG_DISABLE; 215 if (phy->autoneg == AUTONEG_ENABLE && !(status & BMSR_ANEGCOMPLETE)) 222 if (phy->autoneg == AUTONEG_ENABLE) { 516 phy->autoneg = AUTONEG_DISABLE;
|
/linux-master/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_ethtool.c | 108 cmd->base.autoneg = adapter->link_autoneg; 124 cmd->base.autoneg = adapter->link_autoneg; 141 cmd->base.autoneg = AUTONEG_DISABLE; 164 cmd->base.autoneg = (adapter->ahw.board_type == 176 cmd->base.autoneg = AUTONEG_DISABLE; 191 cmd->base.autoneg = AUTONEG_DISABLE; 195 cmd->base.autoneg = AUTONEG_DISABLE; 261 cmd->base.autoneg); 269 adapter->link_autoneg = cmd->base.autoneg; 483 pause->autoneg [all...] |
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_ethtool.c | 337 if (type != port->caps.type && ecmd->base.autoneg == AUTONEG_ENABLE) 354 port->autoneg = false; 527 ecmd->base.autoneg = port->autoneg ? AUTONEG_ENABLE : AUTONEG_DISABLE; 533 (port->autoneg || 551 if (port->autoneg) { 578 port->autoneg, 626 port->autoneg = false; 670 if (ecmd->base.autoneg == AUTONEG_ENABLE) 715 if (port->autoneg) { [all...] |
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | mdio_10g.c | 252 cmd->base.autoneg == prev.base.autoneg) 260 if (!cmd->base.autoneg ||
|
/linux-master/drivers/net/ethernet/freescale/ |
H A D | ucc_geth_ethtool.c | 136 pause->autoneg = ugeth->phydev->autoneg; 154 if (ugeth->phydev->autoneg) {
|
/linux-master/drivers/net/phy/ |
H A D | dp83848.c | 121 phydev->autoneg = AUTONEG_DISABLE;
|
H A D | marvell-88x2222.c | 285 if (phydev->autoneg == AUTONEG_DISABLE || 336 phydev->autoneg = AUTONEG_DISABLE; 340 if (phydev->autoneg == AUTONEG_ENABLE) { 368 if (phydev->autoneg == AUTONEG_ENABLE &&
|
H A D | phy_device.c | 678 dev->autoneg = AUTONEG_ENABLE; 2351 * @changed: whether autoneg is requested 2373 if (AUTONEG_ENABLE != phydev->autoneg) 2399 if (phydev->autoneg != AUTONEG_ENABLE) 2493 /* Consider the case that autoneg was started and "aneg complete" 2496 if (phydev->autoneg == AUTONEG_ENABLE && !phydev->autoneg_complete) 2507 if (phydev->autoneg == AUTONEG_ENABLE) { 2599 if (phydev->autoneg == AUTONEG_ENABLE && old_link && phydev->link) 2619 if (phydev->autoneg == AUTONEG_ENABLE && phydev->autoneg_complete) { 2621 } else if (phydev->autoneg 2978 phy_set_sym_pause(struct phy_device *phydev, bool rx, bool tx, bool autoneg) argument [all...] |
H A D | meson-gxl.c | 155 if (phydev->autoneg == AUTONEG_ENABLE) {
|
/linux-master/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_ethtool.c | 140 hw->mac.autoneg = copy_ecmd.base.autoneg; 386 pause->autoneg = 414 hw->mac.fc_autoneg = pause->autoneg;
|
H A D | pch_gbe_phy.c | 309 cmd.autoneg = hw->mac.autoneg;
|
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_phylink.c | 110 config.autoneg = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED;
|
/linux-master/drivers/net/usb/ |
H A D | aqc111.c | 292 if (aqc111_data->autoneg) 298 elk->base.autoneg = aqc111_data->autoneg; 320 static void aqc111_set_phy_speed(struct usbnet *dev, u8 autoneg, u16 speed) argument 332 if (autoneg == AUTONEG_ENABLE) { 373 u8 autoneg = elk->base.autoneg; local 376 if (autoneg == AUTONEG_ENABLE) { 377 if (aqc111_data->autoneg != AUTONEG_ENABLE) { 378 aqc111_data->autoneg [all...] |
/linux-master/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_ethtool.c | 103 if (hw->autoneg == 1) { 105 /* the e1000 autoneg seems to match ethtool nicely */ 140 cmd->base.autoneg = ((hw->media_type == e1000_media_type_fiber) || 141 hw->autoneg) ? AUTONEG_ENABLE : AUTONEG_DISABLE; 174 /* MDI setting is only allowed when autoneg enabled because 183 (cmd->base.autoneg != AUTONEG_ENABLE)) { 192 if (cmd->base.autoneg == AUTONEG_ENABLE) { 193 hw->autoneg = 1; 253 pause->autoneg = 273 adapter->fc_autoneg = pause->autoneg; 1524 u8 autoneg = hw->autoneg; local [all...] |
/linux-master/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-ethtool.c | 178 pause->autoneg = adpt->automatic ? AUTONEG_ENABLE : AUTONEG_DISABLE; 188 adpt->automatic = pause->autoneg == AUTONEG_ENABLE;
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch-ethtool.c | 87 * Report only autoneg state, duplexity and speed. 90 link_ksettings->base.autoneg = AUTONEG_ENABLE; 133 if (link_ksettings->base.autoneg == AUTONEG_ENABLE)
|
/linux-master/drivers/net/netdevsim/ |
H A D | ethtool.c | 27 pause->autoneg = 0; /* We don't support ksettings, so can't pretend */ 37 if (pause->autoneg)
|
/linux-master/net/ethtool/ |
H A D | pause.c | 151 if (nla_put_u8(skb, ETHTOOL_A_PAUSE_AUTONEG, !!pauseparam->autoneg) || 193 ethnl_update_bool32(¶ms.autoneg, tb[ETHTOOL_A_PAUSE_AUTONEG], &mod);
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_82599.c | 321 * @autoneg: true when autoneg or autotry is enabled 327 bool *autoneg) 341 *autoneg = true; 358 *autoneg = false; 363 *autoneg = false; 368 *autoneg = true; 373 *autoneg = false; 385 *autoneg = true; 396 *autoneg 325 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument 779 bool autoneg = false; local [all...] |
H A D | ixgbe_82598.c | 169 * @autoneg: boolean auto-negotiation value 175 bool *autoneg) 192 *autoneg = false; 197 *autoneg = false; 202 *autoneg = true; 212 *autoneg = true; 343 * Flow control is disabled by software override or autoneg. 427 /* Only poll for autoneg to complete if specified to do so */ 586 bool autoneg = false; local 593 ixgbe_get_link_capabilities_82598(hw, &link_capabilities, &autoneg); 173 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument [all...] |
/linux-master/drivers/net/ethernet/intel/e1000e/ |
H A D | ethtool.c | 131 if (hw->mac.autoneg == 1) { 133 /* the e1000 autoneg seems to match ethtool nicely */ 178 cmd->base.autoneg = ((hw->phy.media_type == e1000_media_type_fiber) || 179 hw->mac.autoneg) ? AUTONEG_ENABLE : AUTONEG_DISABLE; 215 mac->autoneg = 0; 244 mac->autoneg = 1; 256 /* clear MDI, MDI(-X) override is only allowed when autoneg enabled */ 279 /* When SoL/IDER sessions are active, autoneg/speed/duplex 289 /* MDI setting is only allowed when autoneg enabled because 300 (cmd->base.autoneg ! 1816 u8 autoneg; local [all...] |
/linux-master/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_port.c | 1118 struct hinic_set_autoneg_cmd autoneg = {0}; local 1119 u16 out_size = sizeof(autoneg); 1125 autoneg.func_id = HINIC_HWIF_FUNC_IDX(hwdev->hwif); 1126 autoneg.enable = enable; 1129 &autoneg, sizeof(autoneg), 1130 &autoneg, &out_size); 1131 if (err || !out_size || autoneg.status) { 1132 dev_err(&hwdev->hwif->pdev->dev, "Failed to %s autoneg, err: %d, status: 0x%x, out size: 0x%x\n", 1133 enable ? "enable" : "disable", err, autoneg [all...] |
/linux-master/drivers/net/ethernet/sun/ |
H A D | sungem.c | 282 * when autoneg has completed. 1251 int autoneg; local 1274 autoneg = gp->want_autoneg; 1281 if (ep->base.autoneg == AUTONEG_ENABLE) { 1283 autoneg = 1; 1285 autoneg = 0; 1293 autoneg = 0; 1312 gp->phy_mii.autoneg = gp->want_autoneg = autoneg; 1319 gp->want_autoneg = autoneg; [all...] |
/linux-master/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ethtool.c | 216 cmd->base.autoneg = AUTONEG_ENABLE;
|