Searched refs:eth_proto_cap (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_ethtool.c | 860 mlxsw_sp_port_get_link_supported(struct mlxsw_sp *mlxsw_sp, u32 eth_proto_cap, in mlxsw_sp_port_get_link_supported() argument 871 ops->from_ptys_supported_port(mlxsw_sp, eth_proto_cap, cmd); in mlxsw_sp_port_get_link_supported() 872 ops->from_ptys_link(mlxsw_sp, eth_proto_cap, in mlxsw_sp_port_get_link_supported() 947 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_get_link_ksettings() local 955 err = mlxsw_sp_port_ptys_query(mlxsw_sp_port, ð_proto_cap, ð_proto_admin, in mlxsw_sp_port_get_link_ksettings() 963 mlxsw_sp_port_get_link_supported(mlxsw_sp, eth_proto_cap, cmd); in mlxsw_sp_port_get_link_ksettings() 983 u32 eth_proto_cap, eth_proto_new; in mlxsw_sp_port_set_link_ksettings() local 994 ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, ð_proto_cap, NULL, NULL); in mlxsw_sp_port_set_link_ksettings() 1002 eth_proto_new = eth_proto_new & eth_proto_cap; in mlxsw_sp_port_set_link_ksettings() 1397 u32 eth_proto_cap; in mlxsw_sp1_ptys_max_speed() local [all …]
|
| D | spectrum.c | 1217 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper; in mlxsw_sp_port_speed_by_width_set() local 1234 ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, ð_proto_cap, in mlxsw_sp_port_speed_by_width_set() 1236 eth_proto_cap_masked = ops->ptys_proto_cap_masked_get(eth_proto_cap); in mlxsw_sp_port_speed_by_width_set()
|
| D | spectrum.h | 376 u32 (*ptys_proto_cap_masked_get)(u32 eth_proto_cap);
|
| D | reg.h | 4488 MLXSW_ITEM32(reg, ptys, eth_proto_cap, 0x0C, 0, 32);
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_ethtool.c | 668 u32 eth_proto_cap) in ptys2ethtool_supported_link() argument 670 unsigned long proto_cap = eth_proto_cap; in ptys2ethtool_supported_link() 683 u32 eth_proto_cap, bool ext) in ptys2ethtool_adver_link() argument 685 unsigned long proto_cap = eth_proto_cap; in ptys2ethtool_adver_link() 773 u32 eth_proto_cap, u8 connector_type) in ptys2ethtool_supported_advertised_port() argument 776 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_10GBASE_CR) in ptys2ethtool_supported_advertised_port() 790 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_100GBASE_KR4) in ptys2ethtool_supported_advertised_port() 877 static void get_supported(struct mlx5_core_dev *mdev, u32 eth_proto_cap, in get_supported() argument 881 ptys2ethtool_supported_link(mdev, supported, eth_proto_cap); in get_supported() 886 static void get_advertising(u32 eth_proto_cap, u8 tx_pause, u8 rx_pause, in get_advertising() argument [all …]
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/ |
| D | en_ethtool.c | 553 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 (sizeof_field(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.15/include/linux/mlx4/ |
| D | device.h | 1556 __be32 eth_proto_cap; member
|