Searched refs:proto_admin (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/include/linux/mlx5/ |
D | port.h | 119 u32 *proto_admin, int proto_mask); 127 u32 proto_admin, int proto_mask);
|
/Linux-v4.19/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-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | port.c | 180 u32 *proto_admin, int proto_mask) in mlx5_query_port_proto_admin() argument 190 *proto_admin = MLX5_GET(ptys_reg, out, eth_proto_admin); in mlx5_query_port_proto_admin() 192 *proto_admin = MLX5_GET(ptys_reg, out, ib_proto_admin); in mlx5_query_port_proto_admin() 249 u32 proto_admin, int proto_mask) in mlx5_set_port_ptys() argument 268 MLX5_SET(ptys_reg, in, eth_proto_admin, proto_admin); in mlx5_set_port_ptys() 270 MLX5_SET(ptys_reg, in, ib_proto_admin, proto_admin); in mlx5_set_port_ptys()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | reg.h | 3803 u32 proto_admin, bool autoneg) in mlxsw_reg_ptys_eth_pack() argument 3808 mlxsw_reg_ptys_eth_proto_admin_set(payload, proto_admin); in mlxsw_reg_ptys_eth_pack() 3826 u16 proto_admin, u16 link_width) in mlxsw_reg_ptys_ib_pack() argument 3831 mlxsw_reg_ptys_ib_proto_admin_set(payload, proto_admin); in mlxsw_reg_ptys_ib_pack()
|