Home
last modified time | relevance | path

Searched refs:dar (Results 1 – 25 of 44) sorted by relevance

12

/arch/powerpc/kernel/
Dhw_breakpoint_constraints.c9 static bool dar_in_user_range(unsigned long dar, struct arch_hw_breakpoint *info) in dar_in_user_range() argument
11 return ((info->address <= dar) && (dar - info->address < info->len)); in dar_in_user_range()
21 static bool dar_in_hw_range(unsigned long dar, struct arch_hw_breakpoint *info) in dar_in_hw_range() argument
28 return ((hw_start_addr <= dar) && (hw_end_addr > dar)); in dar_in_hw_range()
87 bool in_user_range = dar_in_user_range(regs->dar, info); in wp_check_constraints()
102 !dar_in_hw_range(regs->dar, info)) in wp_check_constraints()
112 !dar_in_hw_range(regs->dar, info)) in wp_check_constraints()
Dppc32.h26 unsigned int dar; /* Fault registers */ member
/arch/powerpc/platforms/8xx/
Dmachine_check.c20 pr_cont("Data access error at address %lx\n", regs->dar); in machine_check_8xx()
29 bad_page_fault(regs, regs->dar, SIGBUS); in machine_check_8xx()
/arch/sh/drivers/dma/
Ddma-g2.c102 if (chan->dar & 31) { in g2_xfer_dma()
103 printk("g2dma: unaligned dest 0x%lx\n", chan->dar); in g2_xfer_dma()
112 chan->dar += 0xa0800000; in g2_xfer_dma()
121 g2_dma->channel[chan_nr].g2_addr = chan->dar & 0x1fffffe0; in g2_xfer_dma()
Ddma-pvr2.c55 if (chan->sar || !chan->dar) in pvr2_xfer_dma()
60 __raw_writel(chan->dar, PVR2_DMA_ADDR); in pvr2_xfer_dma()
Ddma-sh.c232 if (chan->dar || (mach_is_dreamcast() && in sh_dmac_xfer_dma()
234 __raw_writel(chan->dar, (dma_base_addr(chan->chan) + DAR)); in sh_dmac_xfer_dma()
/arch/powerpc/include/asm/
Dpnv-ocxl.h21 void pnv_ocxl_unmap_xsl_regs(void __iomem *dsisr, void __iomem *dar,
24 void __iomem **dar, void __iomem **tfc,
Demulated_ops.h80 1, regs, regs->dar); \
Dptrace.h46 unsigned long dar; member
/arch/powerpc/kvm/
Dtrace_booke.h46 __field( unsigned long, dar )
53 __entry->dar = kvmppc_get_fault_dar(vcpu);
67 __entry->dar,
Dtrace_pr.h225 __field( unsigned long, dar )
233 __entry->dar = kvmppc_get_fault_dar(vcpu);
249 __entry->dar,
Dbook3s_emulate.c1045 ulong dar = 0; in kvmppc_alignment_dar()
1055 dar = kvmppc_get_gpr(vcpu, ra); in kvmppc_alignment_dar()
1056 dar += (s32)((s16)inst); in kvmppc_alignment_dar()
1060 dar = kvmppc_get_gpr(vcpu, ra); in kvmppc_alignment_dar()
1061 dar += kvmppc_get_gpr(vcpu, rb); in kvmppc_alignment_dar()
1068 return dar; in kvmppc_alignment_dar()
Dbooke_emulate.c127 vcpu->arch.shared->dar = spr_val; in kvmppc_booke_emulate_mtspr()
388 *spr_val = vcpu->arch.shared->dar; in kvmppc_booke_emulate_mfspr()
De500mc.c139 mtspr(SPRN_GDEAR, vcpu->arch.shared->dar); in kvmppc_core_vcpu_load_e500mc()
163 vcpu->arch.shared->dar = mfspr(SPRN_GDEAR); in kvmppc_core_vcpu_put_e500mc()
Dbook3s_pr.c1221 ulong dar = kvmppc_get_fault_dar(vcpu); in kvmppc_handle_exit_pr() local
1233 sr = svcpu->sr[dar >> SID_SHIFT]; in kvmppc_handle_exit_pr()
1236 kvmppc_mmu_map_segment(vcpu, dar); in kvmppc_handle_exit_pr()
1250 r = kvmppc_handle_pagefault(vcpu, dar, exit_nr); in kvmppc_handle_exit_pr()
1253 kvmppc_core_queue_data_storage(vcpu, dar, fault_dsisr); in kvmppc_handle_exit_pr()
1404 u64 dar; in kvmppc_handle_exit_pr() local
1407 dar = kvmppc_alignment_dar(vcpu, last_inst); in kvmppc_handle_exit_pr()
1410 kvmppc_set_dar(vcpu, dar); in kvmppc_handle_exit_pr()
/arch/powerpc/mm/
Dfault.c576 regs->dar < PAGE_SIZE ? "Kernel NULL pointer dereference" : in bad_page_fault()
578 is_write ? "write" : "read", regs->dar); in bad_page_fault()
587 regs->dar); in bad_page_fault()
591 regs->dar); in bad_page_fault()
/arch/powerpc/perf/
Dperf_regs.c68 PT_REGS_OFFSET(PERF_REG_POWERPC_DAR, dar),
70 PT_REGS_OFFSET(PERF_REG_POWERPC_SIER, dar),
/arch/powerpc/include/uapi/asm/
Dkvm_para.h47 __u64 dar; /* dear on BookE */ member
Dptrace.h55 unsigned long dar; /* Fault registers */ member
/arch/powerpc/platforms/powernv/
Docxl.c385 void pnv_ocxl_unmap_xsl_regs(void __iomem *dsisr, void __iomem *dar, in pnv_ocxl_unmap_xsl_regs() argument
389 iounmap(dar); in pnv_ocxl_unmap_xsl_regs()
396 void __iomem **dar, void __iomem **tfc, in pnv_ocxl_map_xsl_regs() argument
425 *dar = regs[1]; in pnv_ocxl_map_xsl_regs()
Dopal-fadump.h107 regs->dar = reg_val; in opal_fadump_set_regval_regnum()
/arch/powerpc/kernel/ptrace/
Dptrace.c420 BUILD_BUG_ON(offsetof(struct pt_regs, dar) != in pt_regs_check()
421 offsetof(struct user_pt_regs, dar)); in pt_regs_check()
479 CHECK_REG(PT_DAR, dar); in pt_regs_check()
/arch/powerpc/platforms/cell/
Dspu_base.c307 unsigned long stat, mask, dar, dsisr; in spu_irq_class_1() local
315 dar = spu_mfc_dar_get(spu); in spu_irq_class_1()
322 dar, dsisr); in spu_irq_class_1()
325 __spu_trap_data_seg(spu, dar); in spu_irq_class_1()
328 __spu_trap_data_map(spu, dar, dsisr); in spu_irq_class_1()
/arch/sh/include/asm/
Ddma.h72 unsigned long dar; member
/arch/mips/include/asm/txx9/
Dtx3927.h40 volatile unsigned long dar; member

12