Home
last modified time | relevance | path

Searched refs:max_banks (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/arch/x86/events/amd/
Diommu.c41 u8 max_banks; member
158 int max_banks = piommu->max_banks; in get_next_avail_iommu_bnk_cntr() local
165 for (bank = 0, shift = 0; bank < max_banks; bank++) { in get_next_avail_iommu_bnk_cntr()
189 int max_banks, max_cntrs; in clear_avail_iommu_bnk_cntr() local
192 max_banks = perf_iommu->max_banks; in clear_avail_iommu_bnk_cntr()
195 if ((bank > max_banks) || (cntr > max_cntrs)) in clear_avail_iommu_bnk_cntr()
425 perf_iommu->max_banks = amd_iommu_pc_get_max_banks(idx); in init_one_iommu()
429 !perf_iommu->max_banks || in init_one_iommu()
440 idx, perf_iommu->max_banks, perf_iommu->max_counters); in init_one_iommu()
/Linux-v5.4/drivers/iommu/
Damd_iommu_types.h585 u8 max_banks; member
Damd_iommu_init.c1677 iommu->max_banks = (u8) ((val >> 12) & 0x3f); in init_iommu_perf_ctr()
3080 return iommu->max_banks; in amd_iommu_pc_get_max_banks()
3120 max_offset_lim = (u32)(((0x40 | iommu->max_banks) << 12) | in iommu_pc_get_set_reg()