Searched refs:max_counters (Results 1 – 10 of 10) sorted by relevance
41 u8 max_counters; member153 int max_cntrs = perf_iommu->max_counters; in get_next_avail_iommu_bnk_cntr()183 max_cntrs = perf_iommu->max_counters; in clear_avail_iommu_bnk_cntr()238 perf_iommu->max_counters = in perf_iommu_event_init()240 if ((perf_iommu->max_banks == 0) || (perf_iommu->max_counters == 0)) in perf_iommu_event_init()480 .max_counters = 0x00,
163 u32 max_counters:11; member
52 tb_info(tb, " Max counters: %d\n", port->max_counters); in tb_dump_port()
127 u32 max_counters; member
505 dev->caps.max_counters = dev_cap->max_counters; in mlx4_dev_cap()2247 if (!dev->caps.max_counters) in mlx4_init_counters_table()2250 nent_pow2 = roundup_pow_of_two(dev->caps.max_counters); in mlx4_init_counters_table()2254 nent_pow2 - dev->caps.max_counters + 1); in mlx4_init_counters_table()2262 if (!dev->caps.max_counters) in mlx4_cleanup_counters_table()
469 return (dev->caps.max_counters - 1 - in get_max_gauranteed_vfs_counter()517 res_alloc->res_free = dev->caps.max_counters - 1; in mlx4_init_resource_tracker()595 res_alloc->quota[t] = dev->caps.max_counters; in mlx4_init_resource_tracker()1166 counters_arr = kmalloc_array(dev->caps.max_counters, in mlx4_calc_vf_counters()4965 counters_arr = kmalloc_array(dev->caps.max_counters, in rem_slave_counters()
939 MLX4_GET(dev_cap->max_counters, outbox, in mlx4_QUERY_DEV_CAP()1039 mlx4_dbg(dev, "Max counters: %d\n", dev_cap->max_counters); in mlx4_dev_cap_dump()
563 u8 max_counters; member
1189 iommu->max_counters = (u8) ((val >> 7) & 0xf); in init_iommu_perf_ctr()2313 ret = iommu->max_counters; in amd_iommu_pc_get_max_counters()2334 (iommu->max_counters << 8) | 0x28); in iommu_pc_get_set_reg_val()
588 u32 max_counters; member992 #define MLX4_SINK_COUNTER_INDEX(dev) (dev->caps.max_counters - 1)