Home
last modified time | relevance | path

Searched refs:bts (Results 1 – 20 of 20) sorted by relevance

/linux-6.15/tools/perf/util/
H A Dintel-bts.c67 struct intel_bts *bts; member
157 btsq->bts = bts; in intel_bts_alloc_queue()
186 if (bts->sampling_mode) in intel_bts_setup_queue()
212 ret = intel_bts_setup_queue(bts, &bts->queues.queue_array[i], in intel_bts_setup_queues()
276 struct intel_bts *bts = btsq->bts; in intel_bts_synth_branch_sample() local
281 bts->num_events++ <= bts->synth_opts.initial_skip) in intel_bts_synth_branch_sample()
644 if (bts->sampling_mode) in intel_bts_process_auxtrace_event()
730 free(bts); in intel_bts_free()
835 struct intel_bts *bts; in intel_bts_process_auxtrace_info() local
843 if (!bts) in intel_bts_process_auxtrace_info()
[all …]
H A DBuild130 perf-util-$(CONFIG_AUXTRACE) += intel-bts.o
/linux-6.15/arch/x86/events/intel/
H A Dbts.c321 bts_update(bts); in bts_event_stop()
325 bts->handle.head = in bts_event_stop()
341 struct bts_ctx *bts; in intel_bts_enable_local() local
347 bts = this_cpu_ptr(bts_ctx); in intel_bts_enable_local()
360 if (bts->handle.event) in intel_bts_enable_local()
366 struct bts_ctx *bts; in intel_bts_disable_local() local
380 if (bts->handle.event) in intel_bts_disable_local()
463 struct bts_ctx *bts; in intel_bts_interrupt() local
473 event = bts->handle.event; in intel_bts_interrupt()
501 bts_update(bts); in intel_bts_interrupt()
[all …]
H A DMakefile2 obj-$(CONFIG_CPU_SUP_INTEL) += core.o bts.o
H A Dds.c682 if (!x86_pmu.bts) in alloc_bts_buffer()
709 if (!x86_pmu.bts) in release_bts_buffer()
737 if (!x86_pmu.bts && !x86_pmu.pebs) in release_ds_buffers()
766 if (!x86_pmu.bts && !x86_pmu.pebs) in reserve_ds_buffers()
769 if (!x86_pmu.bts) in reserve_ds_buffers()
805 if (x86_pmu.bts && !bts_err) in reserve_ds_buffers()
2684 x86_pmu.bts = boot_cpu_has(X86_FEATURE_BTS); in intel_ds_init()
2791 if (!x86_pmu.bts && !x86_pmu.pebs) in perf_restore_debug_store()
H A Dcore.c2284 static __always_inline void __intel_pmu_disable_all(bool bts) in __intel_pmu_disable_all() argument
2290 if (bts && test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) in __intel_pmu_disable_all()
/linux-6.15/drivers/gpu/drm/lima/
H A Dlima_vm.c43 vm->bts[pbe].cpu[bte] = 0; in lima_vm_unmap_range()
52 if (!vm->bts[pbe].cpu) { in lima_vm_map_page()
57 vm->bts[pbe].cpu = dma_alloc_wc( in lima_vm_map_page()
59 &vm->bts[pbe].dma, GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO); in lima_vm_map_page()
60 if (!vm->bts[pbe].cpu) in lima_vm_map_page()
63 pts = vm->bts[pbe].dma; in lima_vm_map_page()
71 vm->bts[pbe].cpu[bte] = pa | LIMA_VM_FLAGS_CACHE; in lima_vm_map_page()
243 if (vm->bts[i].cpu) in lima_vm_release()
245 vm->bts[i].cpu, vm->bts[i].dma); in lima_vm_release()
264 if (!vm->bts[i].cpu) in lima_vm_print()
[all …]
H A Dlima_vm.h38 struct lima_vm_page bts[LIMA_VM_NUM_BT]; member
/linux-6.15/arch/x86/include/asm/
H A Dsync_bitops.h34 asm volatile("lock " __ASM_SIZE(bts) " %1,%0" in sync_set_bit()
85 return GEN_BINARY_RMWcc("lock " __ASM_SIZE(bts), *addr, c, "Ir", nr); in sync_test_and_set_bit()
H A Dbitops.h60 asm_inline volatile(LOCK_PREFIX __ASM_SIZE(bts) " %1,%0" in arch_set_bit()
68 asm volatile(__ASM_SIZE(bts) " %1,%0" : : ADDR, "Ir" (nr) : "memory"); in arch___set_bit()
137 return GEN_BINARY_RMWcc(LOCK_PREFIX __ASM_SIZE(bts), *addr, c, "Ir", nr); in arch_test_and_set_bit()
151 asm(__ASM_SIZE(bts) " %2,%1" in arch___test_and_set_bit()
H A Dnospec-branch.h84 bts $63, %rax; \
/linux-6.15/tools/arch/x86/include/asm/
H A Datomic.h76 GEN_BINARY_RMWcc(LOCK_PREFIX __ASM_SIZE(bts), *addr, "Ir", nr, "%0", "c"); in test_and_set_bit()
/linux-6.15/tools/perf/arch/x86/util/
H A DBuild20 perf-util-$(CONFIG_AUXTRACE) += intel-bts.o
/linux-6.15/arch/x86/realmode/rm/
H A Dtrampoline_64.S146 bts $MSR_AMD64_SYSCFG_MEM_ENCRYPT_BIT, %eax
/linux-6.15/arch/x86/boot/compressed/
H A Dhead_64.S188 bts %eax, %edx /* Set encryption mask for page tables */
/linux-6.15/arch/x86/entry/
H A Dcalling.h165 bts $X86_CR3_PCID_NOFLUSH_BIT, \reg
/linux-6.15/drivers/soc/mediatek/
H A Dmtk-svs.c539 u16 bts; member
1266 ts_calcs = FIELD_PREP(SVSB_TSCALCS_FLD_BTS, svsb->bts) | in svs_set_bank_phase()
1955 svsb->bts = (((500 * golden_temp + svsp->ts_coeff) / 1000) - 25) * 4; in svs_common_parse_efuse()
2109 svsb->bts = (temp0 + temp2 - 250) * 4 / 10; in svs_mt8183_efuse_parsing()
/linux-6.15/arch/x86/events/
H A Dperf_event.h879 unsigned int bts :1, member
/linux-6.15/fs/btrfs/
H A Dsend.c707 struct btrfs_timespec bts; in tlv_put_btrfs_timespec() local
708 read_extent_buffer(eb, &bts, (unsigned long)ts, sizeof(bts)); in tlv_put_btrfs_timespec()
709 return tlv_put(sctx, attr, &bts, sizeof(bts)); in tlv_put_btrfs_timespec()
/linux-6.15/arch/x86/kvm/
H A Demulate.c1045 FASTOP2W(bts);