Home
last modified time | relevance | path

Searched refs:dmb (Results 1 – 25 of 38) sorted by relevance

12

/linux-5.3.11/arch/arm64/include/asm/vdso/
H A Dcompat_barrier.h17 #ifdef dmb
18 #undef dmb
21 #define dmb(option) __asm__ __volatile__ ("dmb " #option : : : "memory") macro
24 #define aarch32_smp_mb() dmb(ish)
25 #define aarch32_smp_rmb() dmb(ishld)
26 #define aarch32_smp_wmb() dmb(ishst)
28 #define aarch32_smp_mb() dmb(ish)
30 #define aarch32_smp_wmb() dmb(ishst)
/linux-5.3.11/net/smc/
H A Dsmc_ism.c148 struct smcd_dmb dmb; in smc_ism_unregister_dmb() local
150 memset(&dmb, 0, sizeof(dmb)); in smc_ism_unregister_dmb()
151 dmb.dmb_tok = dmb_desc->token; in smc_ism_unregister_dmb()
155 dmb.dmb_len = dmb_desc->len; in smc_ism_unregister_dmb()
162 struct smcd_dmb dmb; in smc_ism_register_dmb() local
165 memset(&dmb, 0, sizeof(dmb)); in smc_ism_register_dmb()
166 dmb.dmb_len = dmb_len; in smc_ism_register_dmb()
168 dmb.vlan_id = lgr->vlan_id; in smc_ism_register_dmb()
169 dmb.rgid = lgr->peer_gid; in smc_ism_register_dmb()
173 dmb_desc->token = dmb.dmb_tok; in smc_ism_register_dmb()
[all …]
/linux-5.3.11/drivers/s390/net/
H A Dism_drv.c220 dmb->cpu_addr, dmb->dma_addr); in ism_free_dmb()
230 if (!dmb->sba_idx) { in ism_alloc_dmb()
236 dmb->sba_idx = bit; in ism_alloc_dmb()
242 dmb->cpu_addr = dma_alloc_coherent(&ism->pdev->dev, dmb->dmb_len, in ism_alloc_dmb()
243 &dmb->dma_addr, in ism_alloc_dmb()
245 if (!dmb->cpu_addr) in ism_alloc_dmb()
257 ret = ism_alloc_dmb(ism, dmb); in ism_register_dmb()
265 cmd.request.dmb = dmb->dma_addr; in ism_register_dmb()
270 cmd.request.rgid = dmb->rgid; in ism_register_dmb()
274 ism_free_dmb(ism, dmb); in ism_register_dmb()
[all …]
H A Dism.h117 u64 dmb; member
208 #define ISM_CREATE_REQ(dmb, idx, sf, offset) \ argument
209 ((dmb) | (idx) << 24 | (sf) << 23 | (offset))
/linux-5.3.11/arch/arm/include/asm/
H A Dbarrier.h21 #define dmb(option) __asm__ __volatile__ ("dmb " #option : : : "memory") macro
33 #define dmb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5" \ macro
40 #define dmb(x) __asm__ __volatile__ ("" : : : "memory") macro
45 #define dmb(x) __asm__ __volatile__ ("" : : : "memory") macro
67 #define dma_rmb() dmb(osh)
68 #define dma_wmb() dmb(oshst)
77 #define __smp_mb() dmb(ish)
79 #define __smp_wmb() dmb(ishst)
H A Dassembler.h301 ALT_SMP(dmb ish)
303 ALT_SMP(W(dmb) ish)
306 ALT_SMP(mcr p15, 0, r0, c7, c10, 5) @ dmb
/linux-5.3.11/arch/arm64/include/asm/
H A Dbarrier.h22 #define dmb(opt) asm volatile("dmb " #opt : : : "memory") macro
36 #define dma_rmb() dmb(oshld)
37 #define dma_wmb() dmb(oshst)
60 #define __smp_mb() dmb(ish)
61 #define __smp_rmb() dmb(ishld)
62 #define __smp_wmb() dmb(ishst)
H A Datomic_ll_sc.h93 ATOMIC_OP_RETURN( , dmb ish, , l, "memory", __VA_ARGS__)\
97 ATOMIC_FETCH_OP ( , dmb ish, , l, "memory", __VA_ARGS__)\
108 ATOMIC_FETCH_OP ( , dmb ish, , l, "memory", __VA_ARGS__)\ in ATOMIC_OPS()
187 ATOMIC64_OP_RETURN(, dmb ish, , l, "memory", __VA_ARGS__) \
191 ATOMIC64_FETCH_OP (, dmb ish, , l, "memory", __VA_ARGS__) \
202 ATOMIC64_FETCH_OP (, dmb ish, , l, "memory", __VA_ARGS__) \
292 __CMPXCHG_CASE(w, b, mb_, 8, dmb ish, , l, "memory", )
293 __CMPXCHG_CASE(w, h, mb_, 16, dmb ish, , l, "memory", )
294 __CMPXCHG_CASE(w, , mb_, 32, dmb ish, , l, "memory", )
295 __CMPXCHG_CASE( , , mb_, 64, dmb ish, , l, "memory", L)
[all …]
H A Dcmpxchg.h58 __XCHG_CASE(w, b, mb_, 8, dmb ish, nop, , a, l, "memory")
59 __XCHG_CASE(w, h, mb_, 16, dmb ish, nop, , a, l, "memory")
60 __XCHG_CASE(w, , mb_, 32, dmb ish, nop, , a, l, "memory")
61 __XCHG_CASE( , , mb_, 64, dmb ish, nop, , a, l, "memory")
/linux-5.3.11/arch/arm/common/
H A Dvlock.S29 dmb
33 dmb
80 dmb
93 dmb
H A Dmcpm_head.S121 dmb
136 dmb
148 dmb
152 dmb
173 dmb
182 dmb
196 dmb
H A Dmcpm_entry.c49 dmb(); in __mcpm_cpu_down()
65 dmb(); in __mcpm_outbound_leave_critical()
/linux-5.3.11/include/net/
H A Dsmc.h53 int (*register_dmb)(struct smcd_dev *dev, struct smcd_dmb *dmb);
54 int (*unregister_dmb)(struct smcd_dev *dev, struct smcd_dmb *dmb);
/linux-5.3.11/arch/unicore32/include/asm/
H A Dbarrier.h12 #define dmb() __asm__ __volatile__ ("" : : : "memory") macro
/linux-5.3.11/arch/arm64/kernel/
H A Dhead.S133 dmb sy // needed before dc ivac with
321 dmb sy
343 dmb sy
400 dmb sy
649 dmb sy
749 dmb sy
/linux-5.3.11/arch/arm/mm/
H A Dcache-b15-rac.c66 dmb(); in __b15_rac_disable()
80 dmb(); in __b15_rac_flush()
/linux-5.3.11/arch/arm/mach-omap2/
H A Dsleep34xx.S97 dmb @ data memory barrier
213 dmb
418 dmb @ data memory barrier
429 dmb @ data memory barrier
444 dmb @ data memory barrier
H A Domap-smc.S52 dmb
H A Dsleep33xx.S133 dmb
/linux-5.3.11/arch/arm64/mm/
H A Dflush.c85 dmb(osh); in arch_wb_cache_pmem()
H A Dproc.S205 dmb sy // lines are written back before
214 dmb sy // that it is visible to all
/linux-5.3.11/arch/arm/mach-socfpga/
H A Dself-refresh.S85 dmb
/linux-5.3.11/arch/arm/mach-tegra/
H A Dsleep.S35 dmb @ ensure ordering
/linux-5.3.11/arch/arm/kernel/
H A Dsmp_tlb.c153 dmb(); in ipi_flush_tlb_a15_erratum()
/linux-5.3.11/arch/arm/mach-bcm/
H A Dplatsmp-brcmstb.c75 dmb(); in per_cpu_sw_state_wr()

12