Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dport.h41 int mlx5_port_set_eth_ptys(struct mlx5_core_dev *dev, bool an_disable,
H A Dport.c52 int mlx5_port_set_eth_ptys(struct mlx5_core_dev *dev, bool an_disable, in mlx5_port_set_eth_ptys() argument
63 if (!an_disable_cap && an_disable) in mlx5_port_set_eth_ptys()
69 MLX5_SET(ptys_reg, in, an_disable_admin, an_disable); in mlx5_port_set_eth_ptys()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c1361 bool an_disable; in mlx5e_ethtool_set_link_ksettings() local
1406 an_disable = autoneg == AUTONEG_DISABLE; in mlx5e_ethtool_set_link_ksettings()
1407 an_changes = ((!an_disable && an_disable_admin) || in mlx5e_ethtool_set_link_ksettings()
1408 (an_disable && !an_disable_admin)); in mlx5e_ethtool_set_link_ksettings()
1413 err = mlx5_port_set_eth_ptys(mdev, an_disable, link_modes, ext); in mlx5e_ethtool_set_link_ksettings()