Home
last modified time | relevance | path

Searched full:intr_regs (Results 1 – 25 of 35) sorted by relevance

12

/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/
H 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()
50 /* Check for intr_regs */ 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()
[all …]
H 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()
55 /* Check for intr_regs */ 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()
H 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()
45 /* Check for intr_regs */ 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()
H 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()
45 /* Check for intr_regs */ 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()
H 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()
64 /* Check for intr_regs */ 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()
H 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()
46 /* Check for intr_regs */ 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()
H 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()
45 /* Check for intr_regs */ 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()
H 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()
45 /* Check for intr_regs */ 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()
H 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()
46 /* Check for intr_regs */ 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()
H 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()
51 /* Check for intr_regs */ 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()
H 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()
53 /* Check for intr_regs */ 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()
H 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()
52 /* Check for intr_regs */ 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()
H 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()
49 /* Check for intr_regs */ 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()
H 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()
56 /* Check for intr_regs */ 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()
H 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()
50 /* Check for intr_regs */ 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()
H 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()
56 /* Check for intr_regs */ 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()
H 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()
60 /* Check for intr_regs */ 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()
H 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()
55 /* Check for intr_regs */ 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()
H 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()
H A Dintr_regs_no_crash_wo_pmu_test.c20 * A fix for crash with intr_regs was
24 * intr_regs using software event. Software event is
/linux/tools/perf/tests/
H 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()
167 pr_debug("Samples differ at 'intr_regs'\n"); in samples_same()
257 .intr_regs = { in do_test()
/linux/Documentation/devicetree/bindings/spi/
H 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/tools/perf/util/
H A Dsample.h118 struct regs_dump intr_regs; member
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm5301x.dtsi105 reg-names = "mspi", "bspi", "intr_regs", "intr_status_reg";
/linux/drivers/spi/
H A Dspi-iproc-qspi.c106 priv->int_reg = devm_platform_ioremap_resource_byname(pdev, "intr_regs"); in bcm_iproc_probe()

12