Lines Matching refs:pcache
545 static int fill_in_pcache(struct crat_subtype_cache *pcache, in fill_in_pcache() argument
571 memset(pcache, 0, sizeof(struct crat_subtype_cache)); in fill_in_pcache()
572 pcache->type = CRAT_SUBTYPE_CACHE_AFFINITY; in fill_in_pcache()
573 pcache->length = sizeof(struct crat_subtype_cache); in fill_in_pcache()
574 pcache->flags = pcache_info[cache_type].flags; in fill_in_pcache()
575 pcache->processor_id_low = cu_processor_id in fill_in_pcache()
577 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_pcache()
578 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_pcache()
586 pcache->sibling_map[0] = (uint8_t)(cu_sibling_map_mask & 0xFF); in fill_in_pcache()
587 pcache->sibling_map[1] = in fill_in_pcache()
589 pcache->sibling_map[2] = in fill_in_pcache()
591 pcache->sibling_map[3] = in fill_in_pcache()
614 struct crat_subtype_cache *pcache, in kfd_fill_gpu_cache_info() argument
711 ret = fill_in_pcache(pcache, in kfd_fill_gpu_cache_info()
724 pcache++; in kfd_fill_gpu_cache_info()
727 sizeof(*pcache); in kfd_fill_gpu_cache_info()
729 sizeof(*pcache); in kfd_fill_gpu_cache_info()