Home
last modified time | relevance | path

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

/linux/arch/loongarch/include/asm/
H A 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/drivers/base/regmap/
H A Dregcache.c778 static bool regcache_reg_present(unsigned long *cache_present, unsigned int idx) in regcache_reg_present() argument
780 if (!cache_present) in regcache_reg_present()
783 return test_bit(idx, cache_present); in regcache_reg_present()
811 unsigned long *cache_present, in regcache_sync_block_single() argument
821 if (!regcache_reg_present(cache_present, i) || in regcache_sync_block_single()
863 unsigned long *cache_present, in regcache_sync_block_raw() argument
876 if (!regcache_reg_present(cache_present, i) || in regcache_sync_block_raw()
905 unsigned long *cache_present, in regcache_sync_block() argument
910 return regcache_sync_block_raw(map, block, cache_present, in regcache_sync_block()
913 return regcache_sync_block_single(map, block, cache_present, in regcache_sync_block()
H A Dregmap-kunit.c1573 static void cache_present(struct kunit *test) in cache_present() function
2169 KUNIT_CASE_PARAM(cache_present, sparse_cache_types_gen_params),
/linux/arch/loongarch/mm/
H A Dcache.c60 unsigned int cache_present = current_cpu_data.cache_leaves_present; in __flush_cache_all() local
62 leaf = cache_present - 1; in __flush_cache_all()
68 for (leaf = 0; leaf < cache_present; leaf++) in __flush_cache_all()