Home
last modified time | relevance | path

Searched refs:used_groups (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/perf/
H A Dqcom_l2_pmu.c140 DECLARE_BITMAP(used_groups, L2_EVT_GROUP_MAX + 1);
365 if (test_bit(group, cluster->used_groups)) in l2_cache_get_event_idx()
369 set_bit(group, cluster->used_groups); in l2_cache_get_event_idx()
382 clear_bit(L2_EVT_GROUP(hwc->config_base), cluster->used_groups); in l2_cache_clear_event_idx()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_tcam.c85 id = ida_alloc_max(&tcam->used_groups, tcam->max_groups - 1, in mlxsw_sp_acl_tcam_group_id_get()
98 ida_free(&tcam->used_groups, id); in mlxsw_sp_acl_tcam_group_id_put()
1595 ida_init(&tcam->used_groups); in mlxsw_sp_acl_tcam_init()
1609 ida_destroy(&tcam->used_groups); in mlxsw_sp_acl_tcam_init()
1623 ida_destroy(&tcam->used_groups); in mlxsw_sp_acl_tcam_fini()
H A Dspectrum_acl_tcam.h18 struct ida used_groups; member