Home
last modified time | relevance | path

Searched refs:max_groups (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/dma/idxd/
Dinit.c272 idxd->groups = kcalloc_node(idxd->max_groups, sizeof(struct idxd_group *), in idxd_setup_groups()
277 for (i = 0; i < idxd->max_groups; i++) { in idxd_setup_groups()
322 for (i = 0; i < idxd->max_groups; i++) in idxd_cleanup_internals()
359 for (i = 0; i < idxd->max_groups; i++) in idxd_setup_internals()
430 idxd->max_groups = idxd->hw.group_cap.num_groups; in idxd_read_caps()
431 dev_dbg(dev, "max groups: %u\n", idxd->max_groups); in idxd_read_caps()
Dsysfs.c48 if (id > idxd->max_groups - 1 || id < -1) in engine_group_id_store()
106 for (i = 0, rdbufs = 0; i < idxd->max_groups; i++) { in idxd_set_free_rdbufs()
647 if (id > idxd->max_groups - 1 || id < -1) in wq_group_id_store()
1329 return sysfs_emit(buf, "%u\n", idxd->max_groups); in max_groups_show()
1331 static DEVICE_ATTR_RO(max_groups);
1696 for (i = 0; i < idxd->max_groups; i++) { in idxd_register_group_devices()
1707 for (; i < idxd->max_groups; i++) { in idxd_register_group_devices()
1803 for (i = 0; i < idxd->max_groups; i++) { in idxd_unregister_devices()
Ddevice.c697 for (i = 0; i < idxd->max_groups; i++) { in idxd_groups_clear_state()
801 for (i = 0; i < idxd->max_groups; i++) { in idxd_groups_config_write()
925 for (i = 0; i < idxd->max_groups; i++) { in idxd_group_flags_setup()
954 for (i = 0; i < idxd->max_groups; i++) { in idxd_engines_setup()
983 for (i = 0; i < idxd->max_groups; i++) { in idxd_wqs_setup()
1140 for (i = 0; i < idxd->max_groups; i++) { in idxd_device_load_config()
Didxd.h299 int max_groups; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_tcam.c38 u64 max_groups; in mlxsw_sp_acl_tcam_init() local
59 max_groups = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_MAX_GROUPS); in mlxsw_sp_acl_tcam_init()
60 tcam->used_groups = bitmap_zalloc(max_groups, GFP_KERNEL); in mlxsw_sp_acl_tcam_init()
65 tcam->max_groups = max_groups; in mlxsw_sp_acl_tcam_init()
142 id = find_first_zero_bit(tcam->used_groups, tcam->max_groups); in mlxsw_sp_acl_tcam_group_id_get()
143 if (id < tcam->max_groups) { in mlxsw_sp_acl_tcam_group_id_get()
Dspectrum_acl_tcam.h18 unsigned int max_groups; member
/linux-6.1.9/include/net/
Damt.h335 u32 max_groups; member
/linux-6.1.9/Documentation/ABI/stable/
Dsysfs-driver-dma-idxd39 What: /sys/bus/dsa/devices/dsa<m>/max_groups
/linux-6.1.9/drivers/net/
Damt.c473 if (tunnel->nr_groups >= amt->max_groups) in amt_add_group()
3187 amt->max_groups = AMT_MAX_GROUP; in amt_newlink()