Searched refs:eth_proto_oper (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_ethtool.c | 1078 u32 eth_proto_oper, bool force_legacy, in get_speed_duplex() argument 1089 speed = mlx5_port_ptys2speed(priv->mdev, eth_proto_oper, force_legacy); in get_speed_duplex() 1187 u32 eth_proto_oper; in mlx5e_ethtool_get_link_ksettings() local 1222 eth_proto_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, admin_ext, in mlx5e_ethtool_get_link_ksettings() 1223 eth_proto_oper); in mlx5e_ethtool_get_link_ksettings() 1238 get_speed_duplex(priv->netdev, eth_proto_oper, !admin_ext, in mlx5e_ethtool_get_link_ksettings() 1241 eth_proto_oper = eth_proto_oper ? eth_proto_oper : eth_proto_cap; in mlx5e_ethtool_get_link_ksettings() 1244 link_ksettings->base.port = get_connector_port(mdev, eth_proto_oper, connector_type); in mlx5e_ethtool_get_link_ksettings()
|
H A D | port.c | 1126 eproto->oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_port_query_eth_proto() 1156 u32 mlx5_port_ptys2speed(struct mlx5_core_dev *mdev, u32 eth_proto_oper, in mlx5_port_ptys2speed() argument 1159 unsigned long temp = eth_proto_oper; in mlx5_port_ptys2speed()
|
/linux/include/linux/mlx5/ |
H A D | port.h | 233 u32 mlx5_port_ptys2speed(struct mlx5_core_dev *mdev, u32 eth_proto_oper,
|
H A D | mlx5_ifc.h | 9944 u8 eth_proto_oper[0x20]; member
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A 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()
|
H A D | spectrum.c | 1345 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_speed_by_width_set() local 1363 ð_proto_admin, ð_proto_oper); in mlxsw_sp_port_speed_by_width_set() 1376 u32 eth_proto_oper; in mlxsw_sp_port_speed_get() local 1387 ð_proto_oper); in mlxsw_sp_port_speed_get() 1388 *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 D | main.c | 372 static int translate_eth_legacy_proto_oper(u32 eth_proto_oper, in translate_eth_legacy_proto_oper() argument 375 switch (eth_proto_oper) { in translate_eth_legacy_proto_oper() 430 static int translate_eth_ext_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_ext_proto_oper() argument 433 switch (eth_proto_oper) { in translate_eth_ext_proto_oper() 502 static int translate_eth_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_proto_oper() argument 506 translate_eth_ext_proto_oper(eth_proto_oper, active_speed, in translate_eth_proto_oper() 508 translate_eth_legacy_proto_oper(eth_proto_oper, active_speed, in translate_eth_proto_oper() 550 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 D | en_ethtool.c | 568 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 D | device.h | 1584 __be32 eth_proto_oper; member
|