Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/tools/testing/selftests/powerpc/pmu/sampling_tests/
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A Dmisc.h58 u64 get_reg_value(u64 *intr_regs, char *register_name);
/linux-6.3-rc2/tools/perf/tests/
A 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.3-rc2/Documentation/devicetree/bindings/spi/
A 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.3-rc2/tools/perf/util/
A Dsample.h105 struct regs_dump intr_regs; member
A Dsynthetic-events.c1520 if (sample->intr_regs.abi) { in perf_event__sample_event_size()
1522 sz = hweight64(sample->intr_regs.mask) * sizeof(u64); in perf_event__sample_event_size()
1723 if (sample->intr_regs.abi) { in perf_event__synthesize_sample()
1724 *array++ = sample->intr_regs.abi; in perf_event__synthesize_sample()
1725 sz = hweight64(sample->intr_regs.mask) * sizeof(u64); in perf_event__synthesize_sample()
1726 memcpy(array, sample->intr_regs.regs, sz); in perf_event__synthesize_sample()
A Dintel-pt.c2107 static u64 *intel_pt_add_gp_regs(struct regs_dump *intr_regs, u64 *pos, in intel_pt_add_gp_regs() argument
2128 intr_regs->mask |= bit; in intel_pt_add_gp_regs()
2140 static void intel_pt_add_xmm(struct regs_dump *intr_regs, u64 *pos, in intel_pt_add_xmm() argument
2153 intr_regs->mask |= (u64)mask << PERF_REG_X86_XMM0; in intel_pt_add_xmm()
2217 u64 regs[8 * sizeof(sample.intr_regs.mask)]; in intel_pt_do_synth_pebs_sample()
2269 sample.intr_regs.abi = items->is_32_bit ? in intel_pt_do_synth_pebs_sample()
2272 sample.intr_regs.regs = regs; in intel_pt_do_synth_pebs_sample()
2274 pos = intel_pt_add_gp_regs(&sample.intr_regs, regs, items, regs_mask); in intel_pt_do_synth_pebs_sample()
2276 intel_pt_add_xmm(&sample.intr_regs, pos, items, regs_mask); in intel_pt_do_synth_pebs_sample()

Completed in 36 milliseconds

12