Searched refs:L3C_NR_COUNTERS (Results 1 – 1 of 1) sorted by relevance
41 #define L3C_NR_COUNTERS 0x8 macro86 #define L3C_HW_IDX(_cntr_idx) ((_cntr_idx) % L3C_NR_COUNTERS)89 #define L3C_CNTR_EXT_L(_ext) (((_ext) + 1) * L3C_NR_COUNTERS)90 #define L3C_CNTR_EXT_H(_ext) (((_ext) + 2) * L3C_NR_COUNTERS)418 if (used_cntr < L3C_NR_COUNTERS) { in hisi_l3c_pmu_start_counters()449 if (used_cntr < L3C_NR_COUNTERS) { in hisi_l3c_pmu_stop_counters()525 status_ext |= ext_int << (L3C_NR_COUNTERS * i); in hisi_l3c_pmu_get_int_status()528 return status | (status_ext << L3C_NR_COUNTERS); in hisi_l3c_pmu_get_int_status()799 l3c_pmu->num_counters = L3C_NR_COUNTERS; in hisi_l3c_pmu_dev_probe()814 l3c_pmu->num_counters += hisi_l3c_pmu->ext_num * L3C_NR_COUNTERS; in hisi_l3c_pmu_dev_probe()