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

/linux-master/arch/loongarch/kernel/
H A Dcacheinfo.c14 int cache_present = current_cpu_data.cache_leaves_present; local
18 current_cpu_data.cache_leaves[cache_present - 1].level;
19 this_cpu_ci->num_leaves = cache_present;
64 int i, cache_present = current_cpu_data.cache_leaves_present; local
69 for (i = 0; i < cache_present; i++) {
/linux-master/arch/loongarch/include/asm/
H A Dcacheflush.h12 static inline bool cache_present(struct cache_desc *cdesc) function
29 int cache_present = boot_cpu_data.cache_leaves_present; local
31 return boot_cpu_data.cache_leaves[cache_present - 1].linesz;
/linux-master/drivers/base/regmap/
H A Dregcache-rbtree.c25 unsigned long *cache_present; member in struct:regcache_rbtree_node
58 set_bit(idx, rbnode->cache_present);
230 kfree(rbtree_node->cache_present);
251 if (!test_bit(reg_tmp, rbnode->cache_present))
287 present = krealloc(rbnode->cache_present,
297 present = rbnode->cache_present;
310 rbnode->cache_present = present;
353 rbnode->cache_present = kcalloc(BITS_TO_LONGS(rbnode->blklen),
354 sizeof(*rbnode->cache_present),
356 if (!rbnode->cache_present)
[all...]
H A Dregcache.c708 static bool regcache_reg_present(unsigned long *cache_present, unsigned int idx) argument
710 if (!cache_present)
713 return test_bit(idx, cache_present);
741 unsigned long *cache_present,
751 if (!regcache_reg_present(cache_present, i) ||
793 unsigned long *cache_present,
806 if (!regcache_reg_present(cache_present, i) ||
835 unsigned long *cache_present,
840 return regcache_sync_block_raw(map, block, cache_present,
843 return regcache_sync_block_single(map, block, cache_present,
740 regcache_sync_block_single(struct regmap *map, void *block, unsigned long *cache_present, unsigned int block_base, unsigned int start, unsigned int end) argument
792 regcache_sync_block_raw(struct regmap *map, void *block, unsigned long *cache_present, unsigned int block_base, unsigned int start, unsigned int end) argument
834 regcache_sync_block(struct regmap *map, void *block, unsigned long *cache_present, unsigned int block_base, unsigned int start, unsigned int end) argument
[all...]
H A Dinternal.h261 unsigned long *cache_present,
H A Dregmap-kunit.c864 static void cache_present(struct kunit *test) function
1427 KUNIT_CASE_PARAM(cache_present, sparse_cache_types_gen_params),
/linux-master/arch/loongarch/mm/
H A Dcache.c70 unsigned int cache_present = current_cpu_data.cache_leaves_present; local
72 leaf = cache_present - 1;
78 for (leaf = 0; leaf < cache_present; leaf++)

Completed in 198 milliseconds