Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 25 of 72) sorted by relevance

123

/arch/powerpc/sysdev/
Dgrackle.c30 static inline void grackle_set_stg(struct pci_controller* bp, int enable) in grackle_set_stg() argument
34 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); in grackle_set_stg()
35 val = in_le32(bp->cfg_data); in grackle_set_stg()
38 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); in grackle_set_stg()
39 out_le32(bp->cfg_data, val); in grackle_set_stg()
40 (void)in_le32(bp->cfg_data); in grackle_set_stg()
43 static inline void grackle_set_loop_snoop(struct pci_controller *bp, int enable) in grackle_set_loop_snoop() argument
47 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); in grackle_set_loop_snoop()
48 val = in_le32(bp->cfg_data); in grackle_set_loop_snoop()
51 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); in grackle_set_loop_snoop()
[all …]
Dcpm2.c120 u32 __iomem *bp; in __cpm2_setbrg() local
126 bp = cpm2_map_size(im_brgc1, 16); in __cpm2_setbrg()
128 bp = cpm2_map_size(im_brgc5, 16); in __cpm2_setbrg()
131 bp += brg; in __cpm2_setbrg()
136 out_be32(bp, val); in __cpm2_setbrg()
137 cpm2_unmap(bp); in __cpm2_setbrg()
/arch/x86/kernel/
Ddumpstack.h11 #define get_bp(bp) asm("movl %%ebp, %0" : "=r" (bp) :) argument
14 #define get_bp(bp) asm("movq %%rbp, %0" : "=r" (bp) :) argument
19 unsigned long *stack, unsigned long bp,
25 unsigned long *stack, unsigned long bp, char *log_lvl);
29 unsigned long *sp, unsigned long bp, char *log_lvl);
Ddumpstack_64.c105 unsigned long *stack, unsigned long bp, in dump_trace() argument
125 if (!bp) { in dump_trace()
128 get_bp(bp); in dump_trace()
131 bp = *(unsigned long *) task->thread.sp; in dump_trace()
152 bp = print_context_stack(tinfo, stack, bp, ops, in dump_trace()
171 bp = print_context_stack(tinfo, stack, bp, in dump_trace()
190 bp = print_context_stack(tinfo, stack, bp, ops, data, NULL, &graph); in dump_trace()
197 unsigned long *sp, unsigned long bp, char *log_lvl) in show_stack_log_lvl() argument
236 show_trace_log_lvl(task, regs, sp, bp, log_lvl); in show_stack_log_lvl()
264 regs->bp, KERN_EMERG); in show_registers()
Ddumpstack_32.c23 unsigned long *stack, unsigned long bp, in dump_trace() argument
39 if (!bp) { in dump_trace()
42 get_bp(bp); in dump_trace()
45 bp = *(unsigned long *) task->thread.sp; in dump_trace()
55 bp = print_context_stack(context, stack, bp, ops, in dump_trace()
70 unsigned long *sp, unsigned long bp, char *log_lvl) in show_stack_log_lvl() argument
92 show_trace_log_lvl(task, regs, sp, bp, log_lvl); in show_stack_log_lvl()
Ddumpstack.c86 unsigned long *stack, unsigned long bp, in print_context_stack() argument
90 struct stack_frame *frame = (struct stack_frame *)bp; in print_context_stack()
97 if ((unsigned long) stack == bp + sizeof(long)) { in print_context_stack()
100 bp = (unsigned long) frame; in print_context_stack()
102 ops->address(data, addr, bp == 0); in print_context_stack()
108 return bp; in print_context_stack()
150 unsigned long *stack, unsigned long bp, char *log_lvl) in show_trace_log_lvl() argument
153 dump_trace(task, regs, stack, bp, &print_trace_ops, log_lvl); in show_trace_log_lvl()
157 unsigned long *stack, unsigned long bp) in show_trace() argument
159 show_trace_log_lvl(task, regs, stack, bp, ""); in show_trace()
[all …]
Dprocess_32.c161 regs->si, regs->di, regs->bp, sp); in __show_regs()
191 show_trace(NULL, regs, &regs->sp, regs->bp); in show_regs()
661 unsigned long bp, sp, ip; in get_wchan() local
671 bp = *(unsigned long *) sp; in get_wchan()
673 if (bp < stack_page || bp > top_ebp+stack_page) in get_wchan()
675 ip = *(unsigned long *) (bp+4); in get_wchan()
678 bp = *(unsigned long *) bp; in get_wchan()
/arch/h8300/include/asm/
Dio.h110 unsigned char *bp = (unsigned char *) buf; in io_outsb() local
114 *ap_w = *bp++; in io_outsb()
117 *ap_b = *bp++; in io_outsb()
124 unsigned short *bp = (unsigned short *) buf; in io_outsw() local
126 *ap = _swapw(*bp++); in io_outsw()
132 unsigned long *bp = (unsigned long *) buf; in io_outsl() local
134 *ap = _swapl(*bp++); in io_outsl()
140 unsigned short *bp = (unsigned short *) buf; in io_outsw_noswap() local
142 *ap = *bp++; in io_outsw_noswap()
148 unsigned long *bp = (unsigned long *) buf; in io_outsl_noswap() local
[all …]
/arch/sparc/kernel/
Dchmc.c487 static int chmc_bank_match(struct chmc_bank_info *bp, unsigned long phys_addr) in chmc_bank_match() argument
493 if (bp->valid == 0) in chmc_bank_match()
497 upper_bits ^= bp->um; /* What bits are different? */ in chmc_bank_match()
499 upper_bits |= bp->uk; /* What bits don't matter for matching? */ in chmc_bank_match()
506 lower_bits ^= bp->lm; /* What bits are different? */ in chmc_bank_match()
508 lower_bits |= bp->lk; /* What bits don't matter for matching? */ in chmc_bank_match()
527 struct chmc_bank_info *bp; in chmc_find_bank() local
529 bp = &p->logical_banks[bank_no]; in chmc_find_bank()
530 if (chmc_bank_match(bp, phys_addr)) in chmc_find_bank()
531 return bp; in chmc_find_bank()
[all …]
/arch/cris/arch-v32/kernel/
Dkgdb.c889 int S, bp, trig_bits = 0, rw_bits = 0; in stub_is_stopped() local
904 for (bp = 0; bp < 6; bp++) { in stub_is_stopped()
907 int bitpos_trig = 1 + bp * 2; in stub_is_stopped()
909 int bitpos_config = 2 + bp * 4; in stub_is_stopped()
924 trig_mask |= (1 << bp); in stub_is_stopped()
926 if (reg.eda >= bp_d_regs[bp * 2] && in stub_is_stopped()
927 reg.eda <= bp_d_regs[bp * 2 + 1]) { in stub_is_stopped()
935 if (bp < 6) { in stub_is_stopped()
939 for (bp = 0; bp < 6; bp++) { in stub_is_stopped()
941 int bitpos_config = 2 + bp * 4; in stub_is_stopped()
[all …]
Dptrace.c391 int bp; in deconfigure_bp() local
397 for (bp = 0; bp < 6; bp++) { in deconfigure_bp()
400 put_debugreg(pid, PT_BP + 3 + (bp * 2), 0); in deconfigure_bp()
401 put_debugreg(pid, PT_BP + 4 + (bp * 2), 0); in deconfigure_bp()
404 tmp = get_debugreg(pid, PT_BP_CTRL) & ~(3 << (2 + (bp * 4))); in deconfigure_bp()
/arch/powerpc/xmon/
Dxmon.c100 #define BP_NUM(bp) ((bp) - bpts + 1) argument
339 struct bpt *bp; in xmon_core() local
351 bp = in_breakpoint_table(regs->nip, &offset); in xmon_core()
352 if (bp != NULL) { in xmon_core()
353 regs->nip = bp->address + offset; in xmon_core()
354 atomic_dec(&bp->ref_count); in xmon_core()
386 bp = NULL; in xmon_core()
388 bp = at_breakpoint(regs->nip); in xmon_core()
389 if (bp || (regs->msr & MSR_RI) == 0) in xmon_core()
395 if (bp) { in xmon_core()
[all …]
/arch/m68k/include/asm/
Dio_no.h59 unsigned char *bp = (unsigned char *) buf; in io_outsb() local
61 *ap = *bp++; in io_outsb()
67 unsigned short *bp = (unsigned short *) buf; in io_outsw() local
69 *ap = _swapw(*bp++); in io_outsw()
75 unsigned int *bp = (unsigned int *) buf; in io_outsl() local
77 *ap = _swapl(*bp++); in io_outsl()
83 unsigned char *bp = (unsigned char *) buf; in io_insb() local
85 *bp++ = *ap; in io_insb()
91 unsigned short *bp = (unsigned short *) buf; in io_insw() local
93 *bp++ = _swapw(*ap); in io_insw()
[all …]
/arch/ia64/hp/sim/boot/
Dfw-emu.c249 struct ia64_boot_param *bp; in sys_fw_init() local
276 bp = (void *) cp; cp += sizeof(*bp); in sys_fw_init()
368 bp->efi_systab = __pa(&fw_mem); in sys_fw_init()
369 bp->efi_memmap = __pa(efi_memmap); in sys_fw_init()
370 bp->efi_memmap_size = NUM_MEM_DESCS*sizeof(efi_memory_desc_t); in sys_fw_init()
371 bp->efi_memdesc_size = sizeof(efi_memory_desc_t); in sys_fw_init()
372 bp->efi_memdesc_version = 1; in sys_fw_init()
373 bp->command_line = __pa(cmd_line); in sys_fw_init()
374 bp->console_info.num_cols = 80; in sys_fw_init()
375 bp->console_info.num_rows = 25; in sys_fw_init()
[all …]
Dbootloader.c37 extern void jmp_to_kernel (unsigned long bp, unsigned long e_entry);
67 register struct ia64_boot_param *bp; in start_bootloader() local
166 bp = sys_fw_init(args, arglen); in start_bootloader()
171 jmp_to_kernel((unsigned long) bp, e_entry); in start_bootloader()
/arch/powerpc/kvm/
D44x.c75 if (dbg->bp[0]) { in kvmppc_core_load_guest_debugstate()
76 mtspr(SPRN_IAC1, dbg->bp[0]); in kvmppc_core_load_guest_debugstate()
79 if (dbg->bp[1]) { in kvmppc_core_load_guest_debugstate()
80 mtspr(SPRN_IAC2, dbg->bp[1]); in kvmppc_core_load_guest_debugstate()
83 if (dbg->bp[2]) { in kvmppc_core_load_guest_debugstate()
84 mtspr(SPRN_IAC3, dbg->bp[2]); in kvmppc_core_load_guest_debugstate()
87 if (dbg->bp[3]) { in kvmppc_core_load_guest_debugstate()
88 mtspr(SPRN_IAC4, dbg->bp[3]); in kvmppc_core_load_guest_debugstate()
/arch/arm/include/asm/
Da.out-core.h35 dump->u_debugreg[0] = tsk->thread.debug.bp[0].address; in aout_dump_thread()
36 dump->u_debugreg[1] = tsk->thread.debug.bp[1].address; in aout_dump_thread()
37 dump->u_debugreg[2] = tsk->thread.debug.bp[0].insn.arm; in aout_dump_thread()
38 dump->u_debugreg[3] = tsk->thread.debug.bp[1].insn.arm; in aout_dump_thread()
/arch/m68knommu/platform/68360/
Dcommproc.c291 volatile uint *bp; in m360_cpm_setbrg() local
296 bp = (volatile uint *)(&pquicc->brgc[0].l); in m360_cpm_setbrg()
297 bp += brg; in m360_cpm_setbrg()
298 *bp = ((BRG_UART_CLK / rate - 1) << 1) | CPM_BRG_EN; in m360_cpm_setbrg()
/arch/x86/oprofile/
Dbacktrace.c51 struct frame_head *bp; member
69 if (head >= bufhead[0].bp) in dump_user_backtrace()
72 return bufhead[0].bp; in dump_user_backtrace()
/arch/sparc/include/asm/
Dtlb_64.h18 #define tlb_fast_mode(bp) ((bp)->pages_nr == ~0U) argument
21 #define tlb_fast_mode(bp) 1 argument
/arch/x86/include/asm/
Dptrace.h48 unsigned long bp; member
103 unsigned long bp; member
210 return regs->bp; in frame_pointer()
Delf.h106 _r->si = 0; _r->di = 0; _r->bp = 0; \
122 pr_reg[5] = regs->bp; \
166 regs->si = regs->di = regs->bp = 0; in elf_common_init()
213 (pr_reg)[4] = (regs)->bp; \
/arch/h8300/platform/h8s/
Dptrace_h8s.c79 asmlinkage void trace_trap(unsigned long bp) in trace_trap() argument
81 (void)bp; in trace_trap()
/arch/powerpc/boot/dtc-src/
Dtreesource.c167 const char *bp = val.val; in write_propval_bytes() local
172 while (m && (m->offset == (bp-val.val))) { in write_propval_bytes()
178 fprintf(f, "%02hhx", *bp++); in write_propval_bytes()
179 if ((const void *)bp >= propend) in write_propval_bytes()
/arch/arm/mach-mv78xx0/
DMakefile2 obj-$(CONFIG_MACH_DB78X00_BP) += db78x00-bp-setup.o

123