/linux-4.1.27/arch/arm/mm/ |
H A D | fault.h | 14 static inline int fsr_fs(unsigned int fsr) fsr_fs() argument 16 return fsr & FSR_FS5_0; fsr_fs() 19 static inline int fsr_fs(unsigned int fsr) fsr_fs() argument 21 return (fsr & FSR_FS3_0) | (fsr & FSR_FS4) >> 6; fsr_fs() 25 void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs);
|
H A D | fault.c | 34 static inline int notify_page_fault(struct pt_regs *regs, unsigned int fsr) notify_page_fault() argument 41 if (kprobe_running() && kprobe_fault_handler(regs, fsr)) notify_page_fault() 49 static inline int notify_page_fault(struct pt_regs *regs, unsigned int fsr) notify_page_fault() argument 132 __do_kernel_fault(struct mm_struct *mm, unsigned long addr, unsigned int fsr, __do_kernel_fault() argument 150 die("Oops", regs, fsr); __do_kernel_fault() 161 unsigned int fsr, unsigned int sig, int code, __do_user_fault() 170 tsk->comm, sig, addr, fsr); __do_user_fault() 177 tsk->thread.error_code = fsr; __do_user_fault() 186 void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs) do_bad_area() argument 196 __do_user_fault(tsk, addr, fsr, SIGSEGV, SEGV_MAPERR, regs); do_bad_area() 198 __do_kernel_fault(mm, addr, fsr, regs); do_bad_area() 210 static inline bool access_error(unsigned int fsr, struct vm_area_struct *vma) access_error() argument 214 if (fsr & FSR_WRITE) access_error() 216 if (fsr & FSR_LNX_PF) access_error() 223 __do_page_fault(struct mm_struct *mm, unsigned long addr, unsigned int fsr, __do_page_fault() argument 241 if (access_error(fsr, vma)) { __do_page_fault() 258 do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) do_page_fault() argument 265 if (notify_page_fault(regs, fsr)) do_page_fault() 284 if (fsr & FSR_WRITE) do_page_fault() 311 fault = __do_page_fault(mm, addr, fsr, flags, tsk); do_page_fault() 388 __do_user_fault(tsk, addr, fsr, sig, code, regs); do_page_fault() 392 __do_kernel_fault(mm, addr, fsr, regs); do_page_fault() 397 do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) do_page_fault() argument 422 do_translation_fault(unsigned long addr, unsigned int fsr, do_translation_fault() argument 431 return do_page_fault(addr, fsr, regs); do_translation_fault() 480 do_bad_area(addr, fsr, regs); do_translation_fault() 485 do_translation_fault(unsigned long addr, unsigned int fsr, do_translation_fault() argument 498 do_sect_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) do_sect_fault() argument 500 do_bad_area(addr, fsr, regs); do_sect_fault() 509 do_bad(unsigned long addr, unsigned int fsr, struct pt_regs *regs) do_bad() argument 515 int (*fn)(unsigned long addr, unsigned int fsr, struct pt_regs *regs); 523 #include "fsr-3level.c" 525 #include "fsr-2level.c" 545 do_DataAbort(unsigned long addr, unsigned int fsr, struct pt_regs *regs) do_DataAbort() argument 547 const struct fsr_info *inf = fsr_info + fsr_fs(fsr); do_DataAbort() 550 if (!inf->fn(addr, fsr & ~FSR_LNX_PF, regs)) do_DataAbort() 554 inf->name, fsr, addr); do_DataAbort() 561 arm_notify_die("", regs, &info, fsr, 0); do_DataAbort() 160 __do_user_fault(struct task_struct *tsk, unsigned long addr, unsigned int fsr, unsigned int sig, int code, struct pt_regs *regs) __do_user_fault() argument
|
H A D | abort-macro.S | 12 .macro do_thumb_abort, fsr, pc, psr, tmp 20 orreq \fsr, \fsr, #1 << 11 @ yes.
|
H A D | alignment.c | 751 do_alignment(unsigned long addr, unsigned int fsr, struct pt_regs *regs) do_alignment() argument 898 do_bad_area(addr, fsr, regs); do_alignment() 924 addr, fsr); do_alignment()
|
/linux-4.1.27/arch/arm/mach-bcm/ |
H A D | bcm_5301x.c | 18 static int bcm5301x_abort_handler(unsigned long addr, unsigned int fsr, bcm5301x_abort_handler() argument 21 if (fsr == 0x1c06 && first_fault) { bcm5301x_abort_handler() 28 pr_warn("External imprecise Data abort at addr=%#lx, fsr=%#x ignored.\n", bcm5301x_abort_handler() 29 addr, fsr); bcm5301x_abort_handler()
|
/linux-4.1.27/arch/microblaze/kernel/ |
H A D | exceptions.c | 75 int fsr, int addr) full_exception() 83 type, user_mode(regs) ? "user" : "kernel", fsr, full_exception() 127 /* I removed fsr variable and use code var for storing fsr */ full_exception() 128 if (fsr & FSR_IO) full_exception() 129 fsr = FPE_FLTINV; full_exception() 130 else if (fsr & FSR_OF) full_exception() 131 fsr = FPE_FLTOVF; full_exception() 132 else if (fsr & FSR_UF) full_exception() 133 fsr = FPE_FLTUND; full_exception() 134 else if (fsr & FSR_DZ) full_exception() 135 fsr = FPE_FLTDIV; full_exception() 136 else if (fsr & FSR_DO) full_exception() 137 fsr = FPE_FLTRES; full_exception() 138 _exception(SIGFPE, regs, fsr, addr); full_exception() 74 full_exception(struct pt_regs *regs, unsigned int type, int fsr, int addr) full_exception() argument
|
H A D | kgdb.c | 43 /* registers r0 - r31, pc, msr, ear, esr, fsr + do not save pt_mode */ pt_regs_to_gdb_regs() 99 /* registers r0 - r31, pc, msr, ear, esr, fsr + do not save pt_mode */ sleeping_thread_to_gdb_regs()
|
H A D | asm-offsets.c | 28 DEFINE(PT_FSR, offsetof(struct pt_regs, fsr)); main() 124 DEFINE(CC_FSR, offsetof(struct cpu_context, fsr)); main()
|
H A D | process.c | 43 pr_info(" msr=%08lX, ear=%08lX, esr=%08lX, fsr=%08lX\n", show_regs() 44 regs->msr, regs->ear, regs->esr, regs->fsr); show_regs()
|
H A D | signal.c | 75 COPY(pc); COPY(ear); COPY(esr); COPY(fsr); restore_sigcontext() 136 COPY(pc); COPY(ear); COPY(esr); COPY(fsr); setup_sigcontext()
|
H A D | entry.S | 491 mts rfsr, r0; /* Clear sticky fsr */
|
H A D | hw_exception_handler.S | 424 mts rfsr, r0; /* Clear sticky fsr */
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | psr.h | 45 /* Get the %fsr register. Be careful, make sure the floating point 54 unsigned int fsr = 0; get_fsr() local 57 "st %%fsr, %1\n\t" get_fsr() 59 : "=r" (fsr) get_fsr() 62 return fsr; get_fsr()
|
H A D | sfp-machine_32.h | 185 #define FP_ROUNDMODE ((current->thread.fsr >> 30) & 0x3) 187 #define FP_ROUNDMODE ((last_task_used_math->thread.fsr >> 30) & 0x3) 201 #define FP_INHIBIT_RESULTS ((current->thread.fsr >> 23) & _fex) 203 #define FP_INHIBIT_RESULTS ((last_task_used_math->thread.fsr >> 23) & _fex) 207 #define FP_TRAPPING_EXCEPTIONS ((current->thread.fsr >> 23) & 0x1f) 209 #define FP_TRAPPING_EXCEPTIONS ((last_task_used_math->thread.fsr >> 23) & 0x1f)
|
H A D | switch_to_32.h | 20 fpsave(&(prv)->thread.float_regs[0], &(prv)->thread.fsr, \ 102 void fpsave(unsigned long *fpregs, unsigned long *fsr,
|
H A D | processor_32.h | 61 unsigned long fsr; member in struct:thread_struct
|
/linux-4.1.27/arch/unicore32/mm/ |
H A D | fault.c | 31 static inline int fsr_fs(unsigned int fsr) fsr_fs() argument 34 return (fsr & 31) + ((fsr & (3 << 5)) >> 5); fsr_fs() 92 unsigned int fsr, struct pt_regs *regs) __do_kernel_fault() 110 die("Oops", regs, fsr); __do_kernel_fault() 120 unsigned int fsr, unsigned int sig, int code, __do_user_fault() 126 tsk->thread.error_code = fsr; __do_user_fault() 135 void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs) do_bad_area() argument 145 __do_user_fault(tsk, addr, fsr, SIGSEGV, SEGV_MAPERR, regs); do_bad_area() 147 __do_kernel_fault(mm, addr, fsr, regs); do_bad_area() 158 static inline bool access_error(unsigned int fsr, struct vm_area_struct *vma) access_error() argument 162 if (!(fsr ^ 0x12)) /* write? */ access_error() 164 if (fsr & FSR_LNX_PF) access_error() 170 static int __do_pf(struct mm_struct *mm, unsigned long addr, unsigned int fsr, __do_pf() argument 188 if (access_error(fsr, vma)) { __do_pf() 207 static int do_pf(unsigned long addr, unsigned int fsr, struct pt_regs *regs) do_pf() argument 226 if (!(fsr ^ 0x12)) do_pf() 254 fault = __do_pf(mm, addr, fsr, flags, tsk); do_pf() 318 __do_user_fault(tsk, addr, fsr, sig, code, regs); do_pf() 322 __do_kernel_fault(mm, addr, fsr, regs); do_pf() 343 static int do_ifault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) do_ifault() argument 350 return do_pf(addr, fsr, regs); do_ifault() 374 do_bad_area(addr, fsr, regs); do_ifault() 381 static int do_bad(unsigned long addr, unsigned int fsr, struct pt_regs *regs) do_bad() argument 386 static int do_good(unsigned long addr, unsigned int fsr, struct pt_regs *regs) do_good() argument 405 int (*fn) (unsigned long addr, unsigned int fsr, struct pt_regs *regs); 463 asmlinkage void do_DataAbort(unsigned long addr, unsigned int fsr, do_DataAbort() argument 466 const struct fsr_info *inf = fsr_info + fsr_fs(fsr); do_DataAbort() 469 if (!inf->fn(addr, fsr & ~FSR_LNX_PF, regs)) do_DataAbort() 473 inf->name, fsr, addr); do_DataAbort() 479 uc32_notify_die("", regs, &info, fsr, 0); do_DataAbort() 91 __do_kernel_fault(struct mm_struct *mm, unsigned long addr, unsigned int fsr, struct pt_regs *regs) __do_kernel_fault() argument 119 __do_user_fault(struct task_struct *tsk, unsigned long addr, unsigned int fsr, unsigned int sig, int code, struct pt_regs *regs) __do_user_fault() argument
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | sigutil_32.c | 20 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, save_fpu_state() 28 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, save_fpu_state() 37 err |= __put_user(current->thread.fsr, &fpu->si_fsr); save_fpu_state() 68 err |= __get_user(current->thread.fsr, &fpu->si_fsr); restore_fpu_state()
|
H A D | traps_32.c | 195 fpsave(&fptask->thread.float_regs[0], &fptask->thread.fsr, do_fpd_trap() 200 fpload(¤t->thread.float_regs[0], ¤t->thread.fsr); do_fpd_trap() 211 fpload(¤t->thread.float_regs[0], ¤t->thread.fsr); do_fpd_trap() 227 unsigned long fsr; local 248 fpsave(&fpt->thread.float_regs[0], &fpt->thread.fsr, 251 printk("Hmm, FP exception, fsr was %016lx\n", fpt->thread.fsr); 254 switch ((fpt->thread.fsr & 0x1c000)) { 279 fpload(¤t->thread.float_regs[0], ¤t->thread.fsr); 288 /* The first fsr store/load we tried trapped, 302 fsr = fpt->thread.fsr; 308 if ((fsr & 0x1c000) == (1 << 14)) { 309 if (fsr & 0x10) 311 else if (fsr & 0x08) 313 else if (fsr & 0x04) 315 else if (fsr & 0x02) 317 else if (fsr & 0x01)
|
H A D | ptrace_64.c | 337 unsigned long fprs, fsr, gsr; fpregs64_get() local 369 fsr = task_thread_info(target)->xfsr[0]; fpregs64_get() 372 fsr = gsr = 0; fpregs64_get() 377 &fsr, fpregs64_get() 711 compat_ulong_t fsr; fpregs32_get() local 719 fsr = task_thread_info(target)->xfsr[0]; fpregs32_get() 722 fsr = 0; fpregs32_get() 736 &fsr, fpregs32_get() 779 compat_ulong_t fsr; fpregs32_set() local 783 &fsr, fpregs32_set() 789 val |= fsr; fpregs32_set() 853 unsigned int fsr; member in struct:compat_fps 916 &fps->fsr); compat_arch_ptrace() 935 &fps->fsr); compat_arch_ptrace() 971 unsigned long fsr; member in struct:fps
|
H A D | ptrace_32.c | 233 &target->thread.fsr, fpregs32_get() 275 &target->thread.fsr, fpregs32_set() 330 unsigned long fsr; member in struct:fps 391 &fps->fsr); arch_ptrace() 412 &fps->fsr); arch_ptrace()
|
H A D | process_32.c | 196 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, 217 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, 321 fpsave(&p->thread.float_regs[0], &p->thread.fsr, 429 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, dump_fpu() 439 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, dump_fpu() 450 fpregs->pr_fsr = current->thread.fsr; dump_fpu()
|
H A D | fpu_traps.S | 187 ldx [%g6 + TI_XFSR], %fsr 215 stx %fsr, [%g6 + TI_XFSR] 335 stx %fsr, [%g6 + TI_XFSR]
|
H A D | entry.S | 1062 * void fpsave(unsigned long *fpregs, unsigned long *fsr, 1068 st %fsr, [%o1] ! this can trap on us if fpu is in bogon state 1079 st %fsr, [%o1] 1109 * above we could trap on the fsr store so our low level fpu trap 1114 st %fsr, [%o1] 1118 st %fsr, [%o1] 1120 /* void fpload(unsigned long *fpregs, unsigned long *fsr); */ 1140 ld [%o1], %fsr
|
H A D | entry.h | 39 void fpsave(unsigned long *fpregs, unsigned long *fsr, 41 void fpload(unsigned long *fpregs, unsigned long *fsr);
|
H A D | signal_32.c | 33 extern void fpsave(unsigned long *fpregs, unsigned long *fsr, 35 extern void fpload(unsigned long *fpregs, unsigned long *fsr);
|
H A D | traps_64.c | 2176 unsigned long fsr = current_thread_info()->xfsr[0]; do_fpe_common() local 2188 if ((fsr & 0x1c000) == (1 << 14)) { do_fpe_common() 2189 if (fsr & 0x10) do_fpe_common() 2191 else if (fsr & 0x08) do_fpe_common() 2193 else if (fsr & 0x04) do_fpe_common() 2195 else if (fsr & 0x02) do_fpe_common() 2197 else if (fsr & 0x01) do_fpe_common() 2474 * Trap in the %fsr to unimplemented_FPop. do_illegal_instruction()
|
H A D | rtrap_64.S | 356 ldx [%o1 + %o5], %fsr
|
/linux-4.1.27/arch/unicore32/include/asm/ |
H A D | traps.h | 19 extern void do_DataAbort(unsigned long addr, unsigned int fsr,
|
H A D | tlbflush.h | 190 extern void do_bad_area(unsigned long addr, unsigned int fsr,
|
/linux-4.1.27/arch/microblaze/include/asm/ |
H A D | kgdb.h | 12 * 6 32-bit special registers (pc, msr, ear, esr, fsr, btr)
|
H A D | exceptions.h | 67 int fsr, int addr);
|
H A D | thread_info.h | 59 __u32 fsr; member in struct:cpu_context
|
/linux-4.1.27/arch/sparc/lib/ |
H A D | VISsave.S | 31 stx %fsr, [%g6 + TI_XFSR] 38 stx %fsr, [%g6 + TI_XFSR] 55 stx %fsr, [%g2 + TI_XFSR]
|
/linux-4.1.27/drivers/iommu/ |
H A D | msm_iommu.c | 611 unsigned int fsr = GET_FSR(base, ctx); print_ctx_regs() local 614 pr_err("FSR = %08x [%s%s%s%s%s%s%s%s%s%s]\n", fsr, print_ctx_regs() 615 (fsr & 0x02) ? "TF " : "", print_ctx_regs() 616 (fsr & 0x04) ? "AFF " : "", print_ctx_regs() 617 (fsr & 0x08) ? "APF " : "", print_ctx_regs() 618 (fsr & 0x10) ? "TLBMF " : "", print_ctx_regs() 619 (fsr & 0x20) ? "HTWDEEF " : "", print_ctx_regs() 620 (fsr & 0x40) ? "HTWSEEF " : "", print_ctx_regs() 621 (fsr & 0x80) ? "MHF " : "", print_ctx_regs() 622 (fsr & 0x10000) ? "SL " : "", print_ctx_regs() 623 (fsr & 0x40000000) ? "SS " : "", print_ctx_regs() 624 (fsr & 0x80000000) ? "MULTI " : ""); print_ctx_regs() 640 unsigned int fsr; msm_iommu_fault_handler() local 660 fsr = GET_FSR(base, i); msm_iommu_fault_handler() 661 if (fsr) { msm_iommu_fault_handler()
|
H A D | arm-smmu.c | 644 u32 fsr, far, fsynr, resume; arm_smmu_context_fault() local 653 fsr = readl_relaxed(cb_base + ARM_SMMU_CB_FSR); arm_smmu_context_fault() 655 if (!(fsr & FSR_FAULT)) arm_smmu_context_fault() 658 if (fsr & FSR_IGN) arm_smmu_context_fault() 660 "Unexpected context fault (fsr 0x%x)\n", arm_smmu_context_fault() 661 fsr); arm_smmu_context_fault() 685 writel(fsr, cb_base + ARM_SMMU_CB_FSR); arm_smmu_context_fault() 688 if (fsr & FSR_SS) arm_smmu_context_fault()
|
/linux-4.1.27/arch/arm64/kvm/ |
H A D | inject_fault.c | 75 u32 *far, *fsr; inject_abt32() local 81 fsr = &vcpu_cp15(vcpu, c5_IFSR); inject_abt32() 85 fsr = &vcpu_cp15(vcpu, c5_DFSR); inject_abt32() 95 *fsr = 1 << 9 | 0x34; inject_abt32() 97 *fsr = 0x14; inject_abt32()
|
/linux-4.1.27/arch/sparc/math-emu/ |
H A D | math_32.c | 132 static int do_one_mathemu(u32 insn, unsigned long *fsr, unsigned long *fregs); 182 retcode = do_one_mathemu(insn, &fpt->thread.fsr, fpt->thread.float_regs); do_mathemu() 194 retcode = do_one_mathemu(fpt->thread.fpqueue[i].insn, &(fpt->thread.fsr), fpt->thread.float_regs); do_mathemu() 200 fpt->thread.fsr &= ~(0x3000 | FSR_CEXC_MASK); do_mathemu() 202 fpt->thread.fsr &= ~0x3000; do_mathemu() 218 unsigned long fsr = *pfsr; record_exception() local 222 would_trap = (fsr & ((long)eflag << FSR_TEM_SHIFT)) != 0UL; record_exception() 226 eflag &= ((fsr & FSR_TEM_MASK) >> FSR_TEM_SHIFT); record_exception() 247 fsr &= ~(FSR_CEXC_MASK); record_exception() 248 fsr |= ((long)eflag << FSR_CEXC_SHIFT); record_exception() 257 fsr |= ((long)eflag << FSR_AEXC_SHIFT); record_exception() 261 fsr |= (1UL << 14); record_exception() 263 *pfsr = fsr; record_exception() 276 /* Emulate the given insn, updating fsr and fregs appropriately. */ do_one_mathemu() 289 long fsr; do_one_mathemu() local 499 case 0: fsr = *pfsr; do_one_mathemu() 502 fsr &= ~0xc00; fsr |= (IR << 10); do_one_mathemu() 503 *pfsr = fsr; do_one_mathemu()
|
H A D | math_64.c | 102 u64 fsr = current_thread_info()->xfsr[0]; record_exception() local 106 would_trap = (fsr & ((long)eflag << FSR_TEM_SHIFT)) != 0UL; record_exception() 110 eflag &= ((fsr & FSR_TEM_MASK) >> FSR_TEM_SHIFT); record_exception() 131 fsr &= ~(FSR_CEXC_MASK); record_exception() 132 fsr |= ((long)eflag << FSR_CEXC_SHIFT); record_exception() 141 fsr |= ((long)eflag << FSR_AEXC_SHIFT); record_exception() 145 fsr |= (1UL << 14); record_exception() 147 current_thread_info()->xfsr[0] = fsr; record_exception() 361 * Type field in the %fsr to unimplemented_FPop. Nor does it do_mathemu() 364 * the %fsr unchanged. do_mathemu()
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-sh7760.c | 117 unsigned long msr, fsr, fier, len; sh7760_i2c_irq() local 120 fsr = IN32(id, I2CFSR); sh7760_i2c_irq() 147 fsr = 0; sh7760_i2c_irq() 163 if (fsr & FSR_RDF) { sh7760_i2c_irq() 178 fsr &= ~FSR_RDF; sh7760_i2c_irq() 195 if ((fsr & FSR_TEND) && (msg->len < 1)) { sh7760_i2c_irq() 204 fsr &= ~FSR_TEND; sh7760_i2c_irq() 207 if (fsr & FSR_TDFE) { sh7760_i2c_irq() 232 OUT32(id, I2CFSR, ~fsr); sh7760_i2c_irq()
|
/linux-4.1.27/arch/microblaze/include/uapi/asm/ |
H A D | ptrace.h | 53 microblaze_reg_t fsr; member in struct:pt_regs
|
H A D | elf.h | 61 #define ELF_NFPREG 33 /* includes fsr */
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | fpswa.h | 58 unsigned long *fsr, unsigned long *isr, unsigned long *preds,
|
/linux-4.1.27/arch/arm/plat-iop/ |
H A D | pci.c | 173 iop3xx_pci_abort(unsigned long addr, unsigned int fsr, struct pt_regs *regs) iop3xx_pci_abort() argument 175 DBG("PCI abort: address = 0x%08lx fsr = 0x%03x PC = 0x%08lx LR = 0x%08lx\n", iop3xx_pci_abort() 176 addr, fsr, regs->ARM_pc, regs->ARM_lr); iop3xx_pci_abort() 182 if (fsr & (1 << 10)) iop3xx_pci_abort()
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | kprobes.h | 49 int kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr);
|
/linux-4.1.27/arch/arm/mach-ks8695/ |
H A D | pci.c | 127 static int ks8695_pci_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) ks8695_pci_fault() argument 135 printk(KERN_ERR "PCI abort: address = 0x%08lx fsr = 0x%03x PC = 0x%08lx LR = 0x%08lx [%s%s%s%s%s]\n", ks8695_pci_fault() 136 addr, fsr, regs->ARM_pc, regs->ARM_lr, ks8695_pci_fault()
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | kgdb.c | 126 { "fsr", GDB_SIZEOF_REG, 0 }, 145 /* Process the fcr31/fsr (register 70) */ dbg_set_reg() 180 /* Process the fcr31/fsr (register 70) */ dbg_get_reg()
|
/linux-4.1.27/drivers/mtd/spi-nor/ |
H A D | spi-nor.c | 211 int fsr = read_fsr(nor); spi_nor_fsr_ready() local 212 if (fsr < 0) spi_nor_fsr_ready() 213 return fsr; spi_nor_fsr_ready() 215 return fsr & FSR_READY; spi_nor_fsr_ready() 220 int sr, fsr; spi_nor_ready() local 224 fsr = nor->flags & SNOR_F_USE_FSR ? spi_nor_fsr_ready(nor) : 1; spi_nor_ready() 225 if (fsr < 0) spi_nor_ready() 226 return fsr; spi_nor_ready() 227 return sr && fsr; spi_nor_ready()
|
/linux-4.1.27/arch/frv/kernel/ |
H A D | asm-offsets.c | 77 DEF_FREG(__FPMEDIA_FSR0, f.fsr[0]); foo()
|
H A D | gdb-stub.c | 1665 ptr = mem2hex(&__debug_user_context->f.fsr[0], ptr, 4, 0); gdbstub() 1733 ptr = hex2mem(ptr, &__debug_user_context->f.fsr[0], 4); gdbstub() 1841 __debug_user_context->f.fsr[0] = temp; gdbstub()
|
/linux-4.1.27/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_iio.h | 69 * @fsr: Full scale range. 78 unsigned int fsr:2; member in struct:inv_mpu6050_chip_config
|
H A D | inv_mpu_core.c | 61 .fsr = INV_MPU6050_FSR_2000DPS, 383 *val2 = gyro_scale_6050[st->chip_config.fsr]; inv_mpu6050_read_raw() 426 st->chip_config.fsr = i; inv_mpu6050_write_gyro_scale()
|
/linux-4.1.27/drivers/bus/ |
H A D | brcmstb_gisb.c | 213 static int brcmstb_bus_error_handler(unsigned long addr, unsigned int fsr, brcmstb_bus_error_handler() argument 226 if (fsr & (1 << 10)) brcmstb_bus_error_handler()
|
/linux-4.1.27/arch/arm/mach-cns3xxx/ |
H A D | pcie.c | 268 static int cns3xxx_pcie_abort_handler(unsigned long addr, unsigned int fsr, cns3xxx_pcie_abort_handler() argument 271 if (fsr & (1 << 10)) cns3xxx_pcie_abort_handler()
|
/linux-4.1.27/arch/arm/mach-mvebu/ |
H A D | board-v7.c | 117 static int armada_375_external_abort_wa(unsigned long addr, unsigned int fsr, armada_375_external_abort_wa() argument 122 if (!ignore_first && fsr == 0x1406) { armada_375_external_abort_wa()
|
/linux-4.1.27/arch/ia64/kernel/ |
H A D | paravirt.c | 432 __DEFINE_GET_AR(FSR, fsr) 515 __DEFINE_SET_AR(FSR, fsr) 713 IA64_NATIVE_PATCH_DEFINE_AR(fsr, fsr); 825 IA64_NATIVE_PATCH_BUNDLE_ELEM_AR(fsr, FSR),
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | wbsd.c | 421 int i, fsr, fifo; wbsd_empty_fifo() local 435 while (!((fsr = inb(host->base + WBSD_FSR)) & WBSD_FIFO_EMPTY)) { wbsd_empty_fifo() 440 if (fsr & WBSD_FIFO_FULL) wbsd_empty_fifo() 442 else if (fsr & WBSD_FIFO_FUTHRE) wbsd_empty_fifo() 483 int i, fsr, fifo; wbsd_fill_fifo() local 498 while (!((fsr = inb(host->base + WBSD_FSR)) & WBSD_FIFO_FULL)) { wbsd_fill_fifo() 503 if (fsr & WBSD_FIFO_EMPTY) wbsd_fill_fifo() 505 else if (fsr & WBSD_FIFO_EMTHRE) wbsd_fill_fifo()
|
/linux-4.1.27/arch/arm/mach-ixp4xx/ |
H A D | common-pci.c | 294 static int abort_handler(unsigned long addr, unsigned int fsr, struct pt_regs *regs) abort_handler() argument 312 if (fsr & (1 << 10)) abort_handler()
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | hw_breakpoint.c | 167 /* Can we determine the watchpoint access type from the fsr? */ debug_exception_updates_fsr() 655 * We only support specific access types if the fsr arch_validate_hwbkpt_settings() 692 static void watchpoint_handler(unsigned long addr, unsigned int fsr, watchpoint_handler() argument 740 access = (fsr & ARM_FSR_ACCESS_MASK) ? watchpoint_handler() 855 static int hw_breakpoint_pending(unsigned long addr, unsigned int fsr, hw_breakpoint_pending() argument 877 watchpoint_handler(addr, fsr, regs); hw_breakpoint_pending()
|
H A D | traps.c | 642 extern void do_DataAbort(unsigned long addr, unsigned int fsr, NR()
|
/linux-4.1.27/drivers/usb/misc/sisusbvga/ |
H A D | sisusb_con.c | 1215 unsigned char ovr, vde, fsr; sisusbcon_do_font_op() local 1238 sisusb_getidxreg(sisusb, SISCR, 0x09, &fsr); sisusbcon_do_font_op() 1239 fsr = (fsr & 0xe0) | (fh - 1); sisusbcon_do_font_op() 1240 sisusb_setidxreg(sisusb, SISCR, 0x09, fsr); sisusbcon_do_font_op()
|
/linux-4.1.27/drivers/video/console/ |
H A D | vgacon.c | 1216 unsigned char ovr, vde, fsr; vgacon_adjust_height() local 1236 fsr = inb_p(vga_video_port_val); vgacon_adjust_height() 1242 fsr = (fsr & 0xe0) + (fontheight - 1); /* Font size register */ vgacon_adjust_height() 1248 outb_p(fsr, vga_video_port_val); vgacon_adjust_height()
|
/linux-4.1.27/arch/frv/include/uapi/asm/ |
H A D | registers.h | 195 unsigned long fsr[1]; member in struct:user_fpmedia_regs
|
/linux-4.1.27/arch/arm/mach-iop13xx/ |
H A D | pci.c | 483 iop13xx_pci_abort(unsigned long addr, unsigned int fsr, struct pt_regs *regs) iop13xx_pci_abort() argument 486 "fsr = 0x%03x PC = 0x%08lx LR = 0x%08lx", iop13xx_pci_abort() 487 addr, fsr, regs->ARM_pc, regs->ARM_lr); iop13xx_pci_abort() 496 if (fsr & (1 << 10)) iop13xx_pci_abort()
|
/linux-4.1.27/arch/arm/probes/kprobes/ |
H A D | core.c | 344 int __kprobes kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr) kprobe_fault_handler() argument 383 if (cur->fault_handler && cur->fault_handler(cur, regs, fsr)) kprobe_fault_handler()
|
/linux-4.1.27/arch/arm/mach-integrator/ |
H A D | pci_v3.c | 513 v3_pci_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) v3_pci_fault() argument 521 addr, fsr, pc, instr, __raw_readl(ap_syscon_base + INTEGRATOR_SC_LBFADDR_OFFSET), __raw_readl(ap_syscon_base + INTEGRATOR_SC_LBFCODE_OFFSET) & 255, v3_pci_fault()
|
/linux-4.1.27/drivers/pci/host/ |
H A D | pci-keystone.c | 239 static int keystone_pcie_fault(unsigned long addr, unsigned int fsr, keystone_pcie_fault() argument
|
H A D | pci-imx6.c | 212 unsigned int fsr, struct pt_regs *regs) imx6q_pcie_abort_handler() 211 imx6q_pcie_abort_handler(unsigned long addr, unsigned int fsr, struct pt_regs *regs) imx6q_pcie_abort_handler() argument
|
/linux-4.1.27/drivers/mtd/nand/ |
H A D | davinci_nand.c | 385 u32 fsr = davinci_nand_readl(info, NANDFSR_OFFSET); nand_davinci_correct_4bit() local 387 switch ((fsr >> 8) & 0x0f) { nand_davinci_correct_4bit() 396 num_errors = 1 + ((fsr >> 16) & 0x03); nand_davinci_correct_4bit()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | cg14.c | 105 u8 fsr; /* Fault Status Reg */ member in struct:cg14_regs
|
/linux-4.1.27/drivers/s390/char/ |
H A D | tape_std.c | 547 * and then test for another one (fsr returns 1 if a tapemark was tape_std_mteom()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
H A D | mcdi_pcol.h | 4103 /* Same order as MIPS GDB (r0-r31, sr, lo, hi, bad, cause, 32 x float, fsr,
|