Lines Matching defs:field
993 /* The lower 16bits of the RPT_ID field of the OA reports contains a
1024 * "Disable OA reports due to clock ratio change" field in
1124 #define GET_FIELD(word, field) (((word) & field ## _MASK) >> field ## _SHIFT)
1200 const struct intel_perf_query_field *field = &layout->fields[r];
1202 if (field->type == INTEL_PERF_QUERY_FIELD_TYPE_MI_RPC) {
1204 start + field->location,
1205 end + field->location);
1212 start + field->location,
1213 end + field->location);
1218 if (field->size == 4) {
1219 v0 = *(const uint32_t *)(start + field->location);
1220 v1 = *(const uint32_t *)(end + field->location);
1222 assert(field->size == 8);
1223 v0 = *(const uint64_t *)(start + field->location);
1224 v1 = *(const uint64_t *)(end + field->location);
1227 if (field->mask) {
1228 v0 = field->mask & v0;
1229 v1 = field->mask & v1;
1235 if (field->type == INTEL_PERF_QUERY_FIELD_TYPE_SRM_RPSTAT)
1238 result->accumulator[query_accumulator_offset(query, field->type, field->index)] = v1 - v0;
1257 const struct intel_perf_query_field *field = &layout->fields[r];
1258 const uint32_t *value32 = data + field->location;
1260 switch (field->type) {
1267 fprintf(stderr, "A%u: 0x%08x\n", field->index, *value32);
1270 fprintf(stderr, "B%u: 0x%08x\n", field->index, *value32);
1273 fprintf(stderr, "C%u: 0x%08x\n", field->index, *value32);
1336 struct intel_perf_query_field *field =
1340 field->mask = PERF_CNT_VALUE_MASK;
1342 field = add_query_register(layout,
1345 field->mask = PERF_CNT_VALUE_MASK;