Searched refs:max_counters (Results 1 – 13 of 13) sorted by relevance
/linux/drivers/perf/ |
A D | thunderx2_pmu.c | 97 u32 max_counters; member 309 tx2_pmu->max_counters); in alloc_counter() 310 if (counter == tx2_pmu->max_counters) in alloc_counter() 545 int max_counters) in tx2_uncore_validate_event_group() argument 568 return counters <= max_counters; in tx2_uncore_validate_event_group() 627 tx2_pmu->max_counters) == 1) { in tx2_uncore_event_start() 706 int max_counters, idx; in tx2_hrtimer_callback() local 709 max_counters = tx2_pmu->max_counters; in tx2_hrtimer_callback() 835 tx2_pmu->max_counters = TX2_PMU_DMC_L3C_MAX_COUNTERS; in tx2_uncore_pmu_init_dev() 850 tx2_pmu->max_counters = TX2_PMU_DMC_L3C_MAX_COUNTERS; in tx2_uncore_pmu_init_dev() [all …]
|
A D | xgene_pmu.c | 96 u8 max_counters; member 697 pmu_dev->max_counters); in get_next_avail_cntr() 698 if (cntr == pmu_dev->max_counters) in get_next_avail_cntr() 871 pmu_dev->max_counters); in xgene_perf_pmu_enable() 1101 pmu_dev->max_counters = 1; in xgene_init_perf() 1103 pmu_dev->max_counters = PMU_MAX_COUNTERS; in xgene_init_perf()
|
/linux/arch/x86/events/amd/ |
A D | iommu.c | 41 u8 max_counters; member 156 int max_cntrs = piommu->max_counters; in get_next_avail_iommu_bnk_cntr() 192 max_cntrs = perf_iommu->max_counters; in clear_avail_iommu_bnk_cntr() 432 perf_iommu->max_counters = amd_iommu_pc_get_max_counters(idx); in init_one_iommu() 436 !perf_iommu->max_counters) { in init_one_iommu() 446 idx, perf_iommu->max_banks, perf_iommu->max_counters); in init_one_iommu()
|
/linux/drivers/thunderbolt/ |
A D | debugfs.c | 195 buf = kcalloc(COUNTER_SET_LEN * port->config.max_counters, sizeof(u32), in port_clear_all_counters() 201 COUNTER_SET_LEN * port->config.max_counters); in port_clear_all_counters() 641 for (i = 0; i < port->config.max_counters; i++) { in counters_show()
|
A D | tb_regs.h | 271 u32 max_counters:11; member
|
A D | switch.c | 507 tb_dbg(tb, " Max counters: %d\n", regs->max_counters); in tb_dump_port()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | fw.h | 127 u32 max_counters; member
|
A D | main.c | 656 dev->caps.max_counters = dev_cap->max_counters; in mlx4_dev_cap() 2512 if (!dev->caps.max_counters) in mlx4_init_counters_table() 2515 nent_pow2 = roundup_pow_of_two(dev->caps.max_counters); in mlx4_init_counters_table() 2519 nent_pow2 - dev->caps.max_counters + 1); in mlx4_init_counters_table() 2527 if (!dev->caps.max_counters) in mlx4_cleanup_counters_table()
|
A D | resource_tracker.c | 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()
|
A D | fw.c | 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()
|
/linux/drivers/iommu/amd/ |
A D | amd_iommu_types.h | 632 u8 max_counters; member
|
A D | init.c | 1731 iommu->max_counters = (u8) ((val >> 7) & 0xf); in init_iommu_perf_ctr() 3280 return iommu->max_counters; in amd_iommu_pc_get_max_counters() 3304 (iommu->max_counters << 8) | 0x28); in iommu_pc_get_set_reg()
|
/linux/include/linux/mlx4/ |
A D | device.h | 613 u32 max_counters; member 1025 #define MLX4_SINK_COUNTER_INDEX(dev) (dev->caps.max_counters - 1)
|
Completed in 75 milliseconds