Lines Matching refs:eth_proto_cap
867 mlxsw_sp_port_get_link_supported(struct mlxsw_sp *mlxsw_sp, u32 eth_proto_cap, in mlxsw_sp_port_get_link_supported() argument
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
962 err = mlxsw_sp_port_ptys_query(mlxsw_sp_port, ð_proto_cap, ð_proto_admin, in mlxsw_sp_port_get_link_ksettings()
970 mlxsw_sp_port_get_link_supported(mlxsw_sp, eth_proto_cap, cmd); in mlxsw_sp_port_get_link_ksettings()
990 u32 eth_proto_cap, eth_proto_new; in mlxsw_sp_port_set_link_ksettings() local
1001 ops->reg_ptys_eth_unpack(mlxsw_sp, ptys_pl, ð_proto_cap, NULL, NULL); in mlxsw_sp_port_set_link_ksettings()
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
1473 err = mlxsw_sp_port_ptys_query(mlxsw_sp_port, ð_proto_cap, NULL, NULL, NULL); in mlxsw_sp1_ptys_max_speed()
1478 if ((eth_proto_cap & mlxsw_sp1_port_link_mode[i].mask) && in mlxsw_sp1_ptys_max_speed()
1534 static u32 mlxsw_sp1_ptys_proto_cap_masked_get(u32 eth_proto_cap) in mlxsw_sp1_ptys_proto_cap_masked_get() argument
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
1999 err = mlxsw_sp_port_ptys_query(mlxsw_sp_port, ð_proto_cap, NULL, NULL, NULL); in mlxsw_sp2_ptys_max_speed()
2004 if ((eth_proto_cap & mlxsw_sp2_port_link_mode[i].mask) && in mlxsw_sp2_ptys_max_speed()
2094 static u32 mlxsw_sp2_ptys_proto_cap_masked_get(u32 eth_proto_cap) in mlxsw_sp2_ptys_proto_cap_masked_get() argument
2100 if (mlxsw_sp2_port_link_mode[i].mask & eth_proto_cap) in mlxsw_sp2_ptys_proto_cap_masked_get()