Home
last modified time | relevance | path

Searched refs:__volatile__ (Results 1 – 25 of 569) sorted by relevance

12345678910>>...23

/kernel/linux/linux-5.10/arch/sh/include/asm/
Dkexec.h41 __asm__ __volatile__ ("mov r0, %0" : "=r" (newregs->regs[0])); in crash_setup_regs()
42 __asm__ __volatile__ ("mov r1, %0" : "=r" (newregs->regs[1])); in crash_setup_regs()
43 __asm__ __volatile__ ("mov r2, %0" : "=r" (newregs->regs[2])); in crash_setup_regs()
44 __asm__ __volatile__ ("mov r3, %0" : "=r" (newregs->regs[3])); in crash_setup_regs()
45 __asm__ __volatile__ ("mov r4, %0" : "=r" (newregs->regs[4])); in crash_setup_regs()
46 __asm__ __volatile__ ("mov r5, %0" : "=r" (newregs->regs[5])); in crash_setup_regs()
47 __asm__ __volatile__ ("mov r6, %0" : "=r" (newregs->regs[6])); in crash_setup_regs()
48 __asm__ __volatile__ ("mov r7, %0" : "=r" (newregs->regs[7])); in crash_setup_regs()
49 __asm__ __volatile__ ("mov r8, %0" : "=r" (newregs->regs[8])); in crash_setup_regs()
50 __asm__ __volatile__ ("mov r9, %0" : "=r" (newregs->regs[9])); in crash_setup_regs()
[all …]
Dspinlock-llsc.h31 __asm__ __volatile__ ( in arch_spin_lock()
52 __asm__ __volatile__ ( in arch_spin_unlock()
65 __asm__ __volatile__ ( in arch_spin_trylock()
94 __asm__ __volatile__ ( in arch_read_lock()
112 __asm__ __volatile__ ( in arch_read_unlock()
128 __asm__ __volatile__ ( in arch_write_lock()
144 __asm__ __volatile__ ( in arch_write_unlock()
156 __asm__ __volatile__ ( in arch_read_trylock()
179 __asm__ __volatile__ ( in arch_write_trylock()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dspitfire.h99 __asm__ __volatile__("stxa %0, [%1] %2\n\t" in spitfire_put_dcache_tag()
113 __asm__ __volatile__("stxa %0, [%1] %2\n\t" in spitfire_put_icache_tag()
123 __asm__ __volatile__("ldxa [%1] %2, %0" in spitfire_get_dtlb_data()
137 __asm__ __volatile__("ldxa [%1] %2, %0" in spitfire_get_dtlb_tag()
145 __asm__ __volatile__("stxa %0, [%1] %2\n\t" in spitfire_put_dtlb_data()
156 __asm__ __volatile__("ldxa [%1] %2, %0" in spitfire_get_itlb_data()
170 __asm__ __volatile__("ldxa [%1] %2, %0" in spitfire_get_itlb_tag()
178 __asm__ __volatile__("stxa %0, [%1] %2\n\t" in spitfire_put_itlb_data()
187 __asm__ __volatile__("stxa %%g0, [%0] %1\n\t" in spitfire_flush_dtlb_nucleus_page()
195 __asm__ __volatile__("stxa %%g0, [%0] %1\n\t" in spitfire_flush_itlb_nucleus_page()
[all …]
Dsunbpp.h11 __volatile__ __u32 p_csr; /* DMA Control/Status Register */
12 __volatile__ __u32 p_addr; /* Address Register */
13 __volatile__ __u32 p_bcnt; /* Byte Count Register */
14 __volatile__ __u32 p_tst_csr; /* Test Control/Status (DMA2 only) */
16 __volatile__ __u16 p_hcr; /* Hardware Configuration Register */
17 __volatile__ __u16 p_ocr; /* Operation Configuration Register */
18 __volatile__ __u8 p_dr; /* Parallel Data Register */
19 __volatile__ __u8 p_tcr; /* Transfer Control Register */
20 __volatile__ __u8 p_or; /* Output Register */
21 __volatile__ __u8 p_ir; /* Input Register */
[all …]
Dviking.h117 __asm__ __volatile__("sta %%g0, [%%g0] %0\n\t" in viking_flush_icache()
125 __asm__ __volatile__("sta %%g0, [%%g0] %0\n\t" in viking_flush_dcache()
133 __asm__ __volatile__("sta %%g0, [%0] %1\n\t" in viking_unlock_icache()
141 __asm__ __volatile__("sta %%g0, [%0] %1\n\t" in viking_unlock_dcache()
149 __asm__ __volatile__("sta %0, [%%g0] %1\n\t" in viking_set_bpreg()
159 __asm__ __volatile__("lda [%%g0] %1, %0\n\t" in viking_get_bpreg()
172 __asm__ __volatile__ ("ldda [%2] %3, %%g2\n\t" in viking_get_dcache_ptag()
191 __asm__ __volatile__ ("set 1f, %%g2\n\t" in viking_mxcc_turn_off_parity()
220 __asm__ __volatile__("lda [%1] %2, %0\n\t" in viking_hwprobe()
227 __asm__ __volatile__("lda [%1] %2, %0\n\t" in viking_hwprobe()
[all …]
Dobio.h106 __asm__ __volatile__ ("lduha [%1] %2, %0" : in bw_get_intr_mask()
115 __asm__ __volatile__ ("stha %0, [%1] %2" : : in bw_clear_intr_mask()
125 __asm__ __volatile__ ("lda [%1] %2, %0" : in bw_get_prof_limit()
134 __asm__ __volatile__ ("sta %0, [%1] %2" : : in bw_set_prof_limit()
144 __asm__ __volatile__ ("lda [%1] %2, %0" : in bw_get_ctrl()
153 __asm__ __volatile__ ("sta %0, [%1] %2" : : in bw_set_ctrl()
163 __asm__ __volatile__ ("lduha [%1] %2, %0" : in cc_get_ipen()
172 __asm__ __volatile__ ("stha %0, [%1] %2" : : in cc_set_iclr()
182 __asm__ __volatile__ ("lduha [%1] %2, %0" : in cc_get_imsk()
191 __asm__ __volatile__ ("stha %0, [%1] %2" : : in cc_set_imsk()
[all …]
Dspinlock_32.h20 __asm__ __volatile__( in arch_spin_lock()
41 __asm__ __volatile__("ldstub [%1], %0" in arch_spin_trylock()
50 __asm__ __volatile__("stb %%g0, [%0]" : : "r" (lock) : "memory"); in arch_spin_unlock()
83 __asm__ __volatile__( in __arch_read_lock()
103 __asm__ __volatile__( in __arch_read_unlock()
123 __asm__ __volatile__( in arch_write_lock()
135 __asm__ __volatile__( in arch_write_unlock()
146 __asm__ __volatile__("ldstub [%1 + 3], %0" in arch_write_trylock()
167 __asm__ __volatile__( in __arch_read_trylock()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dbarrier.h7 #define nop() __asm__ __volatile__("mov\tr0,r0\t@ nop\n\t");
11 #define sev() __asm__ __volatile__ ("sev" : : : "memory")
12 #define wfe() __asm__ __volatile__ ("wfe" : : : "memory")
13 #define wfi() __asm__ __volatile__ ("wfi" : : : "memory")
19 #define isb(option) __asm__ __volatile__ ("isb " #option : : : "memory")
20 #define dsb(option) __asm__ __volatile__ ("dsb " #option : : : "memory")
21 #define dmb(option) __asm__ __volatile__ ("dmb " #option : : : "memory")
27 #define csdb() __asm__ __volatile__(CSDB : : : "memory")
29 #define isb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c5, 4" \
31 #define dsb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/
Dmips-extns.h51 __asm__ __volatile__( \
73 __asm__ __volatile__( in ack_c0_eirr()
86 __asm__ __volatile__( in set_c0_eimr()
101 __asm__ __volatile__( in clear_c0_eimr()
126 __asm__ __volatile__( in read_c0_eirr_and_eimr()
181 __asm__ __volatile__( \
190 __asm__ __volatile__( \
209 __asm__ __volatile__( \
219 __asm__ __volatile__( \
234 __asm__ __volatile__( \
[all …]
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/crypto/
Docteon-crypto.h33 __asm__ __volatile__ ( \
46 __asm__ __volatile__ ( \
59 __asm__ __volatile__ ( \
70 __asm__ __volatile__ ( \
81 __asm__ __volatile__ ( \
92 __asm__ __volatile__ ( \
107 __asm__ __volatile__ ( \
120 __asm__ __volatile__ ( \
133 __asm__ __volatile__ ( \
144 __asm__ __volatile__ ( \
[all …]
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dtlbflush.h67 __asm__ __volatile__("pitlb %0, %1\n\t" : "=a" (tmp) : "a" (addr)); in itlb_probe()
74 __asm__ __volatile__("pdtlb %0, %1\n\t" : "=a" (tmp) : "a" (addr)); in dtlb_probe()
80 __asm__ __volatile__("iitlb %0; isync\n\t" : : "a" (probe)); in invalidate_itlb_entry()
85 __asm__ __volatile__("idtlb %0; dsync\n\t" : : "a" (probe)); in invalidate_dtlb_entry()
96 __asm__ __volatile__ ("iitlb %0\n" : : "a" (entry) ); in invalidate_itlb_entry_no_isync()
102 __asm__ __volatile__ ("idtlb %0\n" : : "a" (entry) ); in invalidate_dtlb_entry_no_isync()
107 __asm__ __volatile__("wsr %0, itlbcfg\n\t" "isync\n\t" in set_itlbcfg_register()
113 __asm__ __volatile__("wsr %0, dtlbcfg; dsync\n\t" in set_dtlbcfg_register()
119 __asm__ __volatile__(" wsr %0, ptevaddr; isync\n" in set_ptevaddr_register()
126 __asm__ __volatile__("rsr %0, ptevaddr\n\t" : "=a" (tmp)); in read_ptevaddr_register()
[all …]
/kernel/linux/linux-5.10/arch/x86/lib/
Dmmx_32.c52 __asm__ __volatile__ ( in _mmx_memcpy()
67 __asm__ __volatile__ ( in _mmx_memcpy()
97 __asm__ __volatile__ ( in _mmx_memcpy()
142 __asm__ __volatile__ ( in fast_clear_page()
147 __asm__ __volatile__ ( in fast_clear_page()
164 __asm__ __volatile__("sfence\n"::); in fast_clear_page()
179 __asm__ __volatile__( in fast_copy_page()
193 __asm__ __volatile__ ( in fast_copy_page()
222 __asm__ __volatile__ ( in fast_copy_page()
247 __asm__ __volatile__("sfence \n"::); in fast_copy_page()
[all …]
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dmovs.h14 __asm__ __volatile__ (" movec %0,%/dfc" : : "d" (x));
19 __asm__ __volatile__ (" movec %/dfc, %0" : "=d" (x) : );
24 __asm__ __volatile__ (" movec %0,%/sfc" : : "d" (x));
29 __asm__ __volatile__ (" movec %/sfc, %0" : "=d" (x) : );
32 __asm__ __volatile__ (" movec %0,%/vbr" : : "r" (x));
35 __asm__ __volatile__ (" movec %/vbr, %0" : "=g" (x) : );
40 __asm__ __volatile__ (" movsb %0, %1@" : : "d" (value), "a" (addr));
45 __asm__ __volatile__ (" movsb %1@, %0" : "=d" (value) : "a" (addr));
50 __asm__ __volatile__ (" movsl %0, %1@" : : "d" (value), "a" (addr));
55 __asm__ __volatile__ (" movsl %1@, %0" : "=d" (value) : "a" (addr));
Dbitops.h35 __asm__ __volatile__ ("bset %1,(%0)" in bset_reg_set_bit()
45 __asm__ __volatile__ ("bset %1,%0" in bset_mem_set_bit()
52 __asm__ __volatile__ ("bfset %1{%0:#1}" in bfset_mem_set_bit()
75 __asm__ __volatile__ ("bclr %1,(%0)" in bclr_reg_clear_bit()
85 __asm__ __volatile__ ("bclr %1,%0" in bclr_mem_clear_bit()
92 __asm__ __volatile__ ("bfclr %1{%0:#1}" in bfclr_mem_clear_bit()
115 __asm__ __volatile__ ("bchg %1,(%0)" in bchg_reg_change_bit()
125 __asm__ __volatile__ ("bchg %1,%0" in bchg_mem_change_bit()
132 __asm__ __volatile__ ("bfchg %1{%0:#1}" in bfchg_mem_change_bit()
163 __asm__ __volatile__ ("bset %2,(%1); sne %0" in bset_reg_test_and_set_bit()
[all …]
/kernel/linux/linux-5.10/arch/arc/include/asm/
Duaccess.h76 __asm__ __volatile__( \
96 __asm__ __volatile__( \
131 __asm__ __volatile__( \
148 __asm__ __volatile__( \
183 __asm__ __volatile__ ( in raw_copy_from_user()
222 __asm__ __volatile__( in raw_copy_from_user()
254 __asm__ __volatile__( in raw_copy_from_user()
278 __asm__ __volatile__( in raw_copy_from_user()
298 __asm__ __volatile__( in raw_copy_from_user()
316 __asm__ __volatile__( in raw_copy_from_user()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dio.h16 __asm__ __volatile__("lbz%U1%X1 %0,%1; twi 0,%0,0; isync" in in_8()
23 __asm__ __volatile__("stb%U0%X0 %1,%0; sync" in out_8()
31 __asm__ __volatile__("lhbrx %0,0,%1; twi 0,%0,0; isync" in in_le16()
41 __asm__ __volatile__("lhz%U1%X1 %0,%1; twi 0,%0,0; isync" in in_be16()
48 __asm__ __volatile__("sthbrx %1,0,%2; sync" : "=m" (*addr) in out_le16()
54 __asm__ __volatile__("sth%U0%X0 %1,%0; sync" in out_be16()
62 __asm__ __volatile__("lwbrx %0,0,%1; twi 0,%0,0; isync" in in_le32()
71 __asm__ __volatile__("lwz%U1%X1 %0,%1; twi 0,%0,0; isync" in in_be32()
78 __asm__ __volatile__("stwbrx %1,0,%2; sync" : "=m" (*addr) in out_le32()
84 __asm__ __volatile__("stw%U0%X0 %1,%0; sync" in out_be32()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Datomic.h20 __asm__ __volatile__(PPC_ACQUIRE_BARRIER "" : : : "memory")
23 __asm__ __volatile__(PPC_RELEASE_BARRIER "" : : : "memory")
29 __asm__ __volatile__("lwz%U1%X1 %0,%1" : "=r"(t) : "m"(v->counter)); in atomic_read()
36 __asm__ __volatile__("stw%U0%X0 %1,%0" : "=m"(v->counter) : "r"(i)); in atomic_set()
44 __asm__ __volatile__( \
59 __asm__ __volatile__( \
76 __asm__ __volatile__( \
124 __asm__ __volatile__( in ATOMIC_OPS()
139 __asm__ __volatile__( in atomic_inc_return_relaxed()
155 __asm__ __volatile__( in atomic_dec()
[all …]
/kernel/liteos_a/arch/arm/arm/include/
Dlos_atomic.h125 __asm__ __volatile__("ldrex %1, [%2]\n" in LOS_AtomicAdd()
163 __asm__ __volatile__("ldrex %1, [%2]\n" in LOS_AtomicSub()
199 __asm__ __volatile__("ldrex %0, [%3]\n" in LOS_AtomicInc()
233 __asm__ __volatile__("ldrex %0, [%3]\n" in LOS_AtomicIncRet()
269 __asm__ __volatile__("ldrex %0, [%3]\n" in LOS_AtomicDec()
303 __asm__ __volatile__("ldrex %0, [%3]\n" in LOS_AtomicDecRet()
337 __asm__ __volatile__("ldrexd %0, %H0, [%1]" in LOS_Atomic64Read()
371 __asm__ __volatile__("ldrexd %1, %H1, [%2]\n" in LOS_Atomic64Set()
406 __asm__ __volatile__("ldrexd %1, %H1, [%2]\n" in LOS_Atomic64Add()
445 __asm__ __volatile__("ldrexd %1, %H1, [%2]\n" in LOS_Atomic64Sub()
[all …]
/kernel/linux/linux-5.10/arch/m68k/kernel/
Dsys_m68k.c57 __asm__ __volatile__ (".chip 68040\n\t" \
79 __asm__ __volatile__ ("nop\n\t" in cache_flush_040()
85 __asm__ __volatile__ ("nop\n\t" in cache_flush_040()
92 __asm__ __volatile__ ("nop\n\t" in cache_flush_040()
131 __asm__ __volatile__ ("nop\n\t" in cache_flush_040()
138 __asm__ __volatile__ ("nop\n\t" in cache_flush_040()
146 __asm__ __volatile__ ("nop\n\t" in cache_flush_040()
188 __asm__ __volatile__ ("nop\n\t" in cache_flush_040()
195 __asm__ __volatile__ ("nop\n\t" in cache_flush_040()
203 __asm__ __volatile__ ("nop\n\t" in cache_flush_040()
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dhazards.h69 __asm__ __volatile__( \
145 __asm__ __volatile__( \
323 __asm__ __volatile__( \
330 __asm__ __volatile__( \
338 __asm__ __volatile__( \
346 __asm__ __volatile__( \
354 __asm__ __volatile__( \
362 __asm__ __volatile__( \
370 __asm__ __volatile__( \
378 __asm__ __volatile__( \
[all …]
Dunaligned-emul.h10 __asm__ __volatile__ (".set\tnoat\n" \
33 __asm__ __volatile__ ( \
55 __asm__ __volatile__ ( \
90 __asm__ __volatile__ ( \
115 __asm__ __volatile__ ( \
137 __asm__ __volatile__ ( \
159 __asm__ __volatile__ ( \
192 __asm__ __volatile__ ( \
244 __asm__ __volatile__ ( \
268 __asm__ __volatile__ ( \
[all …]
/kernel/linux/linux-5.10/arch/microblaze/kernel/cpu/
Dcache.c20 __asm__ __volatile__ (" msrset r0, %0;" \ in __enable_icache_msr()
27 __asm__ __volatile__ (" msrclr r0, %0;" \ in __disable_icache_msr()
34 __asm__ __volatile__ (" msrset r0, %0;" \ in __enable_dcache_msr()
41 __asm__ __volatile__ (" msrclr r0, %0;" \ in __disable_dcache_msr()
48 __asm__ __volatile__ (" mfs r12, rmsr;" \ in __enable_icache_nomsr()
58 __asm__ __volatile__ (" mfs r12, rmsr;" \ in __disable_icache_nomsr()
68 __asm__ __volatile__ (" mfs r12, rmsr;" \ in __enable_dcache_nomsr()
78 __asm__ __volatile__ (" mfs r12, rmsr;" \ in __disable_dcache_nomsr()
110 __asm__ __volatile__ (" 1: " #op " %0, r0;" \
134 __asm__ __volatile__ (" 1: " #op " %0, %1;" \
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h91 __asm__ __volatile__("lfence; rdtsc; lfence" : "=a"(eax), "=d"(edx)); in rdtsc()
100 __asm__ __volatile__("rdtscp" : "=a"(eax), "=d"(edx), "=c"(*aux)); in rdtscp()
108 __asm__ __volatile__("rdmsr" : "=a"(a), "=d"(d) : "c"(msr) : "memory"); in rdmsr()
118 __asm__ __volatile__("wrmsr" :: "a"(a), "d"(d), "c"(msr) : "memory"); in wrmsr()
126 __asm__ __volatile__("in %%dx, %%ax" in inw()
137 __asm__ __volatile__("mov %%es, %[es]" in get_es()
146 __asm__ __volatile__("mov %%cs, %[cs]" in get_cs()
155 __asm__ __volatile__("mov %%ss, %[ss]" in get_ss()
164 __asm__ __volatile__("mov %%ds, %[ds]" in get_ds()
173 __asm__ __volatile__("mov %%fs, %[fs]" in get_fs()
[all …]
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dspecial_insns.h7 __asm__ __volatile__( \
21 __asm__ __volatile__( \
35 __asm__ __volatile__( \
43 __asm__ __volatile__("mtctl %0,%1" \
57 __asm__ __volatile__( \
66 __asm__ __volatile__("mtsp %%r0,%0" : : "i" (cr) : "memory"); \
68 __asm__ __volatile__("mtsp %0,%1" \
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dcmpxchg.h21 __asm__ __volatile__ ( \
28 __asm__ __volatile__ ( \
54 __asm__ __volatile__ ( \
62 __asm__ __volatile__ ( \
89 __asm__ __volatile__ ( \
97 __asm__ __volatile__ ( \
124 __asm__ __volatile__ ( \
131 __asm__ __volatile__ ( \
175 __asm__ __volatile__ ( \
186 __asm__ __volatile__ ( \
[all …]

12345678910>>...23