Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/events/amd/
H A Diommu.c42 u64 cntr_assign_mask; member
167 if (piommu->cntr_assign_mask & BIT_ULL(shift)) { in get_next_avail_iommu_bnk_cntr()
170 piommu->cntr_assign_mask |= BIT_ULL(shift); in get_next_avail_iommu_bnk_cntr()
200 perf_iommu->cntr_assign_mask &= ~(1ULL<<shift); in clear_avail_iommu_bnk_cntr()
/openbmc/linux/drivers/perf/
H A Dxgene_pmu.c97 DECLARE_BITMAP(cntr_assign_mask, PMU_MAX_COUNTERS);
696 cntr = find_first_zero_bit(pmu_dev->cntr_assign_mask, in get_next_avail_cntr()
700 set_bit(cntr, pmu_dev->cntr_assign_mask); in get_next_avail_cntr()
707 clear_bit(cntr, pmu_dev->cntr_assign_mask); in clear_avail_cntr()
870 bool enabled = !bitmap_empty(pmu_dev->cntr_assign_mask, in xgene_perf_pmu_enable()