Searched refs:total_cache_lines (Results 1 – 2 of 2) sorted by relevance
38 uint32_t total_cache_lines = 0; in dml2_helper_calculate_num_ways_for_subvp() local92 …total_cache_lines = ctx->config.mall_cfg.max_cab_allocation_bytes / ctx->config.mall_cfg.cache_lin… in dml2_helper_calculate_num_ways_for_subvp()93 lines_per_way = total_cache_lines / ctx->config.mall_cfg.cache_num_ways; in dml2_helper_calculate_num_ways_for_subvp()
1987 uint32_t cache_lines_used, lines_per_way, total_cache_lines, num_ways; in dcn32_calculate_mall_ways_from_bytes() local1996 total_cache_lines = dc->caps.max_cab_allocation_bytes / dc->caps.cache_line_size; in dcn32_calculate_mall_ways_from_bytes()1997 lines_per_way = total_cache_lines / dc->caps.cache_num_ways; in dcn32_calculate_mall_ways_from_bytes()