Searched refs:max_counters (Results 1 – 10 of 10) sorted by relevance
27 unsigned int max_counters; member
127 u32 max_counters; member
653 dev->caps.max_counters = dev_cap->max_counters; in mlx4_dev_cap()2527 if (!dev->caps.max_counters) in mlx4_init_counters_table()2530 nent_pow2 = roundup_pow_of_two(dev->caps.max_counters); in mlx4_init_counters_table()2534 nent_pow2 - dev->caps.max_counters + 1); in mlx4_init_counters_table()2542 if (!dev->caps.max_counters) in mlx4_cleanup_counters_table()
495 (dev->caps.max_counters - 1)) in mlx4_calc_res_counter_guaranteed()545 res_alloc->res_free = dev->caps.max_counters - 1; in mlx4_init_resource_tracker()623 res_alloc->quota[t] = dev->caps.max_counters; in mlx4_init_resource_tracker()1243 counters_arr = kmalloc_array(dev->caps.max_counters, in mlx4_calc_vf_counters()5190 counters_arr = kmalloc_array(dev->caps.max_counters, in rem_slave_counters()
1062 MLX4_GET(dev_cap->max_counters, outbox, in mlx4_QUERY_DEV_CAP()1167 mlx4_dbg(dev, "Max counters: %d\n", dev_cap->max_counters); in mlx4_dev_cap_dump()
289 u32 max_counters:11; member
455 tb_dbg(tb, " Max counters: %d\n", regs->max_counters); in tb_dump_port()
614 u32 max_counters; member1032 #define MLX4_SINK_COUNTER_INDEX(dev) (dev->caps.max_counters - 1)
784 u8 max_counters; member
1953 iommu->max_counters = (u8) ((val >> 7) & 0xf); in init_iommu_perf_ctr()3775 return iommu->max_counters; in amd_iommu_pc_get_max_counters()3798 (iommu->max_counters << 8) | 0x28); in iommu_pc_get_set_reg()