Searched refs:eth_proto_cap (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum_ethtool.c | 878 ops->from_ptys_supported_port(mlxsw_sp, eth_proto_cap, cmd); in mlxsw_sp_port_get_link_supported() 879 ops->from_ptys_link(mlxsw_sp, eth_proto_cap, in mlxsw_sp_port_get_link_supported() 954 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_get_link_ksettings() local 990 u32 eth_proto_cap, eth_proto_new; in mlxsw_sp_port_set_link_ksettings() local 1009 eth_proto_new = eth_proto_new & eth_proto_cap; in mlxsw_sp_port_set_link_ksettings() 1468 u32 eth_proto_cap; in mlxsw_sp1_ptys_max_speed() local 1478 if ((eth_proto_cap & mlxsw_sp1_port_link_mode[i].mask) && in mlxsw_sp1_ptys_max_speed() 1540 if (mlxsw_sp1_port_link_mode[i].mask & eth_proto_cap) in mlxsw_sp1_ptys_proto_cap_masked_get() 1994 u32 eth_proto_cap; in mlxsw_sp2_ptys_max_speed() local 2004 if ((eth_proto_cap & mlxsw_sp2_port_link_mode[i].mask) && in mlxsw_sp2_ptys_max_speed() [all …]
|
| A D | spectrum.h | 388 u32 (*ptys_proto_cap_masked_get)(u32 eth_proto_cap);
|
| A D | spectrum.c | 1345 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_speed_by_width_set() local 1362 ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, ð_proto_cap, in mlxsw_sp_port_speed_by_width_set() 1364 eth_proto_cap_masked = ops->ptys_proto_cap_masked_get(eth_proto_cap); in mlxsw_sp_port_speed_by_width_set()
|
| A D | reg.h | 4832 MLXSW_ITEM32(reg, ptys, eth_proto_cap, 0x0C, 0, 32);
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | en_ethtool.c | 893 u32 eth_proto_cap) in ptys2ethtool_supported_link() argument 895 unsigned long proto_cap = eth_proto_cap; in ptys2ethtool_supported_link() 908 u32 eth_proto_cap, bool ext) in ptys2ethtool_adver_link() argument 910 unsigned long proto_cap = eth_proto_cap; in ptys2ethtool_adver_link() 998 u32 eth_proto_cap, u8 connector_type) in ptys2ethtool_supported_advertised_port() argument 1001 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_10GBASE_CR) in ptys2ethtool_supported_advertised_port() 1015 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_100GBASE_KR4) in ptys2ethtool_supported_advertised_port() 1116 ptys2ethtool_adver_link(advertising, eth_proto_cap, ext); in get_advertising() 1185 u32 eth_proto_cap; in mlx5e_ethtool_get_link_ksettings() local 1202 eth_proto_cap = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, in mlx5e_ethtool_get_link_ksettings() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| A D | en_ethtool.c | 543 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/ |
| A D | device.h | 1576 __be32 eth_proto_cap; member
|
Completed in 65 milliseconds