Home
last modified time | relevance | path

Searched refs:intr_regs (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.6.21/tools/testing/selftests/powerpc/pmu/sampling_tests/
Dmmcra_thresh_marked_sample_test.c26 u64 *intr_regs; in mmcra_thresh_marked_sample() local
48 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcra_thresh_marked_sample()
51 FAIL_IF(!intr_regs); in mmcra_thresh_marked_sample()
59 get_mmcra_thd_sel(get_reg_value(intr_regs, "MMCRA"), 4)); in mmcra_thresh_marked_sample()
61 get_mmcra_thd_start(get_reg_value(intr_regs, "MMCRA"), 4)); in mmcra_thresh_marked_sample()
63 get_mmcra_thd_stop(get_reg_value(intr_regs, "MMCRA"), 4)); in mmcra_thresh_marked_sample()
65 get_mmcra_marked(get_reg_value(intr_regs, "MMCRA"), 4)); in mmcra_thresh_marked_sample()
67 get_mmcra_rand_samp_elig(get_reg_value(intr_regs, "MMCRA"), 4)); in mmcra_thresh_marked_sample()
69 get_mmcra_sample_mode(get_reg_value(intr_regs, "MMCRA"), 4)); in mmcra_thresh_marked_sample()
71 get_mmcra_sm(get_reg_value(intr_regs, "MMCRA"), 4)); in mmcra_thresh_marked_sample()
Dmmcr1_sel_unit_cache_test.c25 u64 *intr_regs; in mmcr1_sel_unit_cache() local
53 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcr1_sel_unit_cache()
56 FAIL_IF(!intr_regs); in mmcr1_sel_unit_cache()
63 get_mmcr1_pmcxsel(get_reg_value(intr_regs, "MMCR1"), 1)); in mmcr1_sel_unit_cache()
65 get_mmcr1_unit(get_reg_value(intr_regs, "MMCR1"), 1)); in mmcr1_sel_unit_cache()
67 get_mmcr1_cache(get_reg_value(intr_regs, "MMCR1"), 1)); in mmcr1_sel_unit_cache()
Dmmcr0_exceptionbits_test.c22 u64 *intr_regs; in mmcr0_exceptionbits() local
43 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcr0_exceptionbits()
46 FAIL_IF(!intr_regs); in mmcr0_exceptionbits()
49 FAIL_IF(get_mmcr0_pmae(get_reg_value(intr_regs, "MMCR0"), 5)); in mmcr0_exceptionbits()
50 FAIL_IF(!get_mmcr0_pmao(get_reg_value(intr_regs, "MMCR0"), 5)); in mmcr0_exceptionbits()
Dmmcr0_fc56_pmc1ce_test.c22 u64 *intr_regs; in mmcr0_fc56_pmc1ce() local
43 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcr0_fc56_pmc1ce()
46 FAIL_IF(!intr_regs); in mmcr0_fc56_pmc1ce()
49 FAIL_IF(!get_mmcr0_fc56(get_reg_value(intr_regs, "MMCR0"), 1)); in mmcr0_fc56_pmc1ce()
50 FAIL_IF(!get_mmcr0_pmc1ce(get_reg_value(intr_regs, "MMCR0"), 1)); in mmcr0_fc56_pmc1ce()
Dmmcr2_fcs_fch_test.c37 u64 *intr_regs; in mmcr2_fcs_fch() local
62 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcr2_fcs_fch()
65 FAIL_IF(!intr_regs); in mmcr2_fcs_fch()
73 get_mmcr2_fch(get_reg_value(intr_regs, "MMCR2"), 1)); in mmcr2_fcs_fch()
76 get_mmcr2_fcs(get_reg_value(intr_regs, "MMCR2"), 1)); in mmcr2_fcs_fch()
Dmmcr0_fc56_pmc56_test.c22 u64 *intr_regs; in mmcr0_fc56_pmc56() local
43 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcr0_fc56_pmc56()
46 FAIL_IF(!intr_regs); in mmcr0_fc56_pmc56()
49 FAIL_IF(get_mmcr0_fc56(get_reg_value(intr_regs, "MMCR0"), 5)); in mmcr0_fc56_pmc56()
Dmmcr0_pmcjce_test.c22 u64 *intr_regs; in mmcr0_pmcjce() local
43 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcr0_pmcjce()
46 FAIL_IF(!intr_regs); in mmcr0_pmcjce()
49 FAIL_IF(!get_mmcr0_pmcjce(get_reg_value(intr_regs, "MMCR0"), 5)); in mmcr0_pmcjce()
Dmmcr0_cc56run_test.c22 u64 *intr_regs; in mmcr0_cc56run() local
44 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcr0_cc56run()
47 FAIL_IF(!intr_regs); in mmcr0_cc56run()
50 FAIL_IF(!get_mmcr0_cc56run(get_reg_value(intr_regs, "MMCR0"), 5)); in mmcr0_cc56run()
Dmmcr0_pmccext_test.c22 u64 *intr_regs; in mmcr0_pmccext() local
44 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcr0_pmccext()
47 FAIL_IF(!intr_regs); in mmcr0_pmccext()
50 FAIL_IF(!get_mmcr0_pmccext(get_reg_value(intr_regs, "MMCR0"), 4)); in mmcr0_pmccext()
Dmmcra_bhrb_disable_no_branch_test.c25 u64 *intr_regs; in mmcra_bhrb_disable_no_branch_test() local
49 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcra_bhrb_disable_no_branch_test()
52 FAIL_IF(!intr_regs); in mmcra_bhrb_disable_no_branch_test()
55 FAIL_IF(!get_mmcra_bhrb_disable(get_reg_value(intr_regs, "MMCRA"), 5)); in mmcra_bhrb_disable_no_branch_test()
Dmmcra_bhrb_any_test.c28 u64 *intr_regs; in mmcra_bhrb_any_test() local
50 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcra_bhrb_any_test()
53 FAIL_IF(!intr_regs); in mmcra_bhrb_any_test()
56 FAIL_IF(get_mmcra_ifm(get_reg_value(intr_regs, "MMCRA"), 5) != IFM_ANY_BRANCH); in mmcra_bhrb_any_test()
Dmmcra_bhrb_disable_test.c25 u64 *intr_regs; in mmcra_bhrb_disable_test() local
51 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcra_bhrb_disable_test()
54 FAIL_IF(!intr_regs); in mmcra_bhrb_disable_test()
57 FAIL_IF(get_mmcra_bhrb_disable(get_reg_value(intr_regs, "MMCRA"), 5)); in mmcra_bhrb_disable_test()
Dmmcr1_comb_test.c25 u64 *intr_regs; in mmcr1_comb() local
47 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcr1_comb()
50 FAIL_IF(!intr_regs); in mmcr1_comb()
57 get_mmcr1_comb(get_reg_value(intr_regs, "MMCR1"), 4)); in mmcr1_comb()
Dmmcra_bhrb_ind_call_test.c28 u64 *intr_regs; in mmcra_bhrb_ind_call_test() local
54 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcra_bhrb_ind_call_test()
57 FAIL_IF(!intr_regs); in mmcra_bhrb_ind_call_test()
60 FAIL_IF(get_mmcra_ifm(get_reg_value(intr_regs, "MMCRA"), 5) != IFM_IND_BRANCH); in mmcra_bhrb_ind_call_test()
Dmmcr3_src_test.c25 u64 *intr_regs; in mmcr3_src() local
48 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcr3_src()
51 FAIL_IF(!intr_regs); in mmcr3_src()
58 get_mmcr3_src(get_reg_value(intr_regs, "MMCR3"), 1)); in mmcr3_src()
Dmmcra_bhrb_cond_test.c28 u64 *intr_regs; in mmcra_bhrb_cond_test() local
54 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcra_bhrb_cond_test()
57 FAIL_IF(!intr_regs); in mmcra_bhrb_cond_test()
60 FAIL_IF(get_mmcra_ifm(get_reg_value(intr_regs, "MMCRA"), 5) != IFM_COND_BRANCH); in mmcra_bhrb_cond_test()
Dmmcra_thresh_cmp_test.c27 u64 *intr_regs; in mmcra_thresh_cmp() local
58 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcra_thresh_cmp()
61 FAIL_IF(!intr_regs); in mmcra_thresh_cmp()
65 get_mmcra_thd_cmp(get_reg_value(intr_regs, "MMCRA"), 4)); in mmcra_thresh_cmp()
Dmmcr2_l2l3_test.c25 u64 *intr_regs; in mmcr2_l2l3() local
53 intr_regs = get_intr_regs(&event, event.mmap_buffer); in mmcr2_l2l3()
56 FAIL_IF(!intr_regs); in mmcr2_l2l3()
63 get_mmcr2_l2l3(get_reg_value(intr_regs, "MMCR2"), 4)); in mmcr2_l2l3()
Dmisc.c271 u64 *intr_regs; in get_intr_regs() local
278 intr_regs = (u64 *)perf_read_first_sample(sample_buff, &size); in get_intr_regs()
279 if (!intr_regs) in get_intr_regs()
297 intr_regs += ((*intr_regs) * 3) + 1; in get_intr_regs()
305 ++intr_regs; in get_intr_regs()
307 return intr_regs; in get_intr_regs()
434 u64 get_reg_value(u64 *intr_regs, char *register_name) in get_reg_value() argument
444 return *(intr_regs + register_bit_position); in get_reg_value()
Dmisc.h56 u64 get_reg_value(u64 *intr_regs, char *register_name);
/linux-6.6.21/tools/perf/tests/
Dsample-parsing.c160 size_t sz = hweight_long(s1->intr_regs.mask) * sizeof(u64); in samples_same()
162 COMP(intr_regs.mask); in samples_same()
163 COMP(intr_regs.abi); in samples_same()
164 if (s1->intr_regs.abi && in samples_same()
165 (!s1->intr_regs.regs || !s2->intr_regs.regs || in samples_same()
166 memcmp(s1->intr_regs.regs, s2->intr_regs.regs, sz))) { in samples_same()
257 .intr_regs = { in do_test()
/linux-6.6.21/Documentation/devicetree/bindings/spi/
Dbrcm,spi-bcm-qspi.yaml62 - enum: [ intr_regs, intr_status_reg, cs_reg ]
63 - enum: [ intr_regs, intr_status_reg, cs_reg ]
64 - enum: [ intr_regs, intr_status_reg, cs_reg ]
150 reg-names = "mspi", "bspi", "intr_regs", "intr_status_reg";
179 reg-names = "mspi", "bspi", "intr_regs", "intr_status_reg";
/linux-6.6.21/tools/perf/util/
Dsample.h117 struct regs_dump intr_regs; member
Dsynthetic-events.c1523 if (sample->intr_regs.abi) { in perf_event__sample_event_size()
1525 sz = hweight64(sample->intr_regs.mask) * sizeof(u64); in perf_event__sample_event_size()
1726 if (sample->intr_regs.abi) { in perf_event__synthesize_sample()
1727 *array++ = sample->intr_regs.abi; in perf_event__synthesize_sample()
1728 sz = hweight64(sample->intr_regs.mask) * sizeof(u64); in perf_event__synthesize_sample()
1729 memcpy(array, sample->intr_regs.regs, sz); in perf_event__synthesize_sample()
/linux-6.6.21/arch/arm/boot/dts/broadcom/
Dbcm5301x.dtsi139 reg-names = "mspi", "bspi", "intr_regs", "intr_status_reg";

12