Lines Matching refs:cmask
326 u32 cmask; in init_cntr_base_l3c() local
329 cmask = tx2_pmu->counters_mask; in init_cntr_base_l3c()
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()
342 u32 cmask; in init_cntr_base_dmc() local
345 cmask = tx2_pmu->counters_mask; in init_cntr_base_dmc()
351 + DMC_COUNTER_DATA + (0xc * GET_COUNTERID(event, cmask)); in init_cntr_base_dmc()
358 u32 cmask; in init_cntr_base_ccpi2() local
360 cmask = tx2_pmu->counters_mask; in init_cntr_base_ccpi2()
363 + CCPI2_COUNTER_CTL + (4 * GET_COUNTERID(event, cmask)); in init_cntr_base_ccpi2()
390 u32 val, cmask, emask; in uncore_start_event_dmc() local
396 cmask = tx2_pmu->counters_mask; in uncore_start_event_dmc()
399 idx = GET_COUNTERID(event, cmask); in uncore_start_event_dmc()
415 u32 val, cmask; in uncore_stop_event_dmc() local
421 cmask = tx2_pmu->counters_mask; in uncore_stop_event_dmc()
422 idx = GET_COUNTERID(event, cmask); in uncore_stop_event_dmc()
470 u32 cmask, emask; in tx2_uncore_event_update() local
474 cmask = tx2_pmu->counters_mask; in tx2_uncore_event_update()
479 GET_COUNTERID(event, cmask), in tx2_uncore_event_update()
679 u32 cmask; in tx2_uncore_event_del() local
681 cmask = tx2_pmu->counters_mask; in tx2_uncore_event_del()
685 free_counter(tx2_pmu, GET_COUNTERID(event, cmask)); in tx2_uncore_event_del()