Searched refs:max_counters (Results 1 – 8 of 8) sorted by relevance
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()2253 if (!dev->caps.max_counters) in mlx4_init_counters_table()2256 nent_pow2 = roundup_pow_of_two(dev->caps.max_counters); in mlx4_init_counters_table()2260 nent_pow2 - dev->caps.max_counters + 1); in mlx4_init_counters_table()2268 if (!dev->caps.max_counters) in mlx4_cleanup_counters_table()
487 (dev->caps.max_counters - 1)) in mlx4_calc_res_counter_guaranteed()535 res_alloc->res_free = dev->caps.max_counters - 1; in mlx4_init_resource_tracker()613 res_alloc->quota[t] = dev->caps.max_counters; in mlx4_init_resource_tracker()1178 counters_arr = kmalloc_array(dev->caps.max_counters, in mlx4_calc_vf_counters()4978 counters_arr = kmalloc_array(dev->caps.max_counters, in rem_slave_counters()
938 MLX4_GET(dev_cap->max_counters, outbox, in mlx4_QUERY_DEV_CAP()1038 mlx4_dbg(dev, "Max counters: %d\n", dev_cap->max_counters); in mlx4_dev_cap_dump()
567 u8 max_counters; member
1192 iommu->max_counters = (u8) ((val >> 7) & 0xf); in init_iommu_perf_ctr()2326 ret = iommu->max_counters; in amd_iommu_pc_get_max_counters()2347 (iommu->max_counters << 8) | 0x28); in iommu_pc_get_set_reg_val()