Searched refs:GET_COUNTERID (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/perf/ |
H A D | thunderx2_pmu.c | 29 #define GET_COUNTERID(ev, mask) ((ev->hw.idx) & mask) macro 333 + L3C_COUNTER_CTL + (8 * GET_COUNTERID(event, cmask)); in init_cntr_base_l3c() 335 + L3C_COUNTER_DATA + (8 * GET_COUNTERID(event, cmask)); in init_cntr_base_l3c() 351 + DMC_COUNTER_DATA + (0xc * GET_COUNTERID(event, cmask)); in init_cntr_base_dmc() 363 + CCPI2_COUNTER_CTL + (4 * GET_COUNTERID(event, cmask)); in init_cntr_base_ccpi2() 399 idx = GET_COUNTERID(event, cmask); in uncore_start_event_dmc() 422 idx = GET_COUNTERID(event, cmask); in uncore_stop_event_dmc() 479 GET_COUNTERID(event, cmask), in tx2_uncore_event_update() 685 free_counter(tx2_pmu, GET_COUNTERID(event, cmask)); in tx2_uncore_event_del()
|