Home
last modified time | relevance | path

Searched refs:proto_admin (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c901 __be32 proto_admin = 0; in speed_set_ptys_admin() local
904 proto_admin = proto_cap; in speed_set_ptys_admin()
910 proto_admin = cpu_to_be32(ptys_link_modes) & proto_cap; in speed_set_ptys_admin()
913 return proto_admin; in speed_set_ptys_admin()
922 __be32 proto_admin; in mlx4_en_set_link_ksettings() local
957 proto_admin = speed_set_ptys_admin(priv, speed, in mlx4_en_set_link_ksettings()
959 if ((be32_to_cpu(proto_admin) & in mlx4_en_set_link_ksettings()
965 proto_admin = cpu_to_be32(ptys_adv); in mlx4_en_set_link_ksettings()
969 proto_admin &= ptys_reg.eth_proto_cap; in mlx4_en_set_link_ksettings()
970 if (!proto_admin) { in mlx4_en_set_link_ksettings()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport.h42 u32 proto_admin, bool ext);
Dport.c53 u32 proto_admin, bool ext) in mlx5_port_set_eth_ptys() argument
72 MLX5_SET(ptys_reg, in, ext_eth_proto_admin, proto_admin); in mlx5_port_set_eth_ptys()
74 MLX5_SET(ptys_reg, in, eth_proto_admin, proto_admin); in mlx5_port_set_eth_ptys()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ethtool.c1505 u16 local_port, u32 proto_admin, bool autoneg) in mlxsw_sp1_reg_ptys_eth_pack() argument
1507 mlxsw_reg_ptys_eth_pack(payload, local_port, proto_admin, autoneg); in mlxsw_sp1_reg_ptys_eth_pack()
2004 u16 local_port, u32 proto_admin, in mlxsw_sp2_reg_ptys_eth_pack() argument
2007 mlxsw_reg_ptys_ext_eth_pack(payload, local_port, proto_admin, autoneg); in mlxsw_sp2_reg_ptys_eth_pack()
Dspectrum.h387 u16 local_port, u32 proto_admin, bool autoneg);
Dreg.h4802 u32 proto_admin, bool autoneg) in mlxsw_reg_ptys_eth_pack() argument
4807 mlxsw_reg_ptys_eth_proto_admin_set(payload, proto_admin); in mlxsw_reg_ptys_eth_pack()
4812 u32 proto_admin, bool autoneg) in mlxsw_reg_ptys_ext_eth_pack() argument
4817 mlxsw_reg_ptys_ext_eth_proto_admin_set(payload, proto_admin); in mlxsw_reg_ptys_ext_eth_pack()