Home
last modified time | relevance | path

Searched refs:cntr_mask (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/arch/mips/kernel/
Dperf_event_mipsxx.c63 unsigned int cntr_mask; member
303 unsigned long cntr_mask = (hwc->event_base >> 8) & 0xffff; in mipsxx_pmu_alloc_counter() local
316 if (test_bit(i, &cntr_mask) && in mipsxx_pmu_alloc_counter()
684 (pev->cntr_mask & 0xffff00) | in mipspmu_perf_event_encode()
688 return ((pev->cntr_mask & 0xffff00) | in mipspmu_perf_event_encode()
695 if ((*mipspmu.general_event_map)[idx].cntr_mask == 0) in mipspmu_map_general_event()
722 if (pev->cntr_mask == 0) in mipspmu_map_cache_event()
1539 raw_event.cntr_mask = CNTR_EVEN | CNTR_ODD; in mipsxx_pmu_map_raw_event()
1541 raw_event.cntr_mask = in mipsxx_pmu_map_raw_event()
1553 raw_event.cntr_mask = CNTR_EVEN | CNTR_ODD; in mipsxx_pmu_map_raw_event()
[all …]
/Linux-v4.19/arch/x86/events/intel/
Drapl.c710 int cntr_mask; member
716 .cntr_mask = RAPL_IDX_CLN,
722 .cntr_mask = RAPL_IDX_SRV,
728 .cntr_mask = RAPL_IDX_HSW,
734 .cntr_mask = RAPL_IDX_SRV,
740 .cntr_mask = RAPL_IDX_KNL,
746 .cntr_mask = RAPL_IDX_SKL_CLN,
801 rapl_cntr_mask = rapl_init->cntr_mask; in rapl_pmu_init()