Searched refs:cache_present (Results  1 – 7 of 7) sorted by relevance
| /Linux-v6.6/arch/loongarch/kernel/ | 
| 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() 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-v6.6/drivers/base/regmap/ | 
| 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() 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 …] 
 | 
| D | regcache.c | 677 static bool regcache_reg_present(unsigned long *cache_present, unsigned int idx)  in regcache_reg_present()  argument 679 	if (!cache_present)  in regcache_reg_present() 682 	return test_bit(idx, cache_present);  in regcache_reg_present() 710 				      unsigned long *cache_present,  in regcache_sync_block_single()  argument 720 		if (!regcache_reg_present(cache_present, i) ||  in regcache_sync_block_single() 762 			    unsigned long *cache_present,  in regcache_sync_block_raw()  argument 775 		if (!regcache_reg_present(cache_present, i) ||  in regcache_sync_block_raw() 804 			unsigned long *cache_present,  in regcache_sync_block()  argument 809 		return regcache_sync_block_raw(map, block, cache_present,  in regcache_sync_block() 812 		return regcache_sync_block_single(map, block, cache_present,  in regcache_sync_block()
  | 
| D | internal.h | 260 			unsigned long *cache_present,
  | 
| D | regmap-kunit.c | 839 static void cache_present(struct kunit *test)  in cache_present()  function 1219 	KUNIT_CASE_PARAM(cache_present, sparse_cache_types_gen_params),
  | 
| /Linux-v6.6/arch/loongarch/include/asm/ | 
| 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-v6.6/arch/loongarch/mm/ | 
| 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()
  |