Lines Matching refs:grpcfg

687 		memset(&group->grpcfg, 0, sizeof(group->grpcfg));  in idxd_groups_clear_state()
856 iowrite64(group->grpcfg.wqs[i], idxd->reg_base + grpcfg_offset); in idxd_group_config_write()
864 iowrite64(group->grpcfg.engines, idxd->reg_base + grpcfg_offset); in idxd_group_config_write()
870 iowrite64(group->grpcfg.flags.bits, idxd->reg_base + grpcfg_offset); in idxd_group_config_write()
1025 group->tc_a = group->grpcfg.flags.tc_a = 0; in idxd_group_flags_setup()
1027 group->grpcfg.flags.tc_a = group->tc_a; in idxd_group_flags_setup()
1029 group->tc_b = group->grpcfg.flags.tc_b = 1; in idxd_group_flags_setup()
1031 group->grpcfg.flags.tc_b = group->tc_b; in idxd_group_flags_setup()
1032 group->grpcfg.flags.use_rdbuf_limit = group->use_rdbuf_limit; in idxd_group_flags_setup()
1033 group->grpcfg.flags.rdbufs_reserved = group->rdbufs_reserved; in idxd_group_flags_setup()
1034 group->grpcfg.flags.rdbufs_allowed = group->rdbufs_allowed; in idxd_group_flags_setup()
1035 group->grpcfg.flags.desc_progress_limit = group->desc_progress_limit; in idxd_group_flags_setup()
1036 group->grpcfg.flags.batch_progress_limit = group->batch_progress_limit; in idxd_group_flags_setup()
1048 group->grpcfg.engines = 0; in idxd_engines_setup()
1058 group->grpcfg.engines |= BIT(eng->id); in idxd_engines_setup()
1078 group->grpcfg.wqs[j] = 0; in idxd_wqs_setup()
1094 group->grpcfg.wqs[wq->id / 64] |= BIT(wq->id % 64); in idxd_wqs_setup()
1178 group->grpcfg.wqs[i] = ioread64(idxd->reg_base + grpcfg_offset); in idxd_group_load_config()
1180 group->id, i, grpcfg_offset, group->grpcfg.wqs[i]); in idxd_group_load_config()
1194 if (group->grpcfg.wqs[i] & BIT(j)) { in idxd_group_load_config()
1202 group->grpcfg.engines = ioread64(idxd->reg_base + grpcfg_offset); in idxd_group_load_config()
1204 grpcfg_offset, group->grpcfg.engines); in idxd_group_load_config()
1211 if (group->grpcfg.engines & BIT(i)) { in idxd_group_load_config()
1219 group->grpcfg.flags.bits = ioread64(idxd->reg_base + grpcfg_offset); in idxd_group_load_config()
1221 group->id, grpcfg_offset, group->grpcfg.flags.bits); in idxd_group_load_config()