Lines Matching refs:rvp
123 struct rvt_ibport *rvp; in rvt_query_port() local
126 rvp = rdi->ports[port_index]; in rvt_query_port()
128 props->sm_lid = rvp->sm_lid; in rvt_query_port()
129 props->sm_sl = rvp->sm_sl; in rvt_query_port()
130 props->port_cap_flags = rvp->port_cap_flags; in rvt_query_port()
133 props->bad_pkey_cntr = rvp->pkey_violations; in rvt_query_port()
134 props->qkey_viol_cntr = rvp->qkey_violations; in rvt_query_port()
135 props->subnet_timeout = rvp->subnet_timeout; in rvt_query_port()
155 struct rvt_ibport *rvp; in rvt_modify_port() local
159 rvp = rdi->ports[port_index]; in rvt_modify_port()
161 rvp->port_cap3_flags |= props->set_port_cap_mask; in rvt_modify_port()
162 rvp->port_cap3_flags &= ~props->clr_port_cap_mask; in rvt_modify_port()
164 rvp->port_cap_flags |= props->set_port_cap_mask; in rvt_modify_port()
165 rvp->port_cap_flags &= ~props->clr_port_cap_mask; in rvt_modify_port()
173 rvp->qkey_violations = 0; in rvt_modify_port()
221 struct rvt_ibport *rvp; in rvt_query_gid() local
232 rvp = rdi->ports[port_index]; in rvt_query_gid()
234 gid->global.subnet_prefix = rvp->gid_prefix; in rvt_query_gid()
236 return rdi->driver_f.get_guid_be(rdi, rvp, guid_index, in rvt_query_gid()