Searched refs:proto_admin (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_ethtool.c | 882 __be32 proto_admin = 0; in speed_set_ptys_admin() local 885 proto_admin = proto_cap; in speed_set_ptys_admin() 891 proto_admin = cpu_to_be32(ptys_link_modes) & proto_cap; in speed_set_ptys_admin() 894 return proto_admin; in speed_set_ptys_admin() 903 __be32 proto_admin; in mlx4_en_set_link_ksettings() local 938 proto_admin = speed_set_ptys_admin(priv, speed, in mlx4_en_set_link_ksettings() 940 if ((be32_to_cpu(proto_admin) & in mlx4_en_set_link_ksettings() 946 proto_admin = cpu_to_be32(ptys_adv); in mlx4_en_set_link_ksettings() 950 proto_admin &= ptys_reg.eth_proto_cap; in mlx4_en_set_link_ksettings() 951 if (!proto_admin) { in mlx4_en_set_link_ksettings() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | port.h | 42 u32 proto_admin, bool ext);
|
H A D | port.c | 53 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()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ethtool.c | 1520 u16 local_port, u32 proto_admin, bool autoneg) in mlxsw_sp1_reg_ptys_eth_pack() argument 1522 mlxsw_reg_ptys_eth_pack(payload, local_port, proto_admin, autoneg); in mlxsw_sp1_reg_ptys_eth_pack() 2079 u16 local_port, u32 proto_admin, in mlxsw_sp2_reg_ptys_eth_pack() argument 2082 mlxsw_reg_ptys_ext_eth_pack(payload, local_port, proto_admin, autoneg); in mlxsw_sp2_reg_ptys_eth_pack()
|
H A D | spectrum.h | 383 u16 local_port, u32 proto_admin, bool autoneg);
|