| /OK3568_Linux_fs/kernel/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() 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);
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_ethtool.c | 826 u32 eth_proto_oper, bool force_legacy, in get_speed_duplex() argument 837 speed = mlx5e_port_ptys2speed(priv->mdev, eth_proto_oper, force_legacy); in get_speed_duplex() 935 u32 eth_proto_oper; in mlx5e_ethtool_get_link_ksettings() local 970 eth_proto_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, admin_ext, in mlx5e_ethtool_get_link_ksettings() 971 eth_proto_oper); in mlx5e_ethtool_get_link_ksettings() 986 get_speed_duplex(priv->netdev, eth_proto_oper, !admin_ext, in mlx5e_ethtool_get_link_ksettings() 989 eth_proto_oper = eth_proto_oper ? eth_proto_oper : eth_proto_cap; in mlx5e_ethtool_get_link_ksettings() 992 link_ksettings->base.port = get_connector_port(mdev, eth_proto_oper, connector_type); in mlx5e_ethtool_get_link_ksettings()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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() 439 static int translate_eth_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_proto_oper() argument 443 translate_eth_ext_proto_oper(eth_proto_oper, active_speed, in translate_eth_proto_oper() 445 translate_eth_legacy_proto_oper(eth_proto_oper, active_speed, in translate_eth_proto_oper() 488 eth_prot_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_query_port_roce()
|
| /OK3568_Linux_fs/kernel/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() 768 be32_to_cpu(ptys_reg.eth_proto_oper)); in ethtool_get_ptys_link_ksettings()
|
| /OK3568_Linux_fs/kernel/include/linux/mlx4/ |
| H A D | device.h | 1565 __be32 eth_proto_oper; member
|
| /OK3568_Linux_fs/kernel/include/linux/mlx5/ |
| H A D | mlx5_ifc.h | 8547 u8 eth_proto_oper[0x20]; member
|