Lines Matching refs:grpcfg
681 memset(&group->grpcfg, 0, sizeof(group->grpcfg)); in idxd_groups_clear_state()
756 iowrite64(group->grpcfg.wqs[i], idxd->reg_base + grpcfg_offset); in idxd_group_config_write()
764 iowrite64(group->grpcfg.engines, idxd->reg_base + grpcfg_offset); in idxd_group_config_write()
770 iowrite32(group->grpcfg.flags.bits, idxd->reg_base + grpcfg_offset); in idxd_group_config_write()
920 group->tc_a = group->grpcfg.flags.tc_a = 0; in idxd_group_flags_setup()
922 group->grpcfg.flags.tc_a = group->tc_a; in idxd_group_flags_setup()
924 group->tc_b = group->grpcfg.flags.tc_b = 1; in idxd_group_flags_setup()
926 group->grpcfg.flags.tc_b = group->tc_b; in idxd_group_flags_setup()
927 group->grpcfg.flags.use_token_limit = group->use_token_limit; in idxd_group_flags_setup()
928 group->grpcfg.flags.tokens_reserved = group->tokens_reserved; in idxd_group_flags_setup()
930 group->grpcfg.flags.tokens_allowed = in idxd_group_flags_setup()
933 group->grpcfg.flags.tokens_allowed = idxd->max_tokens; in idxd_group_flags_setup()
945 group->grpcfg.engines = 0; in idxd_engines_setup()
955 group->grpcfg.engines |= BIT(eng->id); in idxd_engines_setup()
975 group->grpcfg.wqs[j] = 0; in idxd_wqs_setup()
993 group->grpcfg.wqs[wq->id / 64] |= BIT(wq->id % 64); in idxd_wqs_setup()
1074 group->grpcfg.wqs[i] = ioread64(idxd->reg_base + grpcfg_offset); in idxd_group_load_config()
1076 group->id, i, grpcfg_offset, group->grpcfg.wqs[i]); in idxd_group_load_config()
1090 if (group->grpcfg.wqs[i] & BIT(j)) { in idxd_group_load_config()
1098 group->grpcfg.engines = ioread64(idxd->reg_base + grpcfg_offset); in idxd_group_load_config()
1100 grpcfg_offset, group->grpcfg.engines); in idxd_group_load_config()
1107 if (group->grpcfg.engines & BIT(i)) { in idxd_group_load_config()
1115 group->grpcfg.flags.bits = ioread32(idxd->reg_base + grpcfg_offset); in idxd_group_load_config()
1117 group->id, grpcfg_offset, group->grpcfg.flags.bits); in idxd_group_load_config()