Lines Matching refs:level
13 enum cache_type type, unsigned int level) in ci_leaf_init() argument
15 this_leaf->level = level; in ci_leaf_init()
24 int levels = 0, leaves = 0, level; in __init_cache_level() local
41 if (of_property_read_u32(np, "cache-level", &level)) in __init_cache_level()
43 if (level <= levels) in __init_cache_level()
51 levels = level; in __init_cache_level()
67 int levels = 1, level = 1; in __populate_cache_leaves() local
70 ci_leaf_init(this_leaf++, np, CACHE_TYPE_UNIFIED, level); in __populate_cache_leaves()
72 ci_leaf_init(this_leaf++, np, CACHE_TYPE_INST, level); in __populate_cache_leaves()
74 ci_leaf_init(this_leaf++, np, CACHE_TYPE_DATA, level); in __populate_cache_leaves()
82 if (of_property_read_u32(np, "cache-level", &level)) in __populate_cache_leaves()
84 if (level <= levels) in __populate_cache_leaves()
87 ci_leaf_init(this_leaf++, np, CACHE_TYPE_UNIFIED, level); in __populate_cache_leaves()
89 ci_leaf_init(this_leaf++, np, CACHE_TYPE_INST, level); in __populate_cache_leaves()
91 ci_leaf_init(this_leaf++, np, CACHE_TYPE_DATA, level); in __populate_cache_leaves()
92 levels = level; in __populate_cache_leaves()