Home
last modified time | relevance | path

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

/drivers/thunderbolt/
Dtb_regs.h163 u32 max_counters:11; member
Dswitch.c52 tb_info(tb, " Max counters: %d\n", port->max_counters); in tb_dump_port()
/drivers/net/ethernet/mellanox/mlx4/
Dfw.h127 u32 max_counters; member
Dmain.c505 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()
Dresource_tracker.c487 (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()
Dfw.c938 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()
/drivers/iommu/
Damd_iommu_types.h567 u8 max_counters; member
Damd_iommu_init.c1192 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()