Home
last modified time | relevance | path

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

123

/arch/sparc/include/asm/
Dwinmacro.h49 #define LOAD_PT_YREG(base_reg, scratch) \ argument
50 ld [%base_reg + STACKFRAME_SZ + PT_Y], %scratch; \
51 wr %scratch, 0x0, %y;
58 #define LOAD_PT_ALL(base_reg, pt_psr, pt_pc, pt_npc, scratch) \ argument
59 LOAD_PT_YREG(base_reg, scratch) \
76 #define STORE_PT_YREG(base_reg, scratch) \ argument
77 rd %y, %scratch; \
78 st %scratch, [%base_reg + STACKFRAME_SZ + PT_Y];
91 #define SAVE_BOLIXED_USER_STACK(cur_reg, scratch) \ argument
92 ld [%cur_reg + TI_W_SAVED], %scratch; \
[all …]
/arch/arc/include/asm/
Dirqflags.h154 .macro IRQ_DISABLE scratch
155 lr \scratch, [status32]
156 bic \scratch, \scratch, (STATUS_E1_MASK | STATUS_E2_MASK)
157 flag \scratch
161 .macro IRQ_ENABLE scratch
163 lr \scratch, [status32]
164 or \scratch, \scratch, (STATUS_E1_MASK | STATUS_E2_MASK)
165 flag \scratch
/arch/blackfin/include/asm/
Dblackfin.h65 #define SSYNC(scratch) \ argument
66 cli scratch; \
69 sti scratch;
71 #define CSYNC(scratch) \ argument
72 cli scratch; \
75 sti scratch;
78 #define SSYNC(scratch) SSYNC; argument
79 #define CSYNC(scratch) CSYNC; argument
Dcontext.S390 .macro pseudo_long_call func:req, scratch:req
392 \scratch\().l = \func;
393 \scratch\().h = \func;
394 call (\scratch);
/arch/avr32/include/asm/
Dasm.h88 .macro branch_if_kernel scratch, label
89 get_thread_info \scratch
90 ld.w \scratch, \scratch[TI_flags]
91 bld \scratch, TIF_USERSPACE
95 .macro ret_if_privileged scratch, addr, size, ret
96 sub \scratch, \size, 1
97 add \scratch, \addr
/arch/alpha/kernel/
Derr_marvel.c152 int scratch, i; in marvel_print_po7_uncrr_sym() local
197 scratch = EXTRACT(uncrr_sym, IO7__PO7_UNCRR_SYM__CLK); in marvel_print_po7_uncrr_sym()
198 for (i = 0; i < 4; i++, scratch >>= 2) { in marvel_print_po7_uncrr_sym()
199 if (scratch & 0x3) in marvel_print_po7_uncrr_sym()
202 clk_names[i], clk_decode[scratch & 0x3]); in marvel_print_po7_uncrr_sym()
231 if ((scratch = EXTRACT(uncrr_sym, IO7__PO7_UNCRR_SYM__VICTIM_SP))) { in marvel_print_po7_uncrr_sym()
232 int lost = scratch & (1UL << 4); in marvel_print_po7_uncrr_sym()
233 scratch &= ~lost; in marvel_print_po7_uncrr_sym()
234 for (i = 0; i < 8; i++, scratch >>= 1) { in marvel_print_po7_uncrr_sym()
235 if (!(scratch & 1)) in marvel_print_po7_uncrr_sym()
[all …]
/arch/mips/mm/
Dtlbex.c1025 const int scratch = 1; /* Our extra working register */ in build_update_entries() local
1027 uasm_i_addu(p, scratch, 0, ptep); in build_update_entries()
1036 uasm_i_lw(p, tmp, 0, scratch); in build_update_entries()
1037 uasm_i_lw(p, ptep, sizeof(pte_t), scratch); in build_update_entries()
1038 uasm_i_lui(p, scratch, 0xff); in build_update_entries()
1039 uasm_i_ori(p, scratch, scratch, 0xffff); in build_update_entries()
1040 uasm_i_and(p, tmp, scratch, tmp); in build_update_entries()
1041 uasm_i_and(p, ptep, scratch, ptep); in build_update_entries()
1086 const int scratch = 1; /* Our extra working register */ in build_fast_tlb_refill_handler() local
1088 rv.huge_pte = scratch; in build_fast_tlb_refill_handler()
[all …]
/arch/arc/kernel/
Dsignal.c70 err = __copy_to_user(&(sf->uc.uc_mcontext.regs.scratch), regs, in stash_usr_regs()
71 sizeof(sf->uc.uc_mcontext.regs.scratch)); in stash_usr_regs()
86 err |= __copy_from_user(regs, &(sf->uc.uc_mcontext.regs.scratch), in restore_usr_regs()
87 sizeof(sf->uc.uc_mcontext.regs.scratch)); in restore_usr_regs()
Dptrace.c50 REG_O_CHUNK(scratch, callee, ptregs); in genregs_get()
101 REG_IN_CHUNK(scratch, pad2, ptregs); /* pt_regs[bta..sp] */ in genregs_set()
/arch/sparc/lib/
DNG4copy_page.S12 .register %g2, #scratch
13 .register %g3, #scratch
Dcopy_in_user.S19 .register %g2,#scratch
20 .register %g3,#scratch
DNG4clear_page.S11 .register %g3, #scratch
DGENmemcpy.S44 .register %g2,#scratch
45 .register %g3,#scratch
DNG4memset.S8 .register %g2, #scratch
9 .register %g3, #scratch
Dffs.S3 .register %g2,#scratch
/arch/powerpc/boot/
Dgunzip_util.h36 char scratch[46912]; member
Dgunzip_util.c54 state->s.workspace = state->scratch; in gunzip_start()
55 if (zlib_inflate_workspacesize() > sizeof(state->scratch)) in gunzip_start()
/arch/powerpc/kvm/
Dbooke_interrupts.S56 .macro __KVM_HANDLER ivor_nr scratch srr0
58 mtspr \scratch , r4
64 mfspr r3, \scratch
77 .macro KVM_HANDLER ivor_nr scratch srr0
79 __KVM_HANDLER \ivor_nr \scratch \srr0
82 .macro KVM_DBG_HANDLER ivor_nr scratch srr0
84 mtspr \scratch, r4
103 mfspr r4, \scratch
110 mfspr r4, \scratch
111 __KVM_HANDLER \ivor_nr \scratch \srr0
/arch/arc/include/uapi/asm/
Dptrace.h41 } 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/x86/lguest/
Dboot.c1191 char scratch[17]; in early_put_chars() local
1195 if (len > sizeof(scratch) - 1) in early_put_chars()
1196 len = sizeof(scratch) - 1; in early_put_chars()
1197 scratch[len] = '\0'; in early_put_chars()
1198 memcpy(scratch, buf, len); in early_put_chars()
1199 hcall(LHCALL_NOTIFY, __pa(scratch), 0, 0, 0); in early_put_chars()
/arch/s390/kernel/
Dentry64.S84 .macro HANDLE_SIE_INTERCEPT scratch,reason
88 lgr \scratch,%r9
89 slg \scratch,BASED(.Lsie_critical)
90 clg \scratch,BASED(.Lsie_critical_length)
138 .macro UPDATE_VTIME scratch,enter_timer
139 lg \scratch,__LC_EXIT_TIMER
140 slg \scratch,\enter_timer
141 alg \scratch,__LC_USER_TIMER
142 stg \scratch,__LC_USER_TIMER
143 lg \scratch,__LC_LAST_UPDATE_TIMER
[all …]
/arch/x86/kernel/
Dasm-offsets.c64 OFFSET(BP_scratch, boot_params, scratch); in common()
/arch/arm/boot/dts/
Dqcom-ipq8064-ap148.dts78 label = "scratch";
/arch/arm/kernel/
Dprobes.c36 int addr, scratch, ret; in find_str_pc_offset() local
43 : [ret] "=r" (ret), [scr] "=r" (scratch), [addr] "+m" (addr)); in find_str_pc_offset()

123