Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport.h41 int mlx5_port_set_eth_ptys(struct mlx5_core_dev *dev, bool an_disable,
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()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c1174 bool an_disable; in mlx5e_ethtool_set_link_ksettings() local
1219 an_disable = autoneg == AUTONEG_DISABLE; in mlx5e_ethtool_set_link_ksettings()
1220 an_changes = ((!an_disable && an_disable_admin) || in mlx5e_ethtool_set_link_ksettings()
1221 (an_disable && !an_disable_admin)); in mlx5e_ethtool_set_link_ksettings()
1226 err = mlx5_port_set_eth_ptys(mdev, an_disable, link_modes, ext); in mlx5e_ethtool_set_link_ksettings()