Searched refs:eth_proto_cap (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 442 static u32 ptys2ethtool_supported_link(u32 eth_proto_cap) in ptys2ethtool_supported_link() argument 448 if (eth_proto_cap & MLX5E_PROT_MASK(i)) in ptys2ethtool_supported_link() 454 static u32 ptys2ethtool_adver_link(u32 eth_proto_cap) in ptys2ethtool_adver_link() argument 460 if (eth_proto_cap & MLX5E_PROT_MASK(i)) in ptys2ethtool_adver_link() 466 static u32 ptys2ethtool_supported_port(u32 eth_proto_cap) in ptys2ethtool_supported_port() argument 468 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_10GBASE_CR) in ptys2ethtool_supported_port() 477 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_100GBASE_KR4) in ptys2ethtool_supported_port() 510 static void get_supported(u32 eth_proto_cap, u32 *supported) in get_supported() argument 512 *supported |= ptys2ethtool_supported_port(eth_proto_cap); in get_supported() 513 *supported |= ptys2ethtool_supported_link(eth_proto_cap); in get_supported() [all …]
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/ |
D | switchx2.c | 734 u32 eth_proto_cap; in mlxsw_sx_port_get_settings() local 745 mlxsw_reg_ptys_unpack(ptys_pl, ð_proto_cap, in mlxsw_sx_port_get_settings() 748 cmd->supported = mlxsw_sx_from_ptys_supported_port(eth_proto_cap) | in mlxsw_sx_port_get_settings() 749 mlxsw_sx_from_ptys_supported_link(eth_proto_cap) | in mlxsw_sx_port_get_settings() 755 eth_proto_oper = eth_proto_oper ? eth_proto_oper : eth_proto_cap; in mlxsw_sx_port_get_settings() 795 u32 eth_proto_cap; in mlxsw_sx_port_set_settings() local 812 mlxsw_reg_ptys_unpack(ptys_pl, ð_proto_cap, ð_proto_admin, NULL); in mlxsw_sx_port_set_settings() 814 eth_proto_new = eth_proto_new & eth_proto_cap; in mlxsw_sx_port_set_settings()
|
D | spectrum.c | 1086 u32 eth_proto_cap; in mlxsw_sp_port_get_settings() local 1097 mlxsw_reg_ptys_unpack(ptys_pl, ð_proto_cap, in mlxsw_sp_port_get_settings() 1100 cmd->supported = mlxsw_sp_from_ptys_supported_port(eth_proto_cap) | in mlxsw_sp_port_get_settings() 1101 mlxsw_sp_from_ptys_supported_link(eth_proto_cap) | in mlxsw_sp_port_get_settings() 1107 eth_proto_oper = eth_proto_oper ? eth_proto_oper : eth_proto_cap; in mlxsw_sp_port_get_settings() 1147 u32 eth_proto_cap; in mlxsw_sp_port_set_settings() local 1164 mlxsw_reg_ptys_unpack(ptys_pl, ð_proto_cap, ð_proto_admin, NULL); in mlxsw_sp_port_set_settings() 1166 eth_proto_new = eth_proto_new & eth_proto_cap; in mlxsw_sp_port_set_settings()
|
D | reg.h | 1377 MLXSW_ITEM32(reg, ptys, eth_proto_cap, 0x0C, 0, 32);
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 523 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_supported_port() 556 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_active_port() 589 (FIELD_SIZEOF(struct mlx4_ptys_reg, eth_proto_cap) * 8) 749 be32_to_cpu(ptys_reg.eth_proto_cap)); in ethtool_get_ptys_settings() 762 eth_proto = be32_to_cpu(ptys_reg.eth_proto_cap); in ethtool_get_ptys_settings() 906 ptys_reg.eth_proto_cap); in mlx4_en_set_settings() 908 proto_admin &= ptys_reg.eth_proto_cap; in mlx4_en_set_settings()
|
/linux-4.4.14/include/linux/mlx4/ |
D | device.h | 1508 __be32 eth_proto_cap; member
|