Lines Matching refs:eth_proto_cap
867 mlxsw_sp_port_get_link_supported(struct mlxsw_sp *mlxsw_sp, u32 eth_proto_cap,
878 ops->from_ptys_supported_port(mlxsw_sp, eth_proto_cap, cmd);
879 ops->from_ptys_link(mlxsw_sp, eth_proto_cap,
954 u32 eth_proto_cap, eth_proto_admin, eth_proto_oper;
962 err = mlxsw_sp_port_ptys_query(mlxsw_sp_port, ð_proto_cap, ð_proto_admin,
970 mlxsw_sp_port_get_link_supported(mlxsw_sp, eth_proto_cap, cmd);
990 u32 eth_proto_cap, eth_proto_new;
1001 ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, ð_proto_cap, NULL, NULL);
1009 eth_proto_new = eth_proto_new & eth_proto_cap;
1453 u32 eth_proto_cap;
1458 err = mlxsw_sp_port_ptys_query(mlxsw_sp_port, ð_proto_cap, NULL, NULL, NULL);
1463 if ((eth_proto_cap & mlxsw_sp1_port_link_mode[i].mask) &&
1519 static u32 mlxsw_sp1_ptys_proto_cap_masked_get(u32 eth_proto_cap)
1525 if (mlxsw_sp1_port_link_mode[i].mask & eth_proto_cap)
1979 u32 eth_proto_cap;
1984 err = mlxsw_sp_port_ptys_query(mlxsw_sp_port, ð_proto_cap, NULL, NULL, NULL);
1989 if ((eth_proto_cap & mlxsw_sp2_port_link_mode[i].mask) &&
2079 static u32 mlxsw_sp2_ptys_proto_cap_masked_get(u32 eth_proto_cap)
2085 if (mlxsw_sp2_port_link_mode[i].mask & eth_proto_cap)