/Linux-v6.1/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
D | mmcra_thresh_marked_sample_test.c | 26 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 …]
|
D | mmcr1_sel_unit_cache_test.c | 25 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()
|
D | mmcr0_fc56_pmc1ce_test.c | 22 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()
|
D | mmcr0_exceptionbits_test.c | 22 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()
|
D | mmcr2_fcs_fch_test.c | 37 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()
|
D | mmcr0_cc56run_test.c | 22 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()
|
D | mmcr0_fc56_pmc56_test.c | 22 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()
|
D | mmcr0_pmccext_test.c | 22 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()
|
D | mmcr0_pmcjce_test.c | 22 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()
|
D | mmcr1_comb_test.c | 25 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()
|
D | mmcra_bhrb_disable_no_branch_test.c | 25 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()
|
D | mmcra_bhrb_disable_test.c | 25 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()
|
D | mmcra_bhrb_any_test.c | 28 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()
|
D | mmcr3_src_test.c | 25 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()
|
D | mmcra_bhrb_cond_test.c | 28 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()
|
D | mmcra_bhrb_ind_call_test.c | 28 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()
|
D | mmcr2_l2l3_test.c | 25 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()
|
D | mmcra_thresh_cmp_test.c | 27 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()
|
D | misc.c | 271 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()
|
D | intr_regs_no_crash_wo_pmu_test.c | 20 * A fix for crash with intr_regs was 24 * intr_regs using software event. Software event is
|
D | misc.h | 58 u64 get_reg_value(u64 *intr_regs, char *register_name);
|
/Linux-v6.1/tools/perf/tests/ |
D | sample-parsing.c | 160 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-v6.1/Documentation/devicetree/bindings/spi/ |
D | brcm,spi-bcm-qspi.yaml | 62 - 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-v6.1/drivers/spi/ |
D | spi-iproc-qspi.c | 107 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "intr_regs"); in bcm_iproc_probe()
|
/Linux-v6.1/tools/perf/util/ |
D | intel-pt.c | 2073 static u64 *intel_pt_add_gp_regs(struct regs_dump *intr_regs, u64 *pos, in intel_pt_add_gp_regs() argument 2091 * mask (i.e. 'intr_regs->mask') accordingly. in intel_pt_add_gp_regs() 2094 intr_regs->mask |= bit; in intel_pt_add_gp_regs() 2106 static void intel_pt_add_xmm(struct regs_dump *intr_regs, u64 *pos, in intel_pt_add_xmm() argument 2117 * and update the resulting mask (i.e. 'intr_regs->mask') accordingly. in intel_pt_add_xmm() 2119 intr_regs->mask |= (u64)mask << PERF_REG_X86_XMM0; in intel_pt_add_xmm() 2183 u64 regs[8 * sizeof(sample.intr_regs.mask)]; in intel_pt_do_synth_pebs_sample() 2235 sample.intr_regs.abi = items->is_32_bit ? in intel_pt_do_synth_pebs_sample() 2238 sample.intr_regs.regs = regs; in intel_pt_do_synth_pebs_sample() 2240 pos = intel_pt_add_gp_regs(&sample.intr_regs, regs, items, regs_mask); in intel_pt_do_synth_pebs_sample() [all …]
|