Searched refs:sub_type_hdr (Results 1 – 1 of 1) sorted by relevance
432 static int kfd_parse_subtype(struct crat_subtype_generic *sub_type_hdr, in kfd_parse_subtype() argument441 switch (sub_type_hdr->type) { in kfd_parse_subtype()443 cu = (struct crat_subtype_computeunit *)sub_type_hdr; in kfd_parse_subtype()447 mem = (struct crat_subtype_memory *)sub_type_hdr; in kfd_parse_subtype()451 cache = (struct crat_subtype_cache *)sub_type_hdr; in kfd_parse_subtype()467 iolink = (struct crat_subtype_iolink *)sub_type_hdr; in kfd_parse_subtype()472 sub_type_hdr->type); in kfd_parse_subtype()492 struct crat_subtype_generic *sub_type_hdr; in kfd_parse_crat_table() local529 sub_type_hdr = (struct crat_subtype_generic *)(crat_table+1); in kfd_parse_crat_table()530 while ((char *)sub_type_hdr + sizeof(struct crat_subtype_generic) < in kfd_parse_crat_table()[all …]