Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 25 of 62) sorted by relevance

123

/arch/arc/kernel/
Dsignal.c107 uregs.scratch.bta = regs->bta; in stash_usr_regs()
108 uregs.scratch.lp_start = regs->lp_start; in stash_usr_regs()
109 uregs.scratch.lp_end = regs->lp_end; in stash_usr_regs()
110 uregs.scratch.lp_count = regs->lp_count; in stash_usr_regs()
111 uregs.scratch.status32 = regs->status32; in stash_usr_regs()
112 uregs.scratch.ret = regs->ret; in stash_usr_regs()
113 uregs.scratch.blink = regs->blink; in stash_usr_regs()
114 uregs.scratch.fp = regs->fp; in stash_usr_regs()
115 uregs.scratch.gp = regs->r26; in stash_usr_regs()
116 uregs.scratch.r12 = regs->r12; in stash_usr_regs()
[all …]
Dptrace.c192 REG_IN_ONE(scratch.bta, &ptregs->bta); in genregs_set()
193 REG_IN_ONE(scratch.lp_start, &ptregs->lp_start); in genregs_set()
194 REG_IN_ONE(scratch.lp_end, &ptregs->lp_end); in genregs_set()
195 REG_IN_ONE(scratch.lp_count, &ptregs->lp_count); in genregs_set()
197 REG_IGNORE_ONE(scratch.status32); in genregs_set()
199 REG_IN_ONE(scratch.ret, &ptregs->ret); in genregs_set()
200 REG_IN_ONE(scratch.blink, &ptregs->blink); in genregs_set()
201 REG_IN_ONE(scratch.fp, &ptregs->fp); in genregs_set()
202 REG_IN_ONE(scratch.gp, &ptregs->r26); in genregs_set()
203 REG_IN_ONE(scratch.r12, &ptregs->r12); in genregs_set()
[all …]
/arch/sparc/include/asm/
Dwinmacro.h50 #define LOAD_PT_YREG(base_reg, scratch) \ argument
51 ld [%base_reg + STACKFRAME_SZ + PT_Y], %scratch; \
52 wr %scratch, 0x0, %y;
59 #define LOAD_PT_ALL(base_reg, pt_psr, pt_pc, pt_npc, scratch) \ argument
60 LOAD_PT_YREG(base_reg, scratch) \
77 #define STORE_PT_YREG(base_reg, scratch) \ argument
78 rd %y, %scratch; \
79 st %scratch, [%base_reg + STACKFRAME_SZ + PT_Y];
92 #define SAVE_BOLIXED_USER_STACK(cur_reg, scratch) \ argument
93 ld [%cur_reg + TI_W_SAVED], %scratch; \
[all …]
/arch/arc/include/asm/
Dirqflags-compact.h185 .macro IRQ_DISABLE scratch
186 lr \scratch, [status32]
187 bic \scratch, \scratch, (STATUS_E1_MASK | STATUS_E2_MASK)
188 flag \scratch
192 .macro IRQ_ENABLE scratch
194 lr \scratch, [status32]
195 or \scratch, \scratch, (STATUS_E1_MASK | STATUS_E2_MASK)
196 flag \scratch
Dirqflags-arcv2.h163 .macro IRQ_DISABLE scratch
168 .macro IRQ_ENABLE scratch
/arch/x86/include/asm/
Dbootparam_utils.h52 static struct boot_params scratch; in sanitize_boot_params() local
54 char *save_base = (char *)&scratch; in sanitize_boot_params()
68 BOOT_PARAM_PRESERVE(scratch), in sanitize_boot_params()
80 memset(&scratch, 0, sizeof(scratch)); in sanitize_boot_params()
/arch/alpha/kernel/
Derr_marvel.c153 int scratch, i; in marvel_print_po7_uncrr_sym() local
198 scratch = EXTRACT(uncrr_sym, IO7__PO7_UNCRR_SYM__CLK); in marvel_print_po7_uncrr_sym()
199 for (i = 0; i < 4; i++, scratch >>= 2) { in marvel_print_po7_uncrr_sym()
200 if (scratch & 0x3) in marvel_print_po7_uncrr_sym()
203 clk_names[i], clk_decode[scratch & 0x3]); in marvel_print_po7_uncrr_sym()
232 if ((scratch = EXTRACT(uncrr_sym, IO7__PO7_UNCRR_SYM__VICTIM_SP))) { in marvel_print_po7_uncrr_sym()
233 int lost = scratch & (1UL << 4); in marvel_print_po7_uncrr_sym()
234 scratch &= ~lost; in marvel_print_po7_uncrr_sym()
235 for (i = 0; i < 8; i++, scratch >>= 1) { in marvel_print_po7_uncrr_sym()
236 if (!(scratch & 1)) in marvel_print_po7_uncrr_sym()
[all …]
/arch/mips/mm/
Dtlbex.c1075 const int scratch = 1; /* Our extra working register */ in build_fast_tlb_refill_handler() local
1077 rv.huge_pte = scratch; in build_fast_tlb_refill_handler()
1090 UASM_i_MTC0(p, scratch, c0_kscratch(), c0_scratch_reg); in build_fast_tlb_refill_handler()
1092 UASM_i_SW(p, scratch, scratchpad_offset(0), 0); in build_fast_tlb_refill_handler()
1094 uasm_i_dsrl_safe(p, scratch, tmp, in build_fast_tlb_refill_handler()
1096 uasm_il_bnez(p, r, scratch, label_vmalloc); in build_fast_tlb_refill_handler()
1112 UASM_i_MTC0(p, scratch, c0_kscratch(), c0_scratch_reg); in build_fast_tlb_refill_handler()
1114 UASM_i_SW(p, scratch, scratchpad_offset(0), 0); in build_fast_tlb_refill_handler()
1132 #define LOC_PTEP scratch in build_fast_tlb_refill_handler()
1139 uasm_i_dsrl_safe(p, scratch, tmp, PGDIR_SHIFT - 3); in build_fast_tlb_refill_handler()
[all …]
/arch/sparc/lib/
DNG4fls.S12 .register %g2, #scratch
13 .register %g3, #scratch
Dfls64.S12 .register %g2, #scratch
13 .register %g3, #scratch
DNG4copy_page.S13 .register %g2, #scratch
14 .register %g3, #scratch
Dfls.S12 .register %g2, #scratch
13 .register %g3, #scratch
Dcopy_in_user.S25 .register %g2,#scratch
26 .register %g3,#scratch
DNG4clear_page.S12 .register %g3, #scratch
DGENmemcpy.S42 .register %g2,#scratch
43 .register %g3,#scratch
DNG4memset.S9 .register %g2, #scratch
10 .register %g3, #scratch
Dffs.S5 .register %g2,#scratch
/arch/riscv/kernel/
Dsuspend.c13 context->scratch = csr_read(CSR_SCRATCH); in suspend_save_csrs()
34 csr_write(CSR_SCRATCH, context->scratch); in suspend_restore_csrs()
/arch/powerpc/kvm/
Dbooke_interrupts.S45 .macro __KVM_HANDLER ivor_nr scratch srr0
47 mtspr \scratch , r4
53 mfspr r3, \scratch
66 .macro KVM_HANDLER ivor_nr scratch srr0
68 __KVM_HANDLER \ivor_nr \scratch \srr0
71 .macro KVM_DBG_HANDLER ivor_nr scratch srr0
73 mtspr \scratch, r4
92 mfspr r4, \scratch
99 mfspr r4, \scratch
100 __KVM_HANDLER \ivor_nr \scratch \srr0
/arch/mips/ath25/
Dar5312.c286 u32 scratch, devid, clock_ctl1; in ar5312_cpu_frequency() local
292 scratch = ar5312_rst_reg_read(AR5312_SCRATCH); in ar5312_cpu_frequency()
293 if (scratch) in ar5312_cpu_frequency()
294 return scratch; in ar5312_cpu_frequency()
/arch/riscv/include/asm/
Dsuspend.h16 unsigned long scratch; member
/arch/m68k/fpsp040/
Dbindec.S112 | d0: scratch; LEN input to binstr
113 | d1: scratch
115 | d3: scratch;lower 32-bits of mantissa for binstr
121 | a1: scratch pointer
123 | fp0: scratch
124 | fp1: scratch
125 | fp2: scratch
288 | d2: x/x/scratch
359 | d0: exponent/scratch - final is 0
361 | d3: x/scratch - offset ptr into PTENRM array
[all …]
/arch/arc/include/uapi/asm/
Dptrace.h42 } scratch; member
/arch/x86/kernel/
Dvmlinux.lds.S447 .init.scratch : AT(ADDR(.init.scratch) - LOAD_OFFSET) {
449 *(.init.scratch) argument
Damd_gart_64.c713 unsigned long scratch; in gart_iommu_init() local
801 scratch = get_zeroed_page(GFP_KERNEL); in gart_iommu_init()
802 if (!scratch) in gart_iommu_init()
804 gart_unmapped_entry = GPTE_ENCODE(__pa(scratch)); in gart_iommu_init()

123