Home
last modified time | relevance | path

Searched refs:eth_proto_cap (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c1055 u32 eth_proto_cap, u8 connector_type) in ptys2ethtool_supported_advertised_port()
1058 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_10GBASE_CR) in ptys2ethtool_supported_advertised_port()
1072 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_100GBASE_KR4) in ptys2ethtool_supported_advertised_port()
1159 static void get_supported(struct mlx5_core_dev *mdev, u32 eth_proto_cap, in get_advertising()
1165 ptys2ethtool_process_link(eth_proto_cap, ext, false, supported);
1243 u32 eth_proto_cap; in mlx5e_ethtool_get_link_ksettings()
1260 eth_proto_cap = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, in mlx5e_ethtool_get_link_ksettings()
1290 get_supported(mdev, eth_proto_cap, link_ksettings); in mlx5e_ethtool_get_link_ksettings()
1296 eth_proto_oper = eth_proto_oper ? eth_proto_oper : eth_proto_cap; in mlx5e_ethtool_get_link_ksettings()
1035 ptys2ethtool_supported_advertised_port(struct mlx5_core_dev * mdev,struct ethtool_link_ksettings * link_ksettings,u32 eth_proto_cap,u8 connector_type) ptys2ethtool_supported_advertised_port() argument
1139 get_supported(struct mlx5_core_dev * mdev,u32 eth_proto_cap,struct ethtool_link_ksettings * link_ksettings) get_supported() argument
1223 u32 eth_proto_cap; mlx5e_ethtool_get_link_ksettings() local
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c543 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys2ethtool_update_supported_port()
571 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_active_port()
604 (sizeof_field(struct mlx4_ptys_reg, eth_proto_cap) * 8)
748 be32_to_cpu(ptys_reg.eth_proto_cap)); in ethtool_get_ptys_link_ksettings()
763 eth_proto = be32_to_cpu(ptys_reg.eth_proto_cap); in ethtool_get_ptys_link_ksettings()
939 ptys_reg.eth_proto_cap); in mlx4_en_set_link_ksettings()
950 proto_admin &= ptys_reg.eth_proto_cap; in mlx4_en_set_link_ksettings()
/linux/include/linux/mlx4/
H A Ddevice.h1575 __be32 eth_proto_cap; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c1211 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_speed_by_width_set() local
1228 ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, &eth_proto_cap, in mlxsw_sp_port_speed_by_width_set()
1230 eth_proto_cap_masked = ops->ptys_proto_cap_masked_get(eth_proto_cap); in mlxsw_sp_port_speed_by_width_set()