Lines Matching refs:rd
248 const struct sys_reg_desc *rd) in trap_bvr() argument
250 u64 *dbg_reg = &vcpu->arch.vcpu_debug_state.dbg_bvr[rd->reg]; in trap_bvr()
257 trace_trap_reg(__func__, rd->reg, p->is_write, *dbg_reg); in trap_bvr()
262 static int set_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_bvr() argument
265 __u64 *r = &vcpu->arch.vcpu_debug_state.dbg_bvr[rd->reg]; in set_bvr()
272 static int get_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_bvr() argument
275 __u64 *r = &vcpu->arch.vcpu_debug_state.dbg_bvr[rd->reg]; in get_bvr()
283 const struct sys_reg_desc *rd) in reset_bvr() argument
285 vcpu->arch.vcpu_debug_state.dbg_bvr[rd->reg] = rd->val; in reset_bvr()
290 const struct sys_reg_desc *rd) in trap_bcr() argument
292 u64 *dbg_reg = &vcpu->arch.vcpu_debug_state.dbg_bcr[rd->reg]; in trap_bcr()
299 trace_trap_reg(__func__, rd->reg, p->is_write, *dbg_reg); in trap_bcr()
304 static int set_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_bcr() argument
307 __u64 *r = &vcpu->arch.vcpu_debug_state.dbg_bcr[rd->reg]; in set_bcr()
315 static int get_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_bcr() argument
318 __u64 *r = &vcpu->arch.vcpu_debug_state.dbg_bcr[rd->reg]; in get_bcr()
326 const struct sys_reg_desc *rd) in reset_bcr() argument
328 vcpu->arch.vcpu_debug_state.dbg_bcr[rd->reg] = rd->val; in reset_bcr()
333 const struct sys_reg_desc *rd) in trap_wvr() argument
335 u64 *dbg_reg = &vcpu->arch.vcpu_debug_state.dbg_wvr[rd->reg]; in trap_wvr()
342 trace_trap_reg(__func__, rd->reg, p->is_write, in trap_wvr()
343 vcpu->arch.vcpu_debug_state.dbg_wvr[rd->reg]); in trap_wvr()
348 static int set_wvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_wvr() argument
351 __u64 *r = &vcpu->arch.vcpu_debug_state.dbg_wvr[rd->reg]; in set_wvr()
358 static int get_wvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_wvr() argument
361 __u64 *r = &vcpu->arch.vcpu_debug_state.dbg_wvr[rd->reg]; in get_wvr()
369 const struct sys_reg_desc *rd) in reset_wvr() argument
371 vcpu->arch.vcpu_debug_state.dbg_wvr[rd->reg] = rd->val; in reset_wvr()
376 const struct sys_reg_desc *rd) in trap_wcr() argument
378 u64 *dbg_reg = &vcpu->arch.vcpu_debug_state.dbg_wcr[rd->reg]; in trap_wcr()
385 trace_trap_reg(__func__, rd->reg, p->is_write, *dbg_reg); in trap_wcr()
390 static int set_wcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_wcr() argument
393 __u64 *r = &vcpu->arch.vcpu_debug_state.dbg_wcr[rd->reg]; in set_wcr()
400 static int get_wcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_wcr() argument
403 __u64 *r = &vcpu->arch.vcpu_debug_state.dbg_wcr[rd->reg]; in get_wcr()
411 const struct sys_reg_desc *rd) in reset_wcr() argument
413 vcpu->arch.vcpu_debug_state.dbg_wcr[rd->reg] = rd->val; in reset_wcr()
727 const struct sys_reg_desc *rd) in trap_xvr() argument
729 u64 *dbg_reg = &vcpu->arch.vcpu_debug_state.dbg_bvr[rd->reg]; in trap_xvr()
743 trace_trap_reg(__func__, rd->reg, p->is_write, *dbg_reg); in trap_xvr()