Searched refs:proto_admin (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 898 __be32 proto_admin = 0; in speed_set_ptys_admin() local 901 proto_admin = proto_cap; in speed_set_ptys_admin() 907 proto_admin = cpu_to_be32(ptys_link_modes) & proto_cap; in speed_set_ptys_admin() 910 return proto_admin; in speed_set_ptys_admin() 919 __be32 proto_admin; in mlx4_en_set_link_ksettings() local 954 proto_admin = speed_set_ptys_admin(priv, speed, in mlx4_en_set_link_ksettings() 956 if ((be32_to_cpu(proto_admin) & in mlx4_en_set_link_ksettings() 962 proto_admin = cpu_to_be32(ptys_adv); in mlx4_en_set_link_ksettings() 966 proto_admin &= ptys_reg.eth_proto_cap; in mlx4_en_set_link_ksettings() 967 if (!proto_admin) { in mlx4_en_set_link_ksettings() [all …]
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | port.h | 50 u32 proto_admin, bool ext);
|
D | port.c | 148 u32 proto_admin, bool ext) in mlx5_port_set_eth_ptys() argument 167 MLX5_SET(ptys_reg, in, ext_eth_proto_admin, proto_admin); in mlx5_port_set_eth_ptys() 169 MLX5_SET(ptys_reg, in, eth_proto_admin, proto_admin); in mlx5_port_set_eth_ptys()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ethtool.c | 1449 u8 local_port, u32 proto_admin, bool autoneg) in mlxsw_sp1_reg_ptys_eth_pack() argument 1451 mlxsw_reg_ptys_eth_pack(payload, local_port, proto_admin, autoneg); in mlxsw_sp1_reg_ptys_eth_pack() 1927 u8 local_port, u32 proto_admin, in mlxsw_sp2_reg_ptys_eth_pack() argument 1930 mlxsw_reg_ptys_ext_eth_pack(payload, local_port, proto_admin, autoneg); in mlxsw_sp2_reg_ptys_eth_pack()
|
D | reg.h | 4576 u32 proto_admin, bool autoneg) in mlxsw_reg_ptys_eth_pack() argument 4581 mlxsw_reg_ptys_eth_proto_admin_set(payload, proto_admin); in mlxsw_reg_ptys_eth_pack() 4586 u32 proto_admin, bool autoneg) in mlxsw_reg_ptys_ext_eth_pack() argument 4591 mlxsw_reg_ptys_ext_eth_proto_admin_set(payload, proto_admin); in mlxsw_reg_ptys_ext_eth_pack() 4628 u16 proto_admin, u16 link_width) in mlxsw_reg_ptys_ib_pack() argument 4633 mlxsw_reg_ptys_ib_proto_admin_set(payload, proto_admin); in mlxsw_reg_ptys_ib_pack()
|
D | spectrum.h | 371 u8 local_port, u32 proto_admin, bool autoneg);
|