Searched refs:lines_per_way (Results 1 – 2 of 2) sorted by relevance
56 uint32_t lines_per_way = 0; in dcn32_helper_calculate_num_ways_for_subvp() local137 lines_per_way = total_cache_lines / dc->caps.cache_num_ways; in dcn32_helper_calculate_num_ways_for_subvp()138 num_ways = cache_lines_used / lines_per_way; in dcn32_helper_calculate_num_ways_for_subvp()139 if (cache_lines_used % lines_per_way > 0) in dcn32_helper_calculate_num_ways_for_subvp()
214 uint32_t lines_per_way = 0; in dcn32_calculate_cab_allocation() local321 lines_per_way = total_lines / dc->caps.cache_num_ways; in dcn32_calculate_cab_allocation()322 num_ways = cache_lines_used / lines_per_way; in dcn32_calculate_cab_allocation()324 if (cache_lines_used % lines_per_way > 0) in dcn32_calculate_cab_allocation()