Searched refs:barrier (Results 1 - 25 of 30) sorted by relevance

12

/u-boot/arch/arm/include/asm/
H A Datomic.h27 #define smp_mb__before_atomic_dec() barrier()
28 #define smp_mb__after_atomic_dec() barrier()
29 #define smp_mb__before_atomic_inc() barrier()
30 #define smp_mb__after_atomic_inc() barrier()
H A Dprocessor.h125 #define cpu_relax() barrier()
/u-boot/include/linux/
H A Dcompiler-intel.h16 #define barrier() __memory_barrier() macro
17 #define barrier_data(ptr) barrier()
24 /* This should act as an optimization barrier on var.
25 * Given that this compiler does not have inline assembly, a compiler barrier
28 #define OPTIMIZER_HIDE_VAR(var) barrier()
H A Dcompiler-clang.h44 #define barrier() __asm__ __volatile__("" : : : "memory") macro
H A Dcompiler.h81 /* Optimization barrier */
82 #ifndef barrier
83 # define barrier() __memory_barrier() macro
87 # define barrier_data(ptr) barrier()
190 barrier(); \
192 barrier(); \
228 barrier();
230 barrier();
253 * with an explicit memory barrier or atomic instruction that provides the
H A Dcompiler-gcc.h17 /* Optimization barrier */
20 #define barrier() __asm__ __volatile__("": : :"memory") macro
24 * normal barrier(): while gcc behavior gets along with a normal
25 * barrier(), llvm needs an explicit input variable to be assumed
116 * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
/u-boot/arch/microblaze/include/asm/
H A Dsystem.h127 #define smp_mb() barrier ()
128 #define smp_rmb() barrier ()
129 #define smp_wmb() barrier ()
H A Dbitops.h61 * clear_bit() doesn't provide any barrier for the compiler.
63 #define smp_mb__before_clear_bit() barrier()
64 #define smp_mb__after_clear_bit() barrier()
/u-boot/arch/x86/include/asm/
H A Dmp.h36 * provides a barrier for each AP before calling the callback or the APs
41 * barrier allowing the APs to make further progress.
46 * @barrier: Ensures that the BSP and AP don't run the flight record at the same
55 atomic_t barrier; member in struct:mp_flight_record
65 .barrier = ATOMIC_INIT(barrier_), \
H A Dbitops.h72 * not contain a memory barrier, so if it is used for locking purposes,
83 #define smp_mb__before_clear_bit() barrier()
84 #define smp_mb__after_clear_bit() barrier()
126 * It also implies a memory barrier.
165 * It also implies a memory barrier.
216 * It also implies a memory barrier.
/u-boot/arch/sh/include/asm/
H A Dsystem.h84 * A brief note on ctrl_barrier(), the control register write barrier.
91 * Historically we have only done this type of barrier for the MMUCR, but
106 #define smp_mb() barrier()
107 #define smp_rmb() barrier()
108 #define smp_wmb() barrier()
207 local_irq_restore(flags); /* implies memory barrier */
H A Dbitops.h28 * clear_bit() doesn't provide any barrier for the compiler.
30 #define smp_mb__before_clear_bit() barrier()
31 #define smp_mb__after_clear_bit() barrier()
/u-boot/arch/mips/include/asm/
H A Dsystem.h178 #define smp_mb() barrier()
179 #define smp_rmb() barrier()
180 #define smp_wmb() barrier()
H A Dprocessor.h105 #define cpu_relax() barrier()
H A Dbitops.h23 * clear_bit() doesn't provide any barrier for the compiler.
25 #define smp_mb__before_clear_bit() barrier()
26 #define smp_mb__after_clear_bit() barrier()
102 * not contain a memory barrier, so if it is used for locking purposes,
167 * It also implies a memory barrier.
218 * It also implies a memory barrier.
270 * It also implies a memory barrier.
365 * not contain a memory barrier, so if it is used for locking purposes,
426 * It also implies a memory barrier.
472 * It also implies a memory barrier
[all...]
H A Dio.h58 barrier();
/u-boot/arch/arm/include/asm/xen/
H A Dsystem.h57 /* As test_bit, but with a following memory barrier. */
64 barrier();
/u-boot/arch/riscv/lib/
H A Dsmp.c9 #include <asm/barrier.h>
/u-boot/drivers/misc/
H A Dqfw.c56 barrier();
/u-boot/arch/x86/cpu/
H A Dmp_init.c66 * mp_flight_record->barrier to 1 to allow the APs to executed the record one
210 barrier_wait(&rec->barrier);
516 if (atomic_read(&rec->barrier) == 0) {
528 release_barrier(&rec->barrier);
/u-boot/drivers/net/
H A Dzynq_gem.c639 barrier();
686 barrier();
720 barrier();
843 barrier();
H A Dmacb.c361 barrier();
370 barrier();
446 barrier();
523 barrier();
H A Dpcnet.c294 barrier();
/u-boot/drivers/xen/
H A Dpvblock.c45 int barrier; member in struct:blkfront_info
256 snprintf(path, sizeof(path), "%s/feature-barrier",
258 dev->info.barrier = xenbus_read_integer(path);
408 printf("write barrier error %d\n", status);
512 barrier();
573 if (dev->info.barrier == 1)
/u-boot/arch/riscv/include/asm/
H A Dio.h11 #include <asm/barrier.h>

Completed in 1439 milliseconds

12