/openbmc/linux/arch/mips/alchemy/common/ |
H A D | vss.c | 28 wmb(); in __enable_block() 31 wmb(); in __enable_block() 35 wmb(); in __enable_block() 37 wmb(); in __enable_block() 39 wmb(); in __enable_block() 41 wmb(); in __enable_block() 44 wmb(); in __enable_block() 47 wmb(); in __enable_block() 50 wmb(); in __enable_block() 59 wmb(); in __disable_block() [all …]
|
H A D | usb.c | 113 wmb(); in __au1300_usb_phyctl() 119 wmb(); in __au1300_usb_phyctl() 129 wmb(); in __au1300_ohci_control() 135 wmb(); in __au1300_ohci_control() 142 wmb(); in __au1300_ohci_control() 146 wmb(); in __au1300_ohci_control() 304 wmb(); in au1300_usb_init() 306 wmb(); in au1300_usb_init() 308 wmb(); in au1300_usb_init() 310 wmb(); in au1300_usb_init() [all …]
|
H A D | irq.c | 295 wmb(); in au1x_ic0_unmask() 305 wmb(); in au1x_ic1_unmask() 315 wmb(); in au1x_ic0_mask() 325 wmb(); in au1x_ic1_mask() 339 wmb(); in au1x_ic0_ack() 353 wmb(); in au1x_ic1_ack() 365 wmb(); in au1x_ic0_maskack() 377 wmb(); in au1x_ic1_maskack() 496 wmb(); in au1x_ic_settype() 524 wmb(); in au1300_gpic_chgcfg() [all …]
|
H A D | dbdma.c | 345 wmb(); /* drain writebuffer */ in au1xxx_dbdma_chan_alloc() 635 wmb(); /* drain writebuffer */ in au1xxx_dbdma_put_source() 698 wmb(); /* drain writebuffer */ in au1xxx_dbdma_put_dest() 766 wmb(); /* drain writebuffer */ in au1xxx_dbdma_stop() 777 wmb(); /* drain writebuffer */ in au1xxx_dbdma_stop() 795 wmb(); /* drain writebuffer */ in au1xxx_dbdma_start() 797 wmb(); /* drain writebuffer */ in au1xxx_dbdma_start() 1008 wmb(); in alchemy_dbdma_suspend() 1010 wmb(); in alchemy_dbdma_suspend() 1017 wmb(); in alchemy_dbdma_suspend() [all …]
|
/openbmc/linux/sound/soc/au1x/ |
H A D | psc-ac97.c | 79 wmb(); /* drain writebuffer */ in au1xpsc_ac97_read() 87 wmb(); /* drain writebuffer */ in au1xpsc_ac97_read() 99 wmb(); /* drain writebuffer */ in au1xpsc_ac97_read() 119 wmb(); /* drain writebuffer */ in au1xpsc_ac97_write() 149 wmb(); /* drain writebuffer */ in au1xpsc_ac97_warm_reset() 152 wmb(); /* drain writebuffer */ in au1xpsc_ac97_warm_reset() 162 wmb(); /* drain writebuffer */ in au1xpsc_ac97_cold_reset() 164 wmb(); /* drain writebuffer */ in au1xpsc_ac97_cold_reset() 168 wmb(); /* drain writebuffer */ in au1xpsc_ac97_cold_reset() 171 wmb(); /* drain writebuffer */ in au1xpsc_ac97_cold_reset() [all …]
|
H A D | psc-i2s.c | 150 wmb(); /* drain writebuffer */ in au1xpsc_i2s_configure() 160 wmb(); /* drain writebuffer */ in au1xpsc_i2s_configure() 162 wmb(); /* drain writebuffer */ in au1xpsc_i2s_configure() 175 wmb(); /* drain writebuffer */ in au1xpsc_i2s_configure() 195 wmb(); /* drain writebuffer */ in au1xpsc_i2s_start() 197 wmb(); /* drain writebuffer */ in au1xpsc_i2s_start() 218 wmb(); /* drain writebuffer */ in au1xpsc_i2s_stop() 323 wmb(); /* drain writebuffer */ in au1xpsc_i2s_drvprobe() 326 wmb(); /* drain writebuffer */ in au1xpsc_i2s_drvprobe() 352 wmb(); /* drain writebuffer */ in au1xpsc_i2s_drvremove() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-au1550.c | 130 wmb(); /* drain writebuffer */ in au1550_spi_mask_ack_all() 136 wmb(); /* drain writebuffer */ in au1550_spi_mask_ack_all() 144 wmb(); /* drain writebuffer */ in au1550_spi_reset_fifos() 147 wmb(); /* drain writebuffer */ in au1550_spi_reset_fifos() 177 wmb(); /* drain writebuffer */ in au1550_spi_chipsel() 179 wmb(); /* drain writebuffer */ in au1550_spi_chipsel() 207 wmb(); /* drain writebuffer */ in au1550_spi_chipsel() 240 wmb(); /* drain writebuffer */ in au1550_spi_setupxfer() 242 wmb(); /* drain writebuffer */ in au1550_spi_setupxfer() 256 wmb(); /* drain writebuffer */ in au1550_spi_setupxfer() [all …]
|
/openbmc/linux/arch/mips/sni/ |
H A D | time.c | 20 wmb(); in a20r_set_periodic() 22 wmb(); in a20r_set_periodic() 24 wmb(); in a20r_set_periodic() 27 wmb(); in a20r_set_periodic() 29 wmb(); in a20r_set_periodic() 31 wmb(); in a20r_set_periodic() 51 wmb(); in a20r_interrupt()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | bt455.h | 54 wmb(); in bt455_write_cmap_next() 56 wmb(); in bt455_write_cmap_next() 58 wmb(); in bt455_write_cmap_next() 64 wmb(); in bt455_write_ovly_next() 66 wmb(); in bt455_write_ovly_next() 68 wmb(); in bt455_write_ovly_next()
|
H A D | tgafb.c | 715 wmb(); 732 wmb(); 746 wmb(); 761 wmb(); 796 wmb(); 810 wmb(); 996 wmb(); 1037 wmb(); 1071 wmb(); 1119 wmb(); [all …]
|
/openbmc/linux/arch/csky/include/asm/ |
H A D | io.h | 25 #define writeb(v,c) ({ wmb(); writeb_relaxed((v),(c)); }) 26 #define writew(v,c) ({ wmb(); writew_relaxed((v),(c)); }) 27 #define writel(v,c) ({ wmb(); writel_relaxed((v),(c)); }) 29 #define writeb(v,c) ({ wmb(); writeb_relaxed((v),(c)); mb(); }) 30 #define writew(v,c) ({ wmb(); writew_relaxed((v),(c)); mb(); }) 31 #define writel(v,c) ({ wmb(); writel_relaxed((v),(c)); mb(); })
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | barrier.h | 25 static inline void wmb(void) in wmb() function 27 asm volatile(__SYNC(wmb, always) ::: "memory"); in wmb() 29 #define wmb wmb macro 84 # define __smp_wmb() wmb()
|
/openbmc/linux/arch/mips/alchemy/devboards/ |
H A D | bcsr.c | 68 wmb(); in bcsr_write() 83 wmb(); in bcsr_mod() 105 wmb(); in bcsr_irq_mask() 113 wmb(); in bcsr_irq_maskack() 120 wmb(); in bcsr_irq_unmask() 138 wmb(); in bcsr_init_irq()
|
H A D | db1550.c | 51 wmb(); in db1550_hw_setup() 53 wmb(); in db1550_hw_setup() 149 wmb(); in au1550_nand_cmd_ctrl() 610 wmb(); in db1550_dev_setup() 613 wmb(); in db1550_dev_setup() 617 wmb(); in db1550_dev_setup() 620 wmb(); in db1550_dev_setup()
|
/openbmc/linux/include/asm-generic/ |
H A D | barrier.h | 38 #define wmb() do { kcsan_wmb(); __wmb(); } while (0) macro 68 #ifndef wmb 69 #define wmb() mb() macro 81 #define dma_wmb() wmb() 93 #define __smp_wmb() wmb() 285 #define pmem_wmb() wmb()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | setup_64.c | 209 wmb(); in per_cpu_patch() 213 wmb(); in per_cpu_patch() 217 wmb(); in per_cpu_patch() 221 wmb(); in per_cpu_patch() 235 wmb(); in sun4v_patch_1insn_range() 249 wmb(); in sun4v_patch_2insn_range() 253 wmb(); in sun4v_patch_2insn_range() 267 wmb(); in sun_m7_patch_2insn_range() 271 wmb(); in sun_m7_patch_2insn_range() 323 wmb(); in popc_patch() [all …]
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | au1550nd.c | 49 wmb(); /* drain writebuffer */ in au_write_buf() 70 wmb(); /* drain writebuffer */ in au_read_buf() 92 wmb(); /* drain writebuffer */ in au_write_buf16() 113 wmb(); /* drain writebuffer */ in au_read_buf16() 165 wmb(); in au1550nd_exec_instr() 173 wmb(); in au1550nd_exec_instr() 224 wmb(); in au1550nd_exec_op() 235 wmb(); in au1550nd_exec_op()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | au1xmmc.c | 169 wmb(); /* drain writebuffer */ in IRQ_ON() 177 wmb(); /* drain writebuffer */ in FLUSH_FIFO() 184 wmb(); /* drain writebuffer */ in FLUSH_FIFO() 192 wmb(); /* drain writebuffer */ in IRQ_OFF() 204 wmb(); /* drain writebuffer */ in SEND_STOP() 208 wmb(); /* drain writebuffer */ in SEND_STOP() 303 wmb(); /* drain writebuffer */ in au1xmmc_send_command() 306 wmb(); /* drain writebuffer */ in au1xmmc_send_command() 598 wmb(); /* drain writebuffer */ in au1xmmc_set_clock() 710 wmb(); /* drain writebuffer */ in au1xmmc_reset_controller() [all …]
|
/openbmc/linux/arch/mips/pci/ |
H A D | pci-lantiq.c | 141 wmb(); in ltq_pci_startup() 164 wmb(); in ltq_pci_startup() 181 wmb(); in ltq_pci_startup() 189 wmb(); in ltq_pci_startup() 198 wmb(); in ltq_pci_startup()
|
/openbmc/linux/arch/mips/include/asm/mach-au1x00/ |
H A D | gpio-au1000.h | 277 wmb(); in alchemy_gpio1_input_enable() 295 wmb(); in __alchemy_gpio2_mod_dir() 304 wmb(); in alchemy_gpio2_set_value() 368 wmb(); in __alchemy_gpio2_mod_int() 445 wmb(); in alchemy_gpio2_enable() 447 wmb(); in alchemy_gpio2_enable() 459 wmb(); in alchemy_gpio2_disable()
|
/openbmc/u-boot/arch/mips/include/asm/ |
H A D | system.h | 153 #define wmb() wbflush() macro 169 #define wmb() mb() macro 176 #define smp_wmb() wmb() 187 do { var = value; wmb(); } while (0)
|
/openbmc/linux/tools/include/asm-generic/ |
H A D | barrier.h | 35 #ifndef wmb 36 #define wmb() mb() macro
|
/openbmc/linux/arch/x86/um/asm/ |
H A D | barrier.h | 17 #define wmb() alternative("lock; addl $0,0(%%esp)", "sfence", X86_FEATURE_XMM) macro 23 #define wmb() asm volatile("sfence" : : : "memory") macro
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | linux-compat.h | 12 #ifndef wmb 13 #define wmb() asm volatile ("" : : : "memory") macro
|
/openbmc/linux/drivers/net/hippi/ |
H A D | rrunner.c | 273 wmb(); in rr_issue_cmd() 277 wmb(); in rr_issue_cmd() 376 wmb(); in rr_reset() 387 wmb(); in rr_reset() 391 wmb(); in rr_reset() 574 wmb(); in rr_init1() 636 wmb(); in rr_init1() 640 wmb(); in rr_init1() 674 wmb(); in rr_init1() 925 wmb(); in rr_handle_event() [all …]
|