Lines Matching refs:cache_level
314 unsigned int *cache_level) in __uniphier_cache_init() argument
323 *cache_level); in __uniphier_cache_init()
328 pr_err("L%d: cache-level is not specified\n", *cache_level); in __uniphier_cache_init()
332 if (level != *cache_level) { in __uniphier_cache_init()
334 *cache_level, level); in __uniphier_cache_init()
339 pr_err("L%d: cache-unified is not specified\n", *cache_level); in __uniphier_cache_init()
350 *cache_level); in __uniphier_cache_init()
358 *cache_level); in __uniphier_cache_init()
366 *cache_level); in __uniphier_cache_init()
376 pr_err("L%d: failed to map control register\n", *cache_level); in __uniphier_cache_init()
383 pr_err("L%d: failed to map revision register\n", *cache_level); in __uniphier_cache_init()
390 pr_err("L%d: failed to map operation register\n", *cache_level); in __uniphier_cache_init()
397 if (*cache_level == 2) { in __uniphier_cache_init()
436 (*cache_level)++; in __uniphier_cache_init()
437 ret = __uniphier_cache_init(next_np, cache_level); in __uniphier_cache_init()
454 unsigned int cache_level; in uniphier_cache_init() local
459 if (!of_property_read_u32(np, "cache-level", &cache_level) && in uniphier_cache_init()
460 cache_level == 2) in uniphier_cache_init()
466 ret = __uniphier_cache_init(np, &cache_level); in uniphier_cache_init()
474 if (cache_level == 2) { in uniphier_cache_init()
479 cache_level--; in uniphier_cache_init()
492 pr_info("enabled outer cache (cache level: %d)\n", cache_level); in uniphier_cache_init()