Searched refs:proto_admin (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | port.c | 137 u32 *proto_admin, int proto_mask) in mlx5_query_port_proto_admin() argument 147 *proto_admin = MLX5_GET(ptys_reg, out, eth_proto_admin); in mlx5_query_port_proto_admin() 149 *proto_admin = MLX5_GET(ptys_reg, out, ib_proto_admin); in mlx5_query_port_proto_admin() 191 int mlx5_set_port_proto(struct mlx5_core_dev *dev, u32 proto_admin, in mlx5_set_port_proto() argument 202 MLX5_SET(ptys_reg, in, eth_proto_admin, proto_admin); in mlx5_set_port_proto() 204 MLX5_SET(ptys_reg, in, ib_proto_admin, proto_admin); in mlx5_set_port_proto()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 860 __be32 proto_admin = 0; in speed_set_ptys_admin() local 863 proto_admin = proto_cap; in speed_set_ptys_admin() 869 proto_admin = cpu_to_be32(ptys_link_modes) & proto_cap; in speed_set_ptys_admin() 872 return proto_admin; in speed_set_ptys_admin() 879 __be32 proto_admin; in mlx4_en_set_settings() local 903 proto_admin = cmd->autoneg == AUTONEG_ENABLE ? in mlx4_en_set_settings() 908 proto_admin &= ptys_reg.eth_proto_cap; in mlx4_en_set_settings() 909 if (!proto_admin) { in mlx4_en_set_settings() 914 if (proto_admin == ptys_reg.eth_proto_admin) in mlx4_en_set_settings() 918 be32_to_cpu(proto_admin)); in mlx4_en_set_settings() [all …]
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | reg.h | 1392 u32 proto_admin) in mlxsw_reg_ptys_pack() argument 1397 mlxsw_reg_ptys_eth_proto_admin_set(payload, proto_admin); in mlxsw_reg_ptys_pack()
|