Searched refs:sub_type_hdr (Results 1 – 1 of 1) sorted by relevance
1307 static int kfd_parse_subtype(struct crat_subtype_generic *sub_type_hdr, in kfd_parse_subtype() argument1316 switch (sub_type_hdr->type) { in kfd_parse_subtype()1318 cu = (struct crat_subtype_computeunit *)sub_type_hdr; in kfd_parse_subtype()1322 mem = (struct crat_subtype_memory *)sub_type_hdr; in kfd_parse_subtype()1326 cache = (struct crat_subtype_cache *)sub_type_hdr; in kfd_parse_subtype()1342 iolink = (struct crat_subtype_iolink *)sub_type_hdr; in kfd_parse_subtype()1347 sub_type_hdr->type); in kfd_parse_subtype()1367 struct crat_subtype_generic *sub_type_hdr; in kfd_parse_crat_table() local1404 sub_type_hdr = (struct crat_subtype_generic *)(crat_table+1); in kfd_parse_crat_table()1405 while ((char *)sub_type_hdr + sizeof(struct crat_subtype_generic) < in kfd_parse_crat_table()[all …]