Home
last modified time | relevance | path

Searched refs:eth_proto_oper (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dport.h51 u32 mlx5e_port_ptys2speed(struct mlx5_core_dev *mdev, u32 eth_proto_oper,
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c824 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 Den_ethtool.c892 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 Dport.c1123 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 Dswitchx2.c720 u32 eth_proto_oper; in mlxsw_sx_port_get_link_ksettings() local
731 &eth_proto_admin, &eth_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 Dspectrum_ethtool.c947 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_get_link_ksettings() local
956 &eth_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 Dspectrum.c1174 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_speed_by_width_set() local
1192 &eth_proto_admin, &eth_proto_oper); in mlxsw_sp_port_speed_by_width_set()
1205 u32 eth_proto_oper; in mlxsw_sp_port_speed_get() local
1216 &eth_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 Dreg.h4277 MLXSW_ITEM32(reg, ptys, eth_proto_oper, 0x24, 0, 32);
/kernel/linux/linux-6.6/include/linux/mlx5/
H A Dport.h231 u32 mlx5_port_ptys2speed(struct mlx5_core_dev *mdev, u32 eth_proto_oper,
H A Dmlx5_ifc.h9527 u8 eth_proto_oper[0x20]; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dmain.c329 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 Dmain.c336 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 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()
H A Dspectrum.c1360 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_speed_by_width_set() local
1378 &eth_proto_admin, &eth_proto_oper); in mlxsw_sp_port_speed_by_width_set()
1391 u32 eth_proto_oper; in mlxsw_sp_port_speed_get() local
1402 &eth_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 Dreg.h4781 MLXSW_ITEM32(reg, ptys, eth_proto_oper, 0x24, 0, 32);
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c578 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 Den_ethtool.c587 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 Ddevice.h1565 __be32 eth_proto_oper; member
/kernel/linux/linux-6.6/include/linux/mlx4/
H A Ddevice.h1584 __be32 eth_proto_oper; member
/kernel/linux/linux-5.10/include/linux/mlx5/
H A Dmlx5_ifc.h8548 u8 eth_proto_oper[0x20]; member

Completed in 131 milliseconds