Home
last modified time | relevance | path

Searched refs:max_counters (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/gpu/drm/v3d/
H A Dv3d_performance_counters.h27 unsigned int max_counters; member
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dfw.h127 u32 max_counters; member
H A Dmain.c653 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()
H A Dresource_tracker.c495 (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()
H A Dfw.c1062 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()
/linux/drivers/thunderbolt/
H A Dtb_regs.h289 u32 max_counters:11; member
H A Dswitch.c455 tb_dbg(tb, " Max counters: %d\n", regs->max_counters); in tb_dump_port()
/linux/include/linux/mlx4/
H A Ddevice.h614 u32 max_counters; member
1032 #define MLX4_SINK_COUNTER_INDEX(dev) (dev->caps.max_counters - 1)
/linux/drivers/iommu/amd/
H A Damd_iommu_types.h784 u8 max_counters; member
H A Dinit.c1953 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()