Searched refs:proto_cap (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | port.c | 102 u32 proto_cap; in mlx5e_port_max_linkspeed() local 106 err = mlx5_query_port_proto_cap(mdev, &proto_cap, MLX5_PTYS_EN); in mlx5e_port_max_linkspeed() 111 if (proto_cap & MLX5E_PROT_MASK(i)) in mlx5e_port_max_linkspeed()
|
/Linux-v4.19/include/linux/mlx5/ |
D | port.h | 117 u32 *proto_cap, int proto_mask);
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 521 unsigned long proto_cap = eth_proto_cap; in ptys2ethtool_supported_link() local 524 for_each_set_bit(proto, &proto_cap, MLX5E_LINK_MODES_NUMBER) in ptys2ethtool_supported_link() 533 unsigned long proto_cap = eth_proto_cap; in ptys2ethtool_adver_link() local 536 for_each_set_bit(proto, &proto_cap, MLX5E_LINK_MODES_NUMBER) in ptys2ethtool_adver_link()
|
D | port.c | 161 u32 *proto_cap, int proto_mask) in mlx5_query_port_proto_cap() argument 171 *proto_cap = MLX5_GET(ptys_reg, out, eth_proto_capability); in mlx5_query_port_proto_cap() 173 *proto_cap = MLX5_GET(ptys_reg, out, ib_proto_capability); in mlx5_query_port_proto_cap()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 896 __be32 proto_cap) in speed_set_ptys_admin() argument 901 proto_admin = proto_cap; in speed_set_ptys_admin() 903 be32_to_cpu(proto_cap)); in speed_set_ptys_admin() 907 proto_admin = cpu_to_be32(ptys_link_modes) & proto_cap; in speed_set_ptys_admin()
|