/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | port.h | 51 u32 mlx5e_port_ptys2speed(struct mlx5_core_dev *mdev, u32 eth_proto_oper,
|
D | port.c | 126 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/ |
D | en_ethtool.c | 887 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/ |
D | main.c | 334 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/ |
D | spectrum_ethtool.c | 954 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_get_link_ksettings() local 963 ð_proto_oper, &connector_type); in mlxsw_sp_port_get_link_ksettings() 977 eth_proto_oper, cmd); in mlxsw_sp_port_get_link_ksettings()
|
D | spectrum.c | 1353 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_speed_by_width_set() local 1371 ð_proto_admin, ð_proto_oper); in mlxsw_sp_port_speed_by_width_set() 1384 u32 eth_proto_oper; in mlxsw_sp_port_speed_get() local 1395 ð_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()
|
D | reg.h | 4684 MLXSW_ITEM32(reg, ptys, eth_proto_oper, 0x24, 0, 32);
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 587 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/ |
D | device.h | 1564 __be32 eth_proto_oper; member
|
/linux-6.1.9/include/linux/mlx5/ |
D | mlx5_ifc.h | 9279 u8 eth_proto_oper[0x20]; member
|