Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dport.h42 u32 proto_admin, bool ext);
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c901 __be32 proto_admin = 0; in speed_set_ptys_admin() local
904 proto_admin = 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()
981 be32_to_cpu(proto_admin)); in mlx4_en_set_link_ksettings()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A 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()
H A Dspectrum.h387 u16 local_port, u32 proto_admin, bool autoneg);
H A 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()