Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport.h51 u32 mlx5e_port_ptys2speed(struct mlx5_core_dev *mdev, u32 eth_proto_oper,
Dport.c126 eproto->oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_port_query_eth_proto()
175 u32 mlx5e_port_ptys2speed(struct mlx5_core_dev *mdev, u32 eth_proto_oper, in mlx5e_port_ptys2speed() argument
178 unsigned long temp = eth_proto_oper; in mlx5e_port_ptys2speed()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c887 u32 eth_proto_oper, bool force_legacy, in get_speed_duplex() argument
898 speed = mlx5e_port_ptys2speed(priv->mdev, eth_proto_oper, force_legacy); in get_speed_duplex()
996 u32 eth_proto_oper; in mlx5e_ethtool_get_link_ksettings() local
1031 eth_proto_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, admin_ext, in mlx5e_ethtool_get_link_ksettings()
1032 eth_proto_oper); in mlx5e_ethtool_get_link_ksettings()
1047 get_speed_duplex(priv->netdev, eth_proto_oper, !admin_ext, in mlx5e_ethtool_get_link_ksettings()
1050 eth_proto_oper = eth_proto_oper ? eth_proto_oper : eth_proto_cap; in mlx5e_ethtool_get_link_ksettings()
1053 link_ksettings->base.port = get_connector_port(mdev, eth_proto_oper, connector_type); in mlx5e_ethtool_get_link_ksettings()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmain.c334 static int translate_eth_legacy_proto_oper(u32 eth_proto_oper, in translate_eth_legacy_proto_oper() argument
337 switch (eth_proto_oper) { in translate_eth_legacy_proto_oper()
392 static int translate_eth_ext_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_ext_proto_oper() argument
395 switch (eth_proto_oper) { in translate_eth_ext_proto_oper()
456 static int translate_eth_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_proto_oper() argument
460 translate_eth_ext_proto_oper(eth_proto_oper, active_speed, in translate_eth_proto_oper()
462 translate_eth_legacy_proto_oper(eth_proto_oper, active_speed, in translate_eth_proto_oper()
504 eth_prot_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_query_port_roce()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ethtool.c954 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_get_link_ksettings() local
963 &eth_proto_oper, &connector_type); in mlxsw_sp_port_get_link_ksettings()
977 eth_proto_oper, cmd); in mlxsw_sp_port_get_link_ksettings()
Dspectrum.c1353 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_speed_by_width_set() local
1371 &eth_proto_admin, &eth_proto_oper); in mlxsw_sp_port_speed_by_width_set()
1384 u32 eth_proto_oper; in mlxsw_sp_port_speed_get() local
1395 &eth_proto_oper); in mlxsw_sp_port_speed_get()
1396 *speed = port_type_speed_ops->from_ptys_speed(mlxsw_sp, eth_proto_oper); in mlxsw_sp_port_speed_get()
Dreg.h4684 MLXSW_ITEM32(reg, ptys, eth_proto_oper, 0x24, 0, 32);
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c587 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_oper); in ptys_get_active_port()
771 be32_to_cpu(ptys_reg.eth_proto_oper)); in ethtool_get_ptys_link_ksettings()
/linux-6.1.9/include/linux/mlx4/
Ddevice.h1564 __be32 eth_proto_oper; member
/linux-6.1.9/include/linux/mlx5/
Dmlx5_ifc.h9279 u8 eth_proto_oper[0x20]; member