/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | port.h | 51 u32 mlx5e_port_ptys2speed(struct mlx5_core_dev *mdev, u32 eth_proto_oper,
|
H A 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_ethtool.c | 824 u32 eth_proto_oper, bool force_legacy, in get_speed_duplex() 835 speed = mlx5e_port_ptys2speed(priv->mdev, eth_proto_oper, force_legacy); in get_speed_duplex() 933 u32 eth_proto_oper; in mlx5e_ethtool_get_link_ksettings() local 968 eth_proto_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, admin_ext, in mlx5e_ethtool_get_link_ksettings() 969 eth_proto_oper); in mlx5e_ethtool_get_link_ksettings() 984 get_speed_duplex(priv->netdev, eth_proto_oper, !admin_ext, in mlx5e_ethtool_get_link_ksettings() 987 eth_proto_oper = eth_proto_oper ? eth_proto_oper : eth_proto_cap; in mlx5e_ethtool_get_link_ksettings() 990 link_ksettings->base.port = get_connector_port(mdev, eth_proto_oper, connector_typ in mlx5e_ethtool_get_link_ksettings() 823 get_speed_duplex(struct net_device *netdev, u32 eth_proto_oper, bool force_legacy, u16 data_rate_oper, struct ethtool_link_ksettings *link_ksettings) get_speed_duplex() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_ethtool.c | 892 u32 eth_proto_oper, bool force_legacy, in get_speed_duplex() 903 speed = mlx5_port_ptys2speed(priv->mdev, eth_proto_oper, force_legacy); in get_speed_duplex() 1001 u32 eth_proto_oper; in mlx5e_ethtool_get_link_ksettings() local 1036 eth_proto_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, admin_ext, in mlx5e_ethtool_get_link_ksettings() 1037 eth_proto_oper); in mlx5e_ethtool_get_link_ksettings() 1052 get_speed_duplex(priv->netdev, eth_proto_oper, !admin_ext, in mlx5e_ethtool_get_link_ksettings() 1055 eth_proto_oper = eth_proto_oper ? eth_proto_oper : eth_proto_cap; in mlx5e_ethtool_get_link_ksettings() 1058 link_ksettings->base.port = get_connector_port(mdev, eth_proto_oper, connector_typ in mlx5e_ethtool_get_link_ksettings() 891 get_speed_duplex(struct net_device *netdev, u32 eth_proto_oper, bool force_legacy, u16 data_rate_oper, struct ethtool_link_ksettings *link_ksettings) get_speed_duplex() argument [all...] |
H A D | port.c | 1123 eproto->oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_port_query_eth_proto() 1153 u32 mlx5_port_ptys2speed(struct mlx5_core_dev *mdev, u32 eth_proto_oper, in mlx5_port_ptys2speed() argument 1156 unsigned long temp = eth_proto_oper; in mlx5_port_ptys2speed()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | switchx2.c | 720 u32 eth_proto_oper; in mlxsw_sx_port_get_link_ksettings() local 731 ð_proto_admin, ð_proto_oper); in mlxsw_sx_port_get_link_ksettings() 738 eth_proto_oper, cmd); in mlxsw_sx_port_get_link_ksettings() local 740 eth_proto_oper = eth_proto_oper ? eth_proto_oper : eth_proto_cap; in mlxsw_sx_port_get_link_ksettings() 741 cmd->base.port = mlxsw_sx_port_connector_port(eth_proto_oper); in mlxsw_sx_port_get_link_ksettings() 742 lp_advertising = mlxsw_sx_from_ptys_advert_link(eth_proto_oper); in mlxsw_sx_port_get_link_ksettings()
|
H A D | spectrum_ethtool.c | 947 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_get_link_ksettings() local 956 ð_proto_oper, &connector_type); in mlxsw_sp_port_get_link_ksettings() 972 eth_proto_oper, cmd); in mlxsw_sp_port_get_link_ksettings()
|
H A D | spectrum.c | 1174 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_speed_by_width_set() local 1192 ð_proto_admin, ð_proto_oper); in mlxsw_sp_port_speed_by_width_set() 1205 u32 eth_proto_oper; in mlxsw_sp_port_speed_get() local 1216 ð_proto_oper); in mlxsw_sp_port_speed_get() 1217 *speed = port_type_speed_ops->from_ptys_speed(mlxsw_sp, eth_proto_oper); in mlxsw_sp_port_speed_get()
|
H A D | reg.h | 4277 MLXSW_ITEM32(reg, ptys, eth_proto_oper, 0x24, 0, 32);
|
/kernel/linux/linux-6.6/include/linux/mlx5/ |
H A D | port.h | 231 u32 mlx5_port_ptys2speed(struct mlx5_core_dev *mdev, u32 eth_proto_oper,
|
H A D | mlx5_ifc.h | 9527 u8 eth_proto_oper[0x20]; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
H A D | main.c | 329 static int translate_eth_legacy_proto_oper(u32 eth_proto_oper, in translate_eth_legacy_proto_oper() argument 332 switch (eth_proto_oper) { in translate_eth_legacy_proto_oper() 387 static int translate_eth_ext_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_ext_proto_oper() argument 390 switch (eth_proto_oper) { in translate_eth_ext_proto_oper() 455 static int translate_eth_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_proto_oper() argument 459 translate_eth_ext_proto_oper(eth_proto_oper, active_speed, in translate_eth_proto_oper() 461 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()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
H A D | main.c | 336 static int translate_eth_legacy_proto_oper(u32 eth_proto_oper, in translate_eth_legacy_proto_oper() argument 339 switch (eth_proto_oper) { in translate_eth_legacy_proto_oper() 394 static int translate_eth_ext_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_ext_proto_oper() argument 397 switch (eth_proto_oper) { in translate_eth_ext_proto_oper() 462 static int translate_eth_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_proto_oper() argument 466 translate_eth_ext_proto_oper(eth_proto_oper, active_speed, in translate_eth_proto_oper() 468 translate_eth_legacy_proto_oper(eth_proto_oper, active_speed, in translate_eth_proto_oper() 510 eth_prot_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_query_port_roce()
|
/kernel/linux/linux-6.6/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 | 1360 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_speed_by_width_set() local 1378 ð_proto_admin, ð_proto_oper); in mlxsw_sp_port_speed_by_width_set() 1391 u32 eth_proto_oper; in mlxsw_sp_port_speed_get() local 1402 ð_proto_oper); in mlxsw_sp_port_speed_get() 1403 *speed = port_type_speed_ops->from_ptys_speed(mlxsw_sp, eth_proto_oper); in mlxsw_sp_port_speed_get()
|
H A D | reg.h | 4781 MLXSW_ITEM32(reg, ptys, eth_proto_oper, 0x24, 0, 32);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_ethtool.c | 578 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_oper); in ptys_get_active_port() 767 en_dbg(DRV, priv, "ptys_reg.eth_proto_oper %x\n", in ethtool_get_ptys_link_ksettings() 768 be32_to_cpu(ptys_reg.eth_proto_oper)); in ethtool_get_ptys_link_ksettings()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_ethtool.c | 587 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_oper); in ptys_get_active_port() 770 en_dbg(DRV, priv, "ptys_reg.eth_proto_oper %x\n", in ethtool_get_ptys_link_ksettings() 771 be32_to_cpu(ptys_reg.eth_proto_oper)); in ethtool_get_ptys_link_ksettings()
|
/kernel/linux/linux-5.10/include/linux/mlx4/ |
H A D | device.h | 1565 __be32 eth_proto_oper; member
|
/kernel/linux/linux-6.6/include/linux/mlx4/ |
H A D | device.h | 1584 __be32 eth_proto_oper; member
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 8548 u8 eth_proto_oper[0x20]; member
|