/kernel/linux/linux-5.10/arch/nds32/kernel/ |
H A D | cacheinfo.c | 9 enum cache_type type, unsigned int level) in ci_leaf_init() 11 char cache_type = (type & CACHE_TYPE_INST ? ICACHE : DCACHE); in ci_leaf_init() local 15 this_leaf->coherency_line_size = CACHE_LINE_SIZE(cache_type); in ci_leaf_init() 16 this_leaf->number_of_sets = CACHE_SET(cache_type); in ci_leaf_init() 17 this_leaf->ways_of_associativity = CACHE_WAY(cache_type); in ci_leaf_init()
|
/kernel/linux/linux-5.10/arch/sh/mm/ |
H A D | cache-debugfs.c | 19 enum cache_type { enum 27 unsigned int cache_type = (unsigned int)file->private; in cache_seq_show() local 47 if (cache_type == CACHE_TYPE_DCACHE) { in cache_seq_show() 61 if ((ccr & CCR_CACHE_ORA) && cache_type == CACHE_TYPE_DCACHE) in cache_seq_show()
|
/kernel/linux/linux-6.6/arch/sh/mm/ |
H A D | cache-debugfs.c | 19 enum cache_type { enum 27 unsigned int cache_type = (unsigned int)file->private; in cache_debugfs_show() local 47 if (cache_type == CACHE_TYPE_DCACHE) { in cache_debugfs_show() 61 if ((ccr & CCR_CACHE_ORA) && cache_type == CACHE_TYPE_DCACHE) in cache_debugfs_show()
|
/kernel/linux/linux-6.6/drivers/base/regmap/ |
H A D | regmap-kunit.c | 78 config->disable_locking = config->cache_type == REGCACHE_RBTREE || in gen_regmap() 79 config->cache_type == REGCACHE_MAPLE; in gen_regmap() 129 config.cache_type = t->type; in basic_read_write() 159 config.cache_type = t->type; in bulk_write() 196 config.cache_type = t->type; in bulk_read() 229 config.cache_type = t->type; in write_readonly() 264 config.cache_type = t->type; in read_writeonly() 304 config.cache_type = t->type; in reg_defaults() 332 config.cache_type = t->type; in reg_defaults_read_dev() 368 config.cache_type in register_patch() 898 enum regcache_type cache_type; global() member [all...] |
H A D | regcache.c | 119 if (map->cache_type == REGCACHE_NONE) { in regcache_init() 145 if (cache_types[i]->type == map->cache_type) in regcache_init() 150 map->cache_type); in regcache_init() 212 if (map->cache_type == REGCACHE_NONE) in regcache_exit() 242 if (map->cache_type == REGCACHE_NONE) in regcache_read() 271 if (map->cache_type == REGCACHE_NONE) in regcache_write() 361 if (WARN_ON(map->cache_type == REGCACHE_NONE)) in regcache_sync() 453 if (WARN_ON(map->cache_type == REGCACHE_NONE)) in regcache_sync_region() 539 WARN_ON(map->cache_type != REGCACHE_NONE && in regcache_cache_only()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | cache.c | 61 static const enum cache_type cache_type_map[] = { 91 static inline enum cache_type get_cache_type(struct cache_info *ci, int level) in get_cache_type() 107 enum cache_type type, unsigned int level, int cpu) in ci_leaf_init() 133 enum cache_type ctype; in init_cache_level() 158 enum cache_type ctype; in populate_cache_leaves()
|
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | cache.c | 60 static const enum cache_type cache_type_map[] = { 88 static inline enum cache_type get_cache_type(struct cache_info *ci, int level) in get_cache_type() 104 enum cache_type type, unsigned int level, int cpu) in ci_leaf_init() 130 enum cache_type ctype; in init_cache_level() 153 enum cache_type ctype; in populate_cache_leaves()
|
/kernel/linux/linux-6.6/arch/riscv/kernel/ |
H A D | cacheinfo.c | 26 static struct cacheinfo *get_cacheinfo(u32 level, enum cache_type type) in get_cacheinfo() 50 uintptr_t get_cache_size(u32 level, enum cache_type type) in get_cache_size() 57 uintptr_t get_cache_geometry(u32 level, enum cache_type type) in get_cache_geometry() 68 enum cache_type type, unsigned int level) in ci_leaf_init()
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | rk8xx-i2c.c | 83 .cache_type = REGCACHE_RBTREE, 91 .cache_type = REGCACHE_RBTREE, 99 .cache_type = REGCACHE_RBTREE, 107 .cache_type = REGCACHE_NONE,
|
H A D | sec-core.c | 157 .cache_type = REGCACHE_FLAT, 166 .cache_type = REGCACHE_FLAT, 175 .cache_type = REGCACHE_FLAT, 184 .cache_type = REGCACHE_FLAT, 193 .cache_type = REGCACHE_FLAT, 202 .cache_type = REGCACHE_FLAT, 211 .cache_type = REGCACHE_FLAT,
|
/kernel/linux/linux-6.6/drivers/iio/pressure/ |
H A D | bmp280-regmap.c | 37 .cache_type = REGCACHE_RBTREE, 171 .cache_type = REGCACHE_RBTREE, 183 .cache_type = REGCACHE_RBTREE, 195 .cache_type = REGCACHE_RBTREE,
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | cacheinfo.c | 29 static inline enum cache_type get_cache_type(int level) in get_cache_type() 40 enum cache_type type, unsigned int level) in ci_leaf_init() 88 enum cache_type type; in populate_cache_leaves()
|
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | cacheinfo.c | 24 static inline enum cache_type get_cache_type(int level) in get_cache_type() 35 enum cache_type type, unsigned int level) in ci_leaf_init() 102 enum cache_type type; in populate_cache_leaves()
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
H A D | cacheinfo.h | 17 uintptr_t get_cache_size(u32 level, enum cache_type type); 18 uintptr_t get_cache_geometry(u32 level, enum cache_type type);
|
/kernel/linux/linux-6.6/arch/riscv/include/asm/ |
H A D | cacheinfo.h | 17 uintptr_t get_cache_size(u32 level, enum cache_type type); 18 uintptr_t get_cache_geometry(u32 level, enum cache_type type);
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
H A D | cacheinfo.c | 27 static struct cacheinfo *get_cacheinfo(u32 level, enum cache_type type) in get_cacheinfo() 51 uintptr_t get_cache_size(u32 level, enum cache_type type) in get_cache_size() 58 uintptr_t get_cache_geometry(u32 level, enum cache_type type) in get_cache_geometry() 67 static void ci_leaf_init(struct cacheinfo *this_leaf, enum cache_type type, in ci_leaf_init()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_topology.c | 362 sysfs_show_32bit_prop(buffer, offs, "type", cache->cache_type); in kfd_cache_show() 380 static const struct kobj_type cache_type = { variable 739 ret = kobject_init_and_add(cache->kobj, &cache_type, in kfd_build_sysfs_node_entry() 1543 int cache_type, unsigned int cu_processor_id, in fill_in_l1_pcache() 1552 cu_sibling_map_mask &= ((1 << pcache_info[cache_type].num_cu_shared) - 1); in fill_in_l1_pcache() 1566 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_l1_pcache() 1567 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_l1_pcache() 1569 if (pcache_info[cache_type].flags & CRAT_CACHE_FLAGS_DATA_CACHE) in fill_in_l1_pcache() 1570 pcache->cache_type |= HSA_CACHE_TYPE_DATA; in fill_in_l1_pcache() 1571 if (pcache_info[cache_type] in fill_in_l1_pcache() 1539 fill_in_l1_pcache(struct kfd_cache_properties **props_ext, struct kfd_gpu_cache_info *pcache_info, struct kfd_cu_info *cu_info, int cu_bitmask, int cache_type, unsigned int cu_processor_id, int cu_block) fill_in_l1_pcache() argument 1601 fill_in_l2_l3_pcache(struct kfd_cache_properties **props_ext, struct kfd_gpu_cache_info *pcache_info, struct kfd_cu_info *cu_info, int cache_type, unsigned int cu_processor_id, struct kfd_node *knode) fill_in_l2_l3_pcache() argument [all...] |
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | sec-core.c | 186 .cache_type = REGCACHE_FLAT, 195 .cache_type = REGCACHE_FLAT, 204 .cache_type = REGCACHE_FLAT, 213 .cache_type = REGCACHE_FLAT, 222 .cache_type = REGCACHE_FLAT, 231 .cache_type = REGCACHE_FLAT, 240 .cache_type = REGCACHE_FLAT, 249 .cache_type = REGCACHE_FLAT,
|
/kernel/linux/linux-5.10/drivers/iio/pressure/ |
H A D | bmp280-regmap.c | 37 .cache_type = REGCACHE_RBTREE, 80 .cache_type = REGCACHE_RBTREE,
|
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/ |
H A D | resctrl.h | 101 int get_cbm_mask(char *cache_type, char *cbm_mask); 102 int get_cache_size(int cpu_no, char *cache_type, unsigned long *cache_size); 106 int cat_perf_miss_val(int cpu_no, int no_of_bits, char *cache_type);
|
/kernel/linux/linux-6.6/tools/testing/selftests/resctrl/ |
H A D | resctrl.h | 103 int get_cbm_mask(char *cache_type, char *cbm_mask); 104 int get_cache_size(int cpu_no, char *cache_type, unsigned long *cache_size); 110 int cat_perf_miss_val(int cpu_no, int no_of_bits, char *cache_type);
|
H A D | cat_test.c | 90 int cat_perf_miss_val(int cpu_no, int n, char *cache_type) in cat_perf_miss_val() argument 102 ret = get_cbm_mask(cache_type, cbm_mask); in cat_perf_miss_val() 109 ret = get_cache_size(cpu_no, cache_type, &cache_size); in cat_perf_miss_val()
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | sal.c | 240 u64 vector, cache_type = 3; in check_sal_cache_flush() local 258 SAL_CALL(isrv, SAL_CACHE_FLUSH, cache_type, 0, 0, 0, 0, 0, 0); in check_sal_cache_flush() 279 ia64_sal_cache_flush (u64 cache_type) in ia64_sal_cache_flush() argument 290 rc = ia64_pal_cache_flush(cache_type, in ia64_sal_cache_flush() 296 SAL_CALL(isrv, SAL_CACHE_FLUSH, cache_type, 0, 0, 0, 0, 0, 0); in ia64_sal_cache_flush()
|
/kernel/linux/linux-6.6/arch/ia64/kernel/ |
H A D | sal.c | 240 u64 vector, cache_type = 3; in check_sal_cache_flush() local 258 SAL_CALL(isrv, SAL_CACHE_FLUSH, cache_type, 0, 0, 0, 0, 0, 0); in check_sal_cache_flush() 279 ia64_sal_cache_flush (u64 cache_type) in ia64_sal_cache_flush() argument 290 rc = ia64_pal_cache_flush(cache_type, in ia64_sal_cache_flush() 296 SAL_CALL(isrv, SAL_CACHE_FLUSH, cache_type, 0, 0, 0, 0, 0, 0); in ia64_sal_cache_flush()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | cacheinfo.h | 13 enum cache_type { enum 52 enum cache_type type;
|