/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dsb.c | 85 static bool assert_dsb_has_room(struct intel_dsb *dsb) in assert_dsb_has_room() argument 87 struct intel_crtc *crtc = dsb->crtc; in assert_dsb_has_room() 91 return !drm_WARN(&i915->drm, dsb->free_pos > dsb->size - 2, in assert_dsb_has_room() 93 crtc->base.base.id, crtc->base.name, dsb->id); in assert_dsb_has_room() 102 static void intel_dsb_emit(struct intel_dsb *dsb, u32 ldw, u32 udw) in intel_dsb_emit() argument 104 u32 *buf = dsb->cmd_buf; in intel_dsb_emit() 106 if (!assert_dsb_has_room(dsb)) in intel_dsb_emit() 110 dsb->free_pos = ALIGN(dsb->free_pos, 2); in intel_dsb_emit() 112 dsb->ins_start_offset = dsb->free_pos; in intel_dsb_emit() 114 buf[dsb->free_pos++] = ldw; in intel_dsb_emit() [all …]
|
H A D | intel_dsb.h | 18 void intel_dsb_finish(struct intel_dsb *dsb); 19 void intel_dsb_cleanup(struct intel_dsb *dsb); 20 void intel_dsb_reg_write(struct intel_dsb *dsb, 22 void intel_dsb_commit(struct intel_dsb *dsb, 24 void intel_dsb_wait(struct intel_dsb *dsb);
|
/openbmc/linux/arch/arm64/kvm/hyp/vhe/ |
H A D | tlb.c | 87 dsb(ishst); in __kvm_tlb_flush_vmid_ipa() 106 dsb(ish); in __kvm_tlb_flush_vmid_ipa() 108 dsb(ish); in __kvm_tlb_flush_vmid_ipa() 119 dsb(nshst); in __kvm_tlb_flush_vmid_ipa_nsh() 138 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 140 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 159 dsb(ishst); in __kvm_tlb_flush_vmid_range() 166 dsb(ish); in __kvm_tlb_flush_vmid_range() 168 dsb(ish); in __kvm_tlb_flush_vmid_range() 178 dsb(ishst); in __kvm_tlb_flush_vmid() [all …]
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | tlb.c | 39 dsb(nsh); in __tlb_switch_to_guest() 41 dsb(ish); in __tlb_switch_to_guest() 103 dsb(ish); in __kvm_tlb_flush_vmid_ipa() 105 dsb(ish); in __kvm_tlb_flush_vmid_ipa() 155 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 157 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 203 dsb(ish); in __kvm_tlb_flush_vmid_range() 205 dsb(ish); in __kvm_tlb_flush_vmid_range() 223 dsb(ish); in __kvm_tlb_flush_vmid() 238 dsb(nsh); in __kvm_flush_cpu_context() [all …]
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | tlbflush.h | 239 dsb(nshst); in local_flush_tlb_all() 241 dsb(nsh); in local_flush_tlb_all() 247 dsb(ishst); in flush_tlb_all() 249 dsb(ish); in flush_tlb_all() 257 dsb(ishst); in flush_tlb_mm() 261 dsb(ish); in flush_tlb_mm() 270 dsb(ishst); in __flush_tlb_page_nosync() 288 dsb(ish); in flush_tlb_page() 320 dsb(ish); in arch_flush_tlb_batched_pending() 335 dsb(ish); in arch_tlbbatch_flush() [all …]
|
H A D | barrier.h | 29 #define dsb(opt) asm volatile("dsb " #opt : : : "memory") macro 60 #define __mb() dsb(sy) 61 #define __rmb() dsb(ld) 62 #define __wmb() dsb(st)
|
/openbmc/linux/fs/erofs/ |
H A D | super.c | 54 struct erofs_super_block *dsb; in erofs_superblock_csum_verify() local 60 dsb = kmemdup(sbdata + EROFS_SUPER_OFFSET, len, GFP_KERNEL); in erofs_superblock_csum_verify() 61 if (!dsb) in erofs_superblock_csum_verify() 64 expected_crc = le32_to_cpu(dsb->checksum); in erofs_superblock_csum_verify() 65 dsb->checksum = 0; in erofs_superblock_csum_verify() 67 crc = crc32c(~0, dsb, len); in erofs_superblock_csum_verify() 68 kfree(dsb); in erofs_superblock_csum_verify() 109 struct erofs_super_block *dsb) in check_layout_compatibility() argument 111 const unsigned int feature = le32_to_cpu(dsb->feature_incompat); in check_layout_compatibility() 161 struct erofs_super_block *dsb) in z_erofs_parse_cfgs() argument [all …]
|
H A D | compress.h | 24 int (*config)(struct super_block *sb, struct erofs_super_block *dsb, 98 struct erofs_super_block *dsb, void *data, int size); 100 struct erofs_super_block *dsb, void *data, int size);
|
/openbmc/qemu/audio/ |
H A D | dsoundaudio.c | 270 static int dsound_restore_out (LPDIRECTSOUNDBUFFER dsb, dsound *s) in dsound_restore_out() argument 274 hr = IDirectSoundBuffer_Restore (dsb); in dsound_restore_out() 288 static int dsound_get_status_out (LPDIRECTSOUNDBUFFER dsb, DWORD *statusp, in dsound_get_status_out() argument 293 hr = IDirectSoundBuffer_GetStatus (dsb, statusp); in dsound_get_status_out() 300 dsound_restore_out(dsb, s); in dsound_get_status_out() 321 static void dsound_clear_sample (HWVoiceOut *hw, LPDIRECTSOUNDBUFFER dsb, in dsound_clear_sample() argument 329 dsb, in dsound_clear_sample() 359 dsound_unlock_out (dsb, p1, p2, blen1, blen2); in dsound_clear_sample() 388 LPDIRECTSOUNDBUFFER dsb = ds->dsound_buffer; in dsound_enable_out() local 391 if (!dsb) { in dsound_enable_out() [all …]
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | barrier.h | 20 #define dsb(option) __asm__ __volatile__ ("dsb " #option : : : "memory") macro 31 #define dsb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \ macro 38 #define dsb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \ macro 43 #define dsb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \ macro 58 #define __arm_heavy_mb(x...) do { dsb(x); arm_heavy_mb(); } while (0) 60 #define __arm_heavy_mb(x...) dsb(x) 65 #define rmb() dsb()
|
H A D | tlbflush.h | 332 dsb(nshst); in local_flush_tlb_all() 338 dsb(nsh); in local_flush_tlb_all() 349 dsb(ishst); in __flush_tlb_all() 355 dsb(ish); in __flush_tlb_all() 385 dsb(nshst); in local_flush_tlb_mm() 391 dsb(nsh); in local_flush_tlb_mm() 399 dsb(ishst); in __flush_tlb_mm() 409 dsb(ish); in __flush_tlb_mm() 442 dsb(nshst); in local_flush_tlb_page() 448 dsb(nsh); in local_flush_tlb_page() [all …]
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | omap-smc.S | 29 dsb 51 dsb 69 dsb @ Memory Barrier (not sure if needed, copied from omap_smc2) 77 dsb 85 dsb 93 dsb
|
H A D | sleep43xx.S | 99 dsb 114 dsb 116 dsb 138 dsb 140 dsb 262 dsb 388 dsb 390 dsb 394 dsb 396 dsb [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv7m/ |
H A D | cache.c | 124 dsb(); in get_cline_size() 162 dsb(); in action_cache_range() 182 dsb(); in action_dcache_all() 194 dsb(); in action_dcache_all() 213 dsb(); in dcache_enable() 231 dsb(); in dcache_disable() 302 dsb(); in invalidate_icache_all() 315 dsb(); in icache_enable()
|
/openbmc/linux/arch/arm/mm/ |
H A D | cache-v7.S | 70 3: dsb st 174 dsb 180 dsb st 284 ALT_SMP(W(dsb)) 292 dsb ishst 309 dsb ishst 319 dsb 342 ALT_SMP(W(dsb)) 350 dsb st 370 ALT_SMP(W(dsb)) [all …]
|
H A D | cache-xsc3l2.c | 55 dsb(); in xsc3_l2_inv_all() 127 dsb(); in xsc3_l2_inv_range() 145 dsb(); in xsc3_l2_clean_range() 165 dsb(); in xsc3_l2_flush_all() 189 dsb(); in xsc3_l2_flush_range()
|
H A D | tlb-v7.S | 37 dsb ish 58 dsb ish 71 dsb ish 86 dsb ish
|
H A D | pv-fixup-asm.S | 25 dsb 72 dsb 77 dsb 81 dsb
|
H A D | cache-tauros2.c | 92 dsb(); in tauros2_inv_range() 103 dsb(); in tauros2_clean_range() 114 dsb(); in tauros2_flush_range()
|
/openbmc/u-boot/arch/arm/cpu/armv8/ |
H A D | tlb.S | 21 dsb sy 25 dsb sy 29 dsb sy
|
/openbmc/linux/arch/arm/kernel/ |
H A D | v7m.c | 12 dsb(); in armv7m_restart() 15 dsb(); in armv7m_restart()
|
/openbmc/u-boot/arch/arm/mach-exynos/ |
H A D | lowlevel_init.c | 78 dsb(); in low_power_start() 164 dsb(); in secondary_cores_configure() 189 dsb(); in do_lowlevel_init()
|
/openbmc/u-boot/arch/arm/cpu/armv7/ |
H A D | cache_v7.c | 77 dsb(); in v7_dcache_maint_range() 90 dsb(); in v7_inval_tlb() 196 dsb(); in invalidate_icache_all()
|
/openbmc/u-boot/arch/arm/mach-omap2/ |
H A D | lowlevel_init.S | 58 dsb 71 dsb 83 dsb
|
/openbmc/linux/arch/arm64/mm/ |
H A D | cache.S | 30 dsb ishst 128 dsb ishst 161 dsb sy
|