Searched refs:cache_present (Results 1 – 7 of 7) sorted by relevance
/linux/arch/loongarch/kernel/ |
H A D | cacheinfo.c | 14 int cache_present = current_cpu_data.cache_leaves_present; in init_cache_level() local 18 current_cpu_data.cache_leaves[cache_present - 1].level; in init_cache_level() 19 this_cpu_ci->num_leaves = cache_present; in init_cache_level() 70 int i, cache_present = current_cpu_data.cache_leaves_present; in populate_cache_leaves() local 75 for (i = 0; i < cache_present; i++) { in populate_cache_leaves()
|
/linux/drivers/base/regmap/ |
H A D | regcache-rbtree.c | 25 unsigned long *cache_present; member 58 set_bit(idx, rbnode->cache_present); in regcache_rbtree_set_register() 230 kfree(rbtree_node->cache_present); in regcache_rbtree_exit() 251 if (!test_bit(reg_tmp, rbnode->cache_present)) in regcache_rbtree_read() 285 present = krealloc_array(rbnode->cache_present, in regcache_rbtree_insert_to_block() 295 present = rbnode->cache_present; in regcache_rbtree_insert_to_block() 308 rbnode->cache_present = present; in regcache_rbtree_insert_to_block() 351 rbnode->cache_present = kcalloc(BITS_TO_LONGS(rbnode->blklen), in regcache_rbtree_node_alloc() 352 sizeof(*rbnode->cache_present), in regcache_rbtree_node_alloc() 354 if (!rbnode->cache_present) in regcache_rbtree_node_alloc() [all...] |
H A D | regcache.c | 732 static bool regcache_reg_present(unsigned long *cache_present, unsigned int idx) in regcache_reg_present() argument 734 if (!cache_present) in regcache_reg_present() 737 return test_bit(idx, cache_present); in regcache_reg_present() 765 unsigned long *cache_present, in regcache_sync_block_single() argument 775 if (!regcache_reg_present(cache_present, i) || in regcache_sync_block_single() 817 unsigned long *cache_present, in regcache_sync_block_raw() argument 830 if (!regcache_reg_present(cache_present, i) || in regcache_sync_block_raw() 859 unsigned long *cache_present, in regcache_sync_block() argument 864 return regcache_sync_block_raw(map, block, cache_present, in regcache_sync_block() 867 return regcache_sync_block_single(map, block, cache_present, in regcache_sync_block() [all...] |
H A D | internal.h | 262 unsigned long *cache_present,
|
H A D | regmap-kunit.c | 1466 static void cache_present(struct kunit *test) in cache_present() function 2056 KUNIT_CASE_PARAM(cache_present, sparse_cache_types_gen_params),
|
/linux/arch/loongarch/include/asm/ |
H A D | cacheflush.h | 12 static inline bool cache_present(struct cache_desc *cdesc) in cache_present() function 29 int cache_present = boot_cpu_data.cache_leaves_present; in cpu_last_level_cache_line_size() local 31 return boot_cpu_data.cache_leaves[cache_present - 1].linesz; in cpu_last_level_cache_line_size()
|
/linux/arch/loongarch/mm/ |
H A D | cache.c | 70 unsigned int cache_present = current_cpu_data.cache_leaves_present; in __flush_cache_all() local 72 leaf = cache_present - 1; in __flush_cache_all() 78 for (leaf = 0; leaf < cache_present; leaf++) in __flush_cache_all()
|