Home
last modified time | relevance | path

Searched refs:dbcr2 (Results 1 – 6 of 6) sorted by relevance

/arch/powerpc/kernel/ptrace/
Dptrace-adv.c310 child->thread.debug.dbcr2 |= in set_dac()
316 } else if (child->thread.debug.dbcr2 & DBCR2_DAC12MODE) { in set_dac()
331 child->thread.debug.dbcr2 |= in set_dac()
354 if (child->thread.debug.dbcr2 & DBCR2_DAC12MODE) { in del_dac()
356 child->thread.debug.dbcr2 &= ~DBCR2_DAC12MODE; in del_dac()
358 child->thread.debug.dbcr2 &= ~(DBCR2_DVC1M | DBCR2_DVC1BE); in del_dac()
368 if (child->thread.debug.dbcr2 & DBCR2_DAC12MODE) in del_dac()
371 child->thread.debug.dbcr2 &= ~(DBCR2_DVC2M | DBCR2_DVC2BE); in del_dac()
429 child->thread.debug.dbcr2 |= DBCR2_DAC12M; in set_dac_range()
431 child->thread.debug.dbcr2 |= DBCR2_DAC12MX; in set_dac_range()
[all …]
/arch/powerpc/kvm/
Dbooke_emulate.c247 vcpu->arch.dbg_reg.dbcr2 = spr_val; in kvmppc_booke_emulate_mtspr()
437 *spr_val = vcpu->arch.dbg_reg.dbcr2; in kvmppc_booke_emulate_mfspr()
Dbooke.c2055 dbg_reg->dbcr2 = 0; in kvm_arch_vcpu_ioctl_set_guest_debug()
2064 dbg_reg->dbcr2 = DBCR2_DAC1US | DBCR2_DAC2US; in kvm_arch_vcpu_ioctl_set_guest_debug()
/arch/powerpc/include/asm/
Dprocessor.h104 uint32_t dbcr2; member
/arch/powerpc/kernel/
Dprocess.c716 thread->debug.dbcr2 = DBCR2_DAC1US | DBCR2_DAC2US; in set_debug_reg_defaults()
746 mtspr(SPRN_DBCR2, debug->dbcr2); in prime_debug_regs()
Dtraps.c1936 current->thread.debug.dbcr2 &= ~DBCR2_DAC12MODE; in handle_debug()