Lines Matching refs:proto_admin
901 __be32 proto_admin = 0; in speed_set_ptys_admin() local
904 proto_admin = proto_cap; in speed_set_ptys_admin()
910 proto_admin = cpu_to_be32(ptys_link_modes) & proto_cap; in speed_set_ptys_admin()
913 return proto_admin; in speed_set_ptys_admin()
922 __be32 proto_admin; in mlx4_en_set_link_ksettings() local
957 proto_admin = speed_set_ptys_admin(priv, speed, in mlx4_en_set_link_ksettings()
959 if ((be32_to_cpu(proto_admin) & in mlx4_en_set_link_ksettings()
965 proto_admin = cpu_to_be32(ptys_adv); in mlx4_en_set_link_ksettings()
969 proto_admin &= ptys_reg.eth_proto_cap; in mlx4_en_set_link_ksettings()
970 if (!proto_admin) { in mlx4_en_set_link_ksettings()
975 if ((proto_admin == ptys_reg.eth_proto_admin) && in mlx4_en_set_link_ksettings()
981 be32_to_cpu(proto_admin)); in mlx4_en_set_link_ksettings()
983 ptys_reg.eth_proto_admin = proto_admin; in mlx4_en_set_link_ksettings()