Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c1083 u32 eth_proto_oper, bool force_legacy, in get_link_properties() argument
1096 info = mlx5_port_ptys2info(priv->mdev, eth_proto_oper, force_legacy); in get_link_properties()
1195 u32 eth_proto_oper; in mlx5e_ethtool_get_link_ksettings() local
1230 eth_proto_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, admin_ext, in mlx5e_ethtool_get_link_ksettings()
1231 eth_proto_oper); in mlx5e_ethtool_get_link_ksettings()
1246 get_link_properties(priv->netdev, eth_proto_oper, !admin_ext, in mlx5e_ethtool_get_link_ksettings()
1249 eth_proto_oper = eth_proto_oper ? eth_proto_oper : eth_proto_cap; in mlx5e_ethtool_get_link_ksettings()
1252 link_ksettings->base.port = get_connector_port(mdev, eth_proto_oper, connector_type); in mlx5e_ethtool_get_link_ksettings()
H A Dport.c1110 eproto->oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_port_query_eth_proto()
1142 u32 eth_proto_oper, in mlx5_port_ptys2info() argument
1145 unsigned long temp = eth_proto_oper; in mlx5_port_ptys2info()
H A Dmlx5_core.h368 u32 eth_proto_oper,
/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ethtool.c956 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_get_link_ksettings() local
965 &eth_proto_oper, &connector_type); in mlxsw_sp_port_get_link_ksettings()
979 eth_proto_oper, cmd); in mlxsw_sp_port_get_link_ksettings()
H A Dspectrum.c1242 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_speed_by_width_set() local
1260 &eth_proto_admin, &eth_proto_oper); in mlxsw_sp_port_speed_by_width_set()
1273 u32 eth_proto_oper; in mlxsw_sp_port_speed_get() local
1284 &eth_proto_oper); in mlxsw_sp_port_speed_get()
1285 *speed = port_type_speed_ops->from_ptys_speed(mlxsw_sp, eth_proto_oper); in mlxsw_sp_port_speed_get()
H A Dreg.h4856 MLXSW_ITEM32(reg, ptys, eth_proto_oper, 0x24, 0, 32);
/linux-6.15/drivers/infiniband/hw/mlx5/
H A Dmain.c377 static int translate_eth_legacy_proto_oper(u32 eth_proto_oper, in translate_eth_legacy_proto_oper() argument
380 switch (eth_proto_oper) { in translate_eth_legacy_proto_oper()
435 static int translate_eth_ext_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_ext_proto_oper() argument
438 switch (eth_proto_oper) { in translate_eth_ext_proto_oper()
507 static int translate_eth_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_proto_oper() argument
511 translate_eth_ext_proto_oper(eth_proto_oper, active_speed, in translate_eth_proto_oper()
513 translate_eth_legacy_proto_oper(eth_proto_oper, active_speed, in translate_eth_proto_oper()
555 eth_prot_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_query_port_roce()
/linux-6.15/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-6.15/include/linux/mlx4/
H A Ddevice.h1583 __be32 eth_proto_oper; member
/linux-6.15/include/linux/mlx5/
H A Dmlx5_ifc.h10014 u8 eth_proto_oper[0x20]; member