Home
last modified time | relevance | path

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

/linux/drivers/base/regmap/
H A Dregcache-rbtree.c25 unsigned long *cache_present; member
58 set_bit(idx, rbnode->cache_present); in regcache_rbtree_set_register()
216 kfree(rbtree_node->cache_present); in regcache_rbtree_exit()
253 if (!test_bit(reg_tmp, rbnode->cache_present)) in regcache_rbtree_read()
287 present = krealloc_array(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 …]
H A Dregcache.c749 static bool regcache_reg_present(unsigned long *cache_present, unsigned int idx) in regcache_reg_present() argument
751 if (!cache_present) in regcache_reg_present()
754 return test_bit(idx, cache_present); in regcache_reg_present()
782 unsigned long *cache_present, in regcache_sync_block_single() argument
792 if (!regcache_reg_present(cache_present, i) || in regcache_sync_block_single()
834 unsigned long *cache_present, in regcache_sync_block_raw() argument
847 if (!regcache_reg_present(cache_present, i) || in regcache_sync_block_raw()
876 unsigned long *cache_present, in regcache_sync_block() argument
881 return regcache_sync_block_raw(map, block, cache_present, in regcache_sync_block()
884 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/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/arch/loongarch/mm/
H A 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()