Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c613 u32 eth_proto_cap) in ptys2ethtool_supported_link() argument
615 unsigned long proto_cap = eth_proto_cap; in ptys2ethtool_supported_link()
628 u32 eth_proto_cap, bool ext) in ptys2ethtool_adver_link() argument
630 unsigned long proto_cap = eth_proto_cap; in ptys2ethtool_adver_link()
710 u32 eth_proto_cap, in ptys2ethtool_supported_advertised_port() argument
714 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_10GBASE_CR) in ptys2ethtool_supported_advertised_port()
728 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_100GBASE_KR4) in ptys2ethtool_supported_advertised_port()
811 static void get_supported(struct mlx5_core_dev *mdev, u32 eth_proto_cap, in get_supported() argument
815 ptys2ethtool_supported_link(mdev, supported, eth_proto_cap); in get_supported()
820 static void get_advertising(u32 eth_proto_cap, u8 tx_pause, u8 rx_pause, in get_advertising() argument
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dswitchx2.c745 u32 eth_proto_cap; in mlxsw_sx_port_get_link_ksettings() local
757 mlxsw_reg_ptys_eth_unpack(ptys_pl, &eth_proto_cap, in mlxsw_sx_port_get_link_ksettings()
760 supported = mlxsw_sx_from_ptys_supported_port(eth_proto_cap) | in mlxsw_sx_port_get_link_ksettings()
761 mlxsw_sx_from_ptys_supported_link(eth_proto_cap) | in mlxsw_sx_port_get_link_ksettings()
767 eth_proto_oper = eth_proto_oper ? eth_proto_oper : eth_proto_cap; in mlxsw_sx_port_get_link_ksettings()
826 u32 eth_proto_cap; in mlxsw_sx_port_set_link_ksettings() local
847 mlxsw_reg_ptys_eth_unpack(ptys_pl, &eth_proto_cap, &eth_proto_admin, in mlxsw_sx_port_set_link_ksettings()
850 eth_proto_new = eth_proto_new & eth_proto_cap; in mlxsw_sx_port_set_link_ksettings()
Dspectrum.c3174 u32 eth_proto_cap; in mlxsw_sp2_port_speed_base() local
3184 mlxsw_reg_ptys_ext_eth_unpack(ptys_pl, &eth_proto_cap, NULL, NULL); in mlxsw_sp2_port_speed_base()
3186 if (eth_proto_cap & in mlxsw_sp2_port_speed_base()
3192 if (eth_proto_cap & in mlxsw_sp2_port_speed_base()
3233 mlxsw_sp_port_get_link_supported(struct mlxsw_sp *mlxsw_sp, u32 eth_proto_cap, in mlxsw_sp_port_get_link_supported() argument
3244 ops->from_ptys_supported_port(mlxsw_sp, eth_proto_cap, cmd); in mlxsw_sp_port_get_link_supported()
3245 ops->from_ptys_link(mlxsw_sp, eth_proto_cap, width, in mlxsw_sp_port_get_link_supported()
3297 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_get_link_ksettings() local
3314 ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, &eth_proto_cap, in mlxsw_sp_port_get_link_ksettings()
3317 mlxsw_sp_port_get_link_supported(mlxsw_sp, eth_proto_cap, in mlxsw_sp_port_get_link_ksettings()
[all …]
Dreg.h4153 MLXSW_ITEM32(reg, ptys, eth_proto_cap, 0x0C, 0, 32);
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c553 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys2ethtool_update_supported_port()
581 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_active_port()
614 (FIELD_SIZEOF(struct mlx4_ptys_reg, eth_proto_cap) * 8)
764 be32_to_cpu(ptys_reg.eth_proto_cap)); in ethtool_get_ptys_link_ksettings()
779 eth_proto = be32_to_cpu(ptys_reg.eth_proto_cap); in ethtool_get_ptys_link_ksettings()
955 ptys_reg.eth_proto_cap); in mlx4_en_set_link_ksettings()
966 proto_admin &= ptys_reg.eth_proto_cap; in mlx4_en_set_link_ksettings()
/Linux-v5.4/include/linux/mlx4/
Ddevice.h1574 __be32 eth_proto_cap; member