Lines Matching defs:ptys
911 struct mlx5_ptys_reg *ptys;
918 ptys = kzalloc(sizeof(*ptys), GFP_KERNEL);
920 if (!rep || !ptys || !pmtu) {
954 ptys->proto_mask |= MLX5_PTYS_IB;
955 ptys->local_port = port;
956 err = mlx5_core_access_ptys(mdev, ptys, 0);
960 err = translate_active_width(ibdev, ptys->ib_link_width_oper,
965 props->active_speed = (u8)ptys->ib_proto_oper;
985 kfree(ptys);