Searched refs:max_banks (Results 1 – 3 of 3) sorted by relevance
41 u8 max_banks; member158 int max_banks = piommu->max_banks; in get_next_avail_iommu_bnk_cntr() local165 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() local192 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()
585 u8 max_banks; member
1677 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()