Home
last modified time | relevance | path

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

12345678910>>...28

/OK3568_Linux_fs/u-boot/arch/m68k/lib/
H A Dcache.c37 __asm__ __volatile__("movec %0, %%acr2"::"r"(CONFIG_SYS_CACHE_ACR2)); in icache_enable()
38 __asm__ __volatile__("movec %0, %%acr3"::"r"(CONFIG_SYS_CACHE_ACR3)); in icache_enable()
40 __asm__ __volatile__("movec %0, %%acr6"::"r"(CONFIG_SYS_CACHE_ACR6)); in icache_enable()
41 __asm__ __volatile__("movec %0, %%acr7"::"r"(CONFIG_SYS_CACHE_ACR7)); in icache_enable()
44 __asm__ __volatile__("movec %0, %%acr0"::"r"(CONFIG_SYS_CACHE_ACR0)); in icache_enable()
45 __asm__ __volatile__("movec %0, %%acr1"::"r"(CONFIG_SYS_CACHE_ACR1)); in icache_enable()
48 __asm__ __volatile__("movec %0, %%cacr"::"r"(CONFIG_SYS_CACHE_ICACR)); in icache_enable()
59 __asm__ __volatile__("movec %0, %%acr2"::"r"(temp)); in icache_disable()
60 __asm__ __volatile__("movec %0, %%acr3"::"r"(temp)); in icache_disable()
62 __asm__ __volatile__("movec %0, %%acr6"::"r"(temp)); in icache_disable()
[all …]
/OK3568_Linux_fs/kernel/arch/sh/include/asm/
H A 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 …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dcompiler.h141 #define write_mem_barrier() __asm__ __volatile__ ("sfence" : : : "memory")
143 #define write_mem_barrier() __asm__ __volatile__ ("lock; addl $0,0(%%esp)" : : : "memory")
147 #define mem_barrier() __asm__ __volatile__ ("mfence" : : : "memory")
149 #define mem_barrier() __asm__ __volatile__ ("lock; addl $0,0(%%esp)" : : : "memory")
154 #define mem_barrier() __asm__ __volatile__ ("mb" : : : "memory")
155 #define write_mem_barrier() __asm__ __volatile__ ("wmb" : : : "memory")
159 #define mem_barrier() __asm__ __volatile__ ("mfence" : : : "memory")
160 #define write_mem_barrier() __asm__ __volatile__ ("sfence" : : : "memory")
165 #define mem_barrier() __asm__ __volatile__ ("mf" : : : "memory")
166 #define write_mem_barrier() __asm__ __volatile__ ("mf" : : : "memory")
[all …]
/OK3568_Linux_fs/kernel/arch/sparc/include/asm/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/u-boot/arch/microblaze/include/asm/
H A Dasm.h11 __asm__ __volatile__ ("nget %0, rfsl" #fslnum :"=r" (val));
14 __asm__ __volatile__ ("get %0, rfsl" #fslnum :"=r" (val));
17 __asm__ __volatile__ ("ncget %0, rfsl" #fslnum :"=r" (val));
20 __asm__ __volatile__ ("cget %0, rfsl" #fslnum :"=r" (val));
23 __asm__ __volatile__ ("nput %0, rfsl" #fslnum ::"r" (val));
26 __asm__ __volatile__ ("put %0, rfsl" #fslnum ::"r" (val));
29 __asm__ __volatile__ ("ncput %0, rfsl" #fslnum ::"r" (val));
32 __asm__ __volatile__ ("cput %0, rfsl" #fslnum ::"r" (val));
37 __asm__ __volatile__ ("mfs %0," #reg :"=r" (val));
40 __asm__ __volatile__ ("mts " #reg ", %0"::"r" (val));
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-exynos/include/mach/
H A Dsystem.h45 #define sev() __asm__ __volatile__ ("sev\n\t" : : );
57 #define wfe() __asm__ __volatile__ ("wfe\n\t" : : );
60 #define svc32_mode_en() __asm__ __volatile__ \
65 #define set_pc(x) __asm__ __volatile__ ("mov pc, %0\n\t" : : "r"(x))
68 #define branch_bx(x) __asm__ __volatile__ ("bx %0\n\t" : : "r"(x))
71 #define mrc_midr(x) __asm__ __volatile__ \
75 #define mrc_mpafr(x) __asm__ __volatile__ \
79 #define mrc_sctlr(x) __asm__ __volatile__ \
83 #define mrc_auxr(x) __asm__ __volatile__ \
87 #define mrc_l2_ctlr(x) __asm__ __volatile__ \
[all …]
/OK3568_Linux_fs/kernel/arch/arm/include/asm/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/mips/include/asm/netlogic/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/mips/cavium-octeon/crypto/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/xtensa/include/asm/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/x86/lib/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/arc/include/asm/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/m68k/include/asm/
H A 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));
H A 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 …]
/OK3568_Linux_fs/kernel/arch/m68k/kernel/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/u-boot/board/sbc8641d/
H A Dsbc8641d.c244 __asm__ __volatile__ ("mfspr 3, 1008" ::: "r3"); in board_reset()
245 __asm__ __volatile__ ("ori 5, 5, 0xcc00" ::: "r5"); in board_reset()
246 __asm__ __volatile__ ("ori 4, 3, 0xc00" ::: "r4"); in board_reset()
247 __asm__ __volatile__ ("andc 5, 3, 5" ::: "r5"); in board_reset()
248 __asm__ __volatile__ ("sync"); in board_reset()
249 __asm__ __volatile__ ("mtspr 1008, 4"); in board_reset()
250 __asm__ __volatile__ ("isync"); in board_reset()
251 __asm__ __volatile__ ("sync"); in board_reset()
252 __asm__ __volatile__ ("mtspr 1008, 5"); in board_reset()
253 __asm__ __volatile__ ("isync"); in board_reset()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/boot/
H A 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()
/OK3568_Linux_fs/kernel/arch/microblaze/kernel/cpu/
H A 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 …]
/OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc83xx/
H A Decc.c195 __asm__ __volatile__("sync"); in do_ecc()
196 __asm__ __volatile__("isync"); in do_ecc()
253 __asm__ __volatile__("sync"); in do_ecc()
254 __asm__ __volatile__("isync"); in do_ecc()
286 __asm__ __volatile__("sync"); in do_ecc()
287 __asm__ __volatile__("isync"); in do_ecc()
291 __asm__ __volatile__("sync"); in do_ecc()
295 __asm__ __volatile__("sync"); in do_ecc()
296 __asm__ __volatile__("isync"); in do_ecc()
300 __asm__ __volatile__("sync"); in do_ecc()
[all …]

12345678910>>...28