Home
last modified time | relevance | path

Searched refs:eth_proto_oper (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c1133 u32 eth_proto_oper, bool force_legacy, in get_link_properties() argument
1146 info = mlx5_port_ptys2info(priv->mdev, eth_proto_oper, force_legacy); in get_link_properties()
1243 u32 eth_proto_oper; in mlx5e_ethtool_get_link_ksettings() local
1278 eth_proto_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, admin_ext, in mlx5e_ethtool_get_link_ksettings()
1279 eth_proto_oper); in mlx5e_ethtool_get_link_ksettings()
1294 get_link_properties(priv->netdev, eth_proto_oper, !admin_ext, in mlx5e_ethtool_get_link_ksettings()
1297 eth_proto_oper = eth_proto_oper ? eth_proto_oper : eth_proto_cap; in mlx5e_ethtool_get_link_ksettings()
1300 link_ksettings->base.port = get_connector_port(mdev, eth_proto_oper, connector_type); in mlx5e_ethtool_get_link_ksettings()
H A Dport.c1114 eproto->oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_port_query_eth_proto()
1146 u32 eth_proto_oper, in mlx5_port_ptys2info() argument
1149 unsigned long temp = eth_proto_oper; in mlx5_port_ptys2info()
H A Dmlx5_core.h381 u32 eth_proto_oper,
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ethtool.c960 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_get_link_ksettings() local
969 &eth_proto_oper, &connector_type); in mlxsw_sp_port_get_link_ksettings()
983 eth_proto_oper, cmd); in mlxsw_sp_port_get_link_ksettings()
H A Dspectrum.c1214 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_speed_by_width_set() local
1232 &eth_proto_admin, &eth_proto_oper); in mlxsw_sp_port_speed_by_width_set()
1245 u32 eth_proto_oper; in mlxsw_sp_port_speed_get() local
1256 &eth_proto_oper); in mlxsw_sp_port_speed_get()
1257 *speed = port_type_speed_ops->from_ptys_speed(mlxsw_sp, eth_proto_oper); in mlxsw_sp_port_speed_get()
/linux/drivers/infiniband/hw/mlx5/
H A Dmain.c380 static int translate_eth_legacy_proto_oper(u32 eth_proto_oper, in translate_eth_legacy_proto_oper() argument
383 switch (eth_proto_oper) { in translate_eth_legacy_proto_oper()
438 static int translate_eth_ext_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_ext_proto_oper() argument
441 switch (eth_proto_oper) { in translate_eth_ext_proto_oper()
526 static int translate_eth_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_proto_oper() argument
530 translate_eth_ext_proto_oper(eth_proto_oper, active_speed, in translate_eth_proto_oper()
532 translate_eth_legacy_proto_oper(eth_proto_oper, active_speed, in translate_eth_proto_oper()
582 eth_prot_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_query_port_roce()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c568 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_oper); in ptys_get_active_port()
752 be32_to_cpu(ptys_reg.eth_proto_oper)); in ethtool_get_ptys_link_ksettings()
/linux/include/linux/mlx4/
H A Ddevice.h1583 __be32 eth_proto_oper; member