Searched refs:max_groups (Results 1 – 7 of 7) sorted by relevance
150 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()
523 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()
426 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()
179 int max_groups; member
38 u64 max_groups; in mlxsw_sp_acl_tcam_init() local61 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()
18 unsigned int max_groups; member
38 What: /sys/bus/dsa/devices/dsa<m>/max_groups