Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/dma/idxd/
H A 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()
H A Ddevice.c549 for (i = 0; i < idxd->max_groups; i++) { in idxd_groups_config_write()
629 for (i = 0; i < idxd->max_groups; i++) { in idxd_group_flags_setup()
656 for (i = 0; i < idxd->max_groups; i++) { in idxd_engines_setup()
685 for (i = 0; i < idxd->max_groups; i++) { in idxd_wqs_setup()
H A Dsysfs.c421 if (id > idxd->max_groups - 1 || id < -1) in engine_group_id_store()
466 for (i = 0, tokens = 0; i < idxd->max_groups; i++) { in idxd_set_free_tokens()
824 if (id > idxd->max_groups - 1 || id < -1) in wq_group_id_store()
1211 return sprintf(buf, "%u\n", idxd->max_groups); in max_groups_show()
1213 static DEVICE_ATTR_RO(max_groups);
1499 for (i = 0; i < idxd->max_groups; i++) { in idxd_setup_group_sysfs()
1635 for (i = 0; i < idxd->max_groups; i++) { in idxd_cleanup_sysfs()
H A Didxd.h193 int max_groups; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A 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()
H A Dspectrum_acl_tcam.h18 unsigned int max_groups; member
/OK3568_Linux_fs/kernel/Documentation/ABI/stable/
H A Dsysfs-driver-dma-idxd38 What: /sys/bus/dsa/devices/dsa<m>/max_groups