/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_dsb.c | 174 static bool assert_dsb_has_room(struct intel_dsb *dsb) in assert_dsb_has_room() argument 176 struct intel_crtc *crtc = dsb->crtc; in assert_dsb_has_room() 180 return !drm_WARN(display->drm, dsb->free_pos > dsb->size - 2, in assert_dsb_has_room() 182 crtc->base.base.id, crtc->base.name, dsb->id); in assert_dsb_has_room() 185 static void intel_dsb_dump(struct intel_dsb *dsb) in intel_dsb_dump() argument 187 struct intel_crtc *crtc = dsb->crtc; in intel_dsb_dump() 192 crtc->base.base.id, crtc->base.name, dsb->id); in intel_dsb_dump() 193 for (i = 0; i < ALIGN(dsb->free_pos, 64 / 4); i += 4) in intel_dsb_dump() 196 intel_dsb_buffer_read(&dsb->dsb_buf, i), in intel_dsb_dump() 197 intel_dsb_buffer_read(&dsb->dsb_buf, i + 1), in intel_dsb_dump() [all …]
|
D | intel_dsb.h | 33 void intel_dsb_finish(struct intel_dsb *dsb); 34 void intel_dsb_cleanup(struct intel_dsb *dsb); 35 void intel_dsb_reg_write(struct intel_dsb *dsb, 37 void intel_dsb_reg_write_masked(struct intel_dsb *dsb, 39 void intel_dsb_noop(struct intel_dsb *dsb, int count); 40 void intel_dsb_nonpost_start(struct intel_dsb *dsb); 41 void intel_dsb_nonpost_end(struct intel_dsb *dsb); 43 struct intel_dsb *dsb, 46 struct intel_dsb *dsb, 49 struct intel_dsb *dsb, [all …]
|
/linux-6.12.1/arch/arm64/kvm/hyp/vhe/ |
D | tlb.c | 97 dsb(ishst); in __kvm_tlb_flush_vmid_ipa() 116 dsb(ish); in __kvm_tlb_flush_vmid_ipa() 118 dsb(ish); in __kvm_tlb_flush_vmid_ipa() 129 dsb(nshst); in __kvm_tlb_flush_vmid_ipa_nsh() 148 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 150 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 169 dsb(ishst); in __kvm_tlb_flush_vmid_range() 177 dsb(ish); in __kvm_tlb_flush_vmid_range() 179 dsb(ish); in __kvm_tlb_flush_vmid_range() 189 dsb(ishst); in __kvm_tlb_flush_vmid() [all …]
|
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/ |
D | tlb.c | 49 dsb(nsh); in enter_vmid_context() 51 dsb(ish); in enter_vmid_context() 170 dsb(ish); in __kvm_tlb_flush_vmid_ipa() 172 dsb(ish); in __kvm_tlb_flush_vmid_ipa() 200 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 202 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 227 dsb(ish); in __kvm_tlb_flush_vmid_range() 229 dsb(ish); in __kvm_tlb_flush_vmid_range() 243 dsb(ish); in __kvm_tlb_flush_vmid() 258 dsb(nsh); in __kvm_flush_cpu_context() [all …]
|
/linux-6.12.1/drivers/hwtracing/coresight/ |
D | coresight-tpdm.c | 38 drvdata->dsb->edge_ctrl[tpdm_attr->idx]); in tpdm_simple_dataset_show() 43 drvdata->dsb->edge_ctrl_mask[tpdm_attr->idx]); in tpdm_simple_dataset_show() 48 drvdata->dsb->trig_patt[tpdm_attr->idx]); in tpdm_simple_dataset_show() 53 drvdata->dsb->trig_patt_mask[tpdm_attr->idx]); in tpdm_simple_dataset_show() 58 drvdata->dsb->patt_val[tpdm_attr->idx]); in tpdm_simple_dataset_show() 63 drvdata->dsb->patt_mask[tpdm_attr->idx]); in tpdm_simple_dataset_show() 68 drvdata->dsb->msr[tpdm_attr->idx]); in tpdm_simple_dataset_show() 118 drvdata->dsb->trig_patt[tpdm_attr->idx] = val; in tpdm_simple_dataset_store() 124 drvdata->dsb->trig_patt_mask[tpdm_attr->idx] = val; in tpdm_simple_dataset_store() 130 drvdata->dsb->patt_val[tpdm_attr->idx] = val; in tpdm_simple_dataset_store() [all …]
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | tlbflush.h | 259 dsb(nshst); in local_flush_tlb_all() 261 dsb(nsh); in local_flush_tlb_all() 267 dsb(ishst); in flush_tlb_all() 269 dsb(ish); in flush_tlb_all() 277 dsb(ishst); in flush_tlb_mm() 281 dsb(ish); in flush_tlb_mm() 290 dsb(ishst); in __flush_tlb_page_nosync() 308 dsb(ish); in flush_tlb_page() 339 dsb(ish); in arch_flush_tlb_batched_pending() 354 dsb(ish); in arch_tlbbatch_flush() [all …]
|
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)
|
/linux-6.12.1/fs/erofs/ |
D | super.c | 58 struct erofs_super_block *dsb; in erofs_superblock_csum_verify() local 64 dsb = kmemdup(sbdata + EROFS_SUPER_OFFSET, len, GFP_KERNEL); in erofs_superblock_csum_verify() 65 if (!dsb) in erofs_superblock_csum_verify() 68 expected_crc = le32_to_cpu(dsb->checksum); in erofs_superblock_csum_verify() 69 dsb->checksum = 0; in erofs_superblock_csum_verify() 71 crc = crc32c(~0, dsb, len); in erofs_superblock_csum_verify() 72 kfree(dsb); in erofs_superblock_csum_verify() 149 struct erofs_super_block *dsb) in z_erofs_parse_cfgs() argument 151 if (!dsb->u1.available_compr_algs) in z_erofs_parse_cfgs() 212 struct erofs_super_block *dsb) in erofs_scan_devices() argument [all …]
|
/linux-6.12.1/arch/arm/include/asm/ |
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()
|
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 …]
|
/linux-6.12.1/arch/arm/mach-omap2/ |
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
|
D | sleep43xx.S | 99 dsb 114 dsb 116 dsb 138 dsb 140 dsb 262 dsb 388 dsb 390 dsb 394 dsb 396 dsb [all …]
|
D | sleep44xx.S | 27 dsb 29 dsb 132 dsb 224 dsb 349 dsb
|
/linux-6.12.1/arch/arm/mm/ |
D | cache-v7.S | 71 3: dsb st 175 dsb 181 dsb st 288 ALT_SMP(W(dsb)) 296 dsb ishst 313 dsb ishst 323 dsb 345 ALT_SMP(W(dsb)) 353 dsb st 373 ALT_SMP(W(dsb)) [all …]
|
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()
|
D | tlb-v7.S | 38 dsb ish 59 dsb ish 72 dsb ish 87 dsb ish
|
D | pv-fixup-asm.S | 25 dsb 72 dsb 77 dsb 81 dsb
|
D | cache-tauros2.c | 92 dsb(); in tauros2_inv_range() 103 dsb(); in tauros2_clean_range() 114 dsb(); in tauros2_flush_range()
|
/linux-6.12.1/arch/arm64/kernel/pi/ |
D | map_kernel.c | 91 dsb(ishst); in map_kernel() 114 dsb(ishst); in map_kernel() 131 dsb(ishst); in map_kernel() 168 dsb(ishst); in remap_idmap_for_lpa2() 179 dsb(ishst); in remap_idmap_for_lpa2() 201 dsb(ishst); in map_fdt()
|
/linux-6.12.1/arch/arm/kernel/ |
D | v7m.c | 12 dsb(); in armv7m_restart() 15 dsb(); in armv7m_restart()
|
/linux-6.12.1/arch/arm64/mm/ |
D | cache.S | 30 dsb ishst 128 dsb ishst 161 dsb sy
|
D | proc.S | 169 dsb nsh 228 dsb nshst 232 dsb nsh 239 dsb nshst 332 dsb ishst 454 dsb nsh
|
/linux-6.12.1/arch/arm64/kernel/ |
D | hibernate-asm.S | 82 dsb ish /* wait for PoU cleaning to finish */ 88 dsb ish
|
/linux-6.12.1/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_core.h | 25 #ifndef dsb 26 #define dsb(a) macro 68 do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) 70 do { debug_ptr[DEBUG_ ## d] = (v); dsb(sy); } while (0) 72 do { debug_ptr[DEBUG_ ## d]++; dsb(sy); } while (0)
|
/linux-6.12.1/fs/xfs/libxfs/ |
D | xfs_sb.c | 349 struct xfs_dsb *dsb = bp->b_addr; in xfs_validate_sb_common() local 354 if (!xfs_verify_magic(bp, dsb->sb_magicnum)) { in xfs_validate_sb_common() 357 be32_to_cpu(dsb->sb_magicnum)); in xfs_validate_sb_common() 859 struct xfs_dsb *dsb = bp->b_addr; in xfs_sb_read_verify() local 866 if (dsb->sb_magicnum == cpu_to_be32(XFS_SB_MAGIC) && in xfs_sb_read_verify() 867 (((be16_to_cpu(dsb->sb_versionnum) & XFS_SB_VERSION_NUMBITS) == in xfs_sb_read_verify() 869 dsb->sb_crc != 0)) { in xfs_sb_read_verify() 885 __xfs_sb_from_disk(&sb, dsb, false); in xfs_sb_read_verify() 908 struct xfs_dsb *dsb = bp->b_addr; in xfs_sb_quiet_read_verify() local 910 if (dsb->sb_magicnum == cpu_to_be32(XFS_SB_MAGIC)) { in xfs_sb_quiet_read_verify() [all …]
|