Lines Matching refs:node

885 guc_capture_delete_one_node(struct intel_guc *guc, struct __guc_capture_parsed_output *node)  in guc_capture_delete_one_node()  argument
890 kfree(node->reginfo[i].regs); in guc_capture_delete_one_node()
891 list_del(&node->link); in guc_capture_delete_one_node()
892 kfree(node); in guc_capture_delete_one_node()
913 guc_capture_add_node_to_list(struct __guc_capture_parsed_output *node, in guc_capture_add_node_to_list() argument
916 list_add_tail(&node->link, list); in guc_capture_add_node_to_list()
921 struct __guc_capture_parsed_output *node) in guc_capture_add_node_to_outlist() argument
923 guc_capture_add_node_to_list(node, &gc->outlist); in guc_capture_add_node_to_outlist()
928 struct __guc_capture_parsed_output *node) in guc_capture_add_node_to_cachelist() argument
930 guc_capture_add_node_to_list(node, &gc->cachelist); in guc_capture_add_node_to_cachelist()
934 guc_capture_init_node(struct intel_guc *guc, struct __guc_capture_parsed_output *node) in guc_capture_init_node() argument
940 tmp[i] = node->reginfo[i].regs; in guc_capture_init_node()
944 memset(node, 0, sizeof(*node)); in guc_capture_init_node()
946 node->reginfo[i].regs = tmp[i]; in guc_capture_init_node()
948 INIT_LIST_HEAD(&node->link); in guc_capture_init_node()
1049 struct __guc_capture_parsed_output *node = NULL; in __guc_capture_create_prealloc_nodes() local
1053 node = guc_capture_alloc_one_node(guc); in __guc_capture_create_prealloc_nodes()
1054 if (!node) { in __guc_capture_create_prealloc_nodes()
1059 guc_capture_add_node_to_cachelist(guc->capture, node); in __guc_capture_create_prealloc_nodes()
1102 struct __guc_capture_parsed_output *node = NULL; in guc_capture_extract_reglists() local
1195 } else if (node) { in guc_capture_extract_reglists()
1206 guc_capture_add_node_to_outlist(guc->capture, node); in guc_capture_extract_reglists()
1207 node = NULL; in guc_capture_extract_reglists()
1209 node->reginfo[GUC_CAPTURE_LIST_TYPE_ENGINE_CLASS].num_regs) { in guc_capture_extract_reglists()
1211 guc_capture_add_node_to_outlist(guc->capture, node); in guc_capture_extract_reglists()
1212 node = guc_capture_clone_node(guc, node, in guc_capture_extract_reglists()
1215 node->reginfo[GUC_CAPTURE_LIST_TYPE_ENGINE_INSTANCE].num_regs) { in guc_capture_extract_reglists()
1217 guc_capture_add_node_to_outlist(guc->capture, node); in guc_capture_extract_reglists()
1218 node = guc_capture_clone_node(guc, node, in guc_capture_extract_reglists()
1224 if (!node) { in guc_capture_extract_reglists()
1225 node = guc_capture_get_prealloc_node(guc); in guc_capture_extract_reglists()
1226 if (!node) { in guc_capture_extract_reglists()
1234 node->is_partial = is_partial; in guc_capture_extract_reglists()
1235 node->reginfo[datatype].vfid = FIELD_GET(CAP_HDR_CAPTURE_VFID, hdr.owner); in guc_capture_extract_reglists()
1238 node->eng_class = FIELD_GET(CAP_HDR_ENGINE_CLASS, hdr.info); in guc_capture_extract_reglists()
1239 node->eng_inst = FIELD_GET(CAP_HDR_ENGINE_INSTANCE, hdr.info); in guc_capture_extract_reglists()
1240 node->lrca = hdr.lrca; in guc_capture_extract_reglists()
1241 node->guc_id = hdr.guc_id; in guc_capture_extract_reglists()
1244 node->eng_class = FIELD_GET(CAP_HDR_ENGINE_CLASS, hdr.info); in guc_capture_extract_reglists()
1255 node->reginfo[datatype].num_regs = numregs; in guc_capture_extract_reglists()
1256 regs = node->reginfo[datatype].regs; in guc_capture_extract_reglists()
1267 if (node) { in guc_capture_extract_reglists()
1270 if (node->reginfo[i].regs) { in guc_capture_extract_reglists()
1271 guc_capture_add_node_to_outlist(guc->capture, node); in guc_capture_extract_reglists()
1272 node = NULL; in guc_capture_extract_reglists()
1276 if (node) /* else return it back to cache list */ in guc_capture_extract_reglists()
1277 guc_capture_add_node_to_cachelist(guc->capture, node); in guc_capture_extract_reglists()
1405 #define GCAP_PRINT_GUC_INST_INFO(ebuf, node) \ argument
1408 (node)->eng_inst); \
1409 i915_error_printf(ebuf, " GuC-Context-Id: 0x%08x\n", (node)->guc_id); \
1410 i915_error_printf(ebuf, " LRCA: 0x%08x\n", (node)->lrca); \
1426 struct __guc_capture_parsed_output *node; in intel_guc_capture_print_engine_node() local
1445 node = ee->guc_capture_node; in intel_guc_capture_print_engine_node()
1446 if (!node) { in intel_guc_capture_print_engine_node()
1451 i915_error_printf(ebuf, "Coverage: %s\n", grptype[node->is_partial]); in intel_guc_capture_print_engine_node()
1456 i915_error_printf(ebuf, " Owner-Id: %d\n", node->reginfo[i].vfid); in intel_guc_capture_print_engine_node()
1463 i915_error_printf(ebuf, " GuC-Eng-Class: %d\n", node->eng_class); in intel_guc_capture_print_engine_node()
1465 guc_class_to_engine_class(node->eng_class)); in intel_guc_capture_print_engine_node()
1468 eng = intel_guc_lookup_engine(guc, node->eng_class, node->eng_inst); in intel_guc_capture_print_engine_node()
1473 GCAP_PRINT_GUC_INST_INFO(ebuf, node); in intel_guc_capture_print_engine_node()
1477 numregs = node->reginfo[i].num_regs; in intel_guc_capture_print_engine_node()
1481 regs = node->reginfo[i].regs; in intel_guc_capture_print_engine_node()
1483 node->eng_class, 0, regs[j].offset, &is_ext); in intel_guc_capture_print_engine_node()