Home
last modified time | relevance | path

Searched refs:cache_present (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/arch/loongarch/kernel/
Dcacheinfo.c14 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()
64 int i, cache_present = current_cpu_data.cache_leaves_present; in populate_cache_leaves() local
69 for (i = 0; i < cache_present; i++) { in populate_cache_leaves()
/linux-6.6.21/drivers/base/regmap/
Dregcache-rbtree.c25 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()
287 present = krealloc(rbnode->cache_present, in regcache_rbtree_insert_to_block()
297 present = rbnode->cache_present; in regcache_rbtree_insert_to_block()
310 rbnode->cache_present = present; in regcache_rbtree_insert_to_block()
353 rbnode->cache_present = kcalloc(BITS_TO_LONGS(rbnode->blklen), in regcache_rbtree_node_alloc()
354 sizeof(*rbnode->cache_present), in regcache_rbtree_node_alloc()
356 if (!rbnode->cache_present) in regcache_rbtree_node_alloc()
[all …]
Dregcache.c706 static bool regcache_reg_present(unsigned long *cache_present, unsigned int idx) in regcache_reg_present() argument
708 if (!cache_present) in regcache_reg_present()
711 return test_bit(idx, cache_present); in regcache_reg_present()
739 unsigned long *cache_present, in regcache_sync_block_single() argument
749 if (!regcache_reg_present(cache_present, i) || in regcache_sync_block_single()
791 unsigned long *cache_present, in regcache_sync_block_raw() argument
804 if (!regcache_reg_present(cache_present, i) || in regcache_sync_block_raw()
833 unsigned long *cache_present, in regcache_sync_block() argument
838 return regcache_sync_block_raw(map, block, cache_present, in regcache_sync_block()
841 return regcache_sync_block_single(map, block, cache_present, in regcache_sync_block()
Dinternal.h260 unsigned long *cache_present,
Dregmap-kunit.c839 static void cache_present(struct kunit *test) in cache_present() function
1219 KUNIT_CASE_PARAM(cache_present, sparse_cache_types_gen_params),
/linux-6.6.21/arch/loongarch/include/asm/
Dcacheflush.h12 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-6.6.21/arch/loongarch/mm/
Dcache.c70 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()