Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/dma/idxd/
Dinit.c150 idxd->groups = devm_kcalloc(dev, idxd->max_groups, in idxd_setup_internals()
155 for (i = 0; i < idxd->max_groups; i++) { in idxd_setup_internals()
237 idxd->max_groups = idxd->hw.group_cap.num_groups; in idxd_read_caps()
238 dev_dbg(dev, "max groups: %u\n", idxd->max_groups); in idxd_read_caps()
Ddevice.c523 for (i = 0; i < idxd->max_groups; i++) { in idxd_groups_config_write()
596 for (i = 0; i < idxd->max_groups; i++) { in idxd_group_flags_setup()
623 for (i = 0; i < idxd->max_groups; i++) { in idxd_engines_setup()
652 for (i = 0; i < idxd->max_groups; i++) { in idxd_wqs_setup()
Dsysfs.c426 if (id > idxd->max_groups - 1 || id < -1) in engine_group_id_store()
471 for (i = 0, tokens = 0; i < idxd->max_groups; i++) { in idxd_set_free_tokens()
829 if (id > idxd->max_groups - 1 || id < -1) in wq_group_id_store()
1202 return sprintf(buf, "%u\n", idxd->max_groups); in max_groups_show()
1204 static DEVICE_ATTR_RO(max_groups);
1484 for (i = 0; i < idxd->max_groups; i++) { in idxd_setup_group_sysfs()
1620 for (i = 0; i < idxd->max_groups; i++) { in idxd_cleanup_sysfs()
Didxd.h179 int max_groups; member
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_tcam.c38 u64 max_groups; in mlxsw_sp_acl_tcam_init() local
61 max_groups = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_MAX_GROUPS); in mlxsw_sp_acl_tcam_init()
62 alloc_size = sizeof(tcam->used_groups[0]) * BITS_TO_LONGS(max_groups); in mlxsw_sp_acl_tcam_init()
68 tcam->max_groups = max_groups; in mlxsw_sp_acl_tcam_init()
145 id = find_first_zero_bit(tcam->used_groups, tcam->max_groups); in mlxsw_sp_acl_tcam_group_id_get()
146 if (id < tcam->max_groups) { in mlxsw_sp_acl_tcam_group_id_get()
Dspectrum_acl_tcam.h18 unsigned int max_groups; member
/Linux-v5.10/Documentation/ABI/stable/
Dsysfs-driver-dma-idxd38 What: /sys/bus/dsa/devices/dsa<m>/max_groups