/Linux-v5.10/arch/nds32/kernel/ |
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()
|
/Linux-v5.10/Documentation/scsi/ |
D | sd-parameters.rst | 7 cache_type (RW) 12 cache_type string WCE RCD Write cache Read cache 22 # echo "write back" > cache_type 27 # echo "temporary write back" > cache_type
|
/Linux-v5.10/arch/sh/mm/ |
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()
|
/Linux-v5.10/drivers/mfd/ |
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,
|
D | wm97xx-core.c | 98 .cache_type = REGCACHE_RBTREE, 166 .cache_type = REGCACHE_RBTREE, 237 .cache_type = REGCACHE_RBTREE,
|
D | bcm590xx.c | 31 .cache_type = REGCACHE_RBTREE, 38 .cache_type = REGCACHE_RBTREE,
|
D | cs47l15-tables.c | 1252 .cache_type = REGCACHE_RBTREE, 1267 .cache_type = REGCACHE_RBTREE, 1284 .cache_type = REGCACHE_RBTREE, 1298 .cache_type = REGCACHE_RBTREE,
|
D | wm8994-regmap.c | 1241 .cache_type = REGCACHE_RBTREE, 1256 .cache_type = REGCACHE_RBTREE, 1271 .cache_type = REGCACHE_RBTREE,
|
D | cs47l35-tables.c | 1501 .cache_type = REGCACHE_RBTREE, 1518 .cache_type = REGCACHE_RBTREE, 1537 .cache_type = REGCACHE_RBTREE, 1553 .cache_type = REGCACHE_RBTREE,
|
/Linux-v5.10/arch/s390/kernel/ |
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()
|
/Linux-v5.10/tools/testing/selftests/resctrl/ |
D | resctrl.h | 95 int get_cbm_mask(char *cache_type); 96 int get_cache_size(int cpu_no, char *cache_type, unsigned long *cache_size); 100 int cat_perf_miss_val(int cpu_no, int no_of_bits, char *cache_type);
|
D | cat_test.c | 122 int cat_perf_miss_val(int cpu_no, int n, char *cache_type) in cat_perf_miss_val() argument 139 ret = get_cbm_mask(cache_type); in cat_perf_miss_val() 146 ret = get_cache_size(cpu_no, cache_type, &cache_size); in cat_perf_miss_val()
|
D | resctrlfs.c | 148 int get_cache_size(int cpu_no, char *cache_type, unsigned long *cache_size) in get_cache_size() argument 154 if (!strcmp(cache_type, "L3")) { in get_cache_size() 156 } else if (!strcmp(cache_type, "L2")) { in get_cache_size() 213 int get_cbm_mask(char *cache_type) in get_cbm_mask() argument 218 sprintf(cbm_mask_path, "%s/%s/cbm_mask", CBM_MASK_PATH, cache_type); in get_cbm_mask()
|
/Linux-v5.10/arch/arm64/kernel/ |
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() 84 enum cache_type type; in __populate_cache_leaves()
|
/Linux-v5.10/arch/riscv/include/asm/ |
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);
|
/Linux-v5.10/arch/riscv/kernel/ |
D | cacheinfo.c | 27 static struct cacheinfo *get_cacheinfo(u32 level, enum cache_type type) in get_cacheinfo() 42 uintptr_t get_cache_size(u32 level, enum cache_type type) in get_cache_size() 49 uintptr_t get_cache_geometry(u32 level, enum cache_type type) in get_cache_geometry() 58 static void ci_leaf_init(struct cacheinfo *this_leaf, enum cache_type type, in ci_leaf_init()
|
/Linux-v5.10/arch/ia64/kernel/ |
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()
|
/Linux-v5.10/drivers/iio/pressure/ |
D | bmp280-regmap.c | 37 .cache_type = REGCACHE_RBTREE, 80 .cache_type = REGCACHE_RBTREE,
|
/Linux-v5.10/include/linux/ |
D | cacheinfo.h | 13 enum cache_type { enum 52 enum cache_type type;
|
/Linux-v5.10/arch/ia64/include/asm/ |
D | pal.h | 285 u64 cache_type : 8, /* 7-0 cache type */ member 298 u64 cache_type : 8, /* 7-0 cache type */ member 328 #define pclid_read_cache_type pclid_info_read.cache_type 337 #define pclid_write_cache_type pclid_info_write.cache_type 908 ia64_pal_cache_config_info (u64 cache_level, u64 cache_type, pal_cache_config_info_t *conf) in ia64_pal_cache_config_info() argument 912 PAL_CALL(iprv, PAL_CACHE_INFO, cache_level, cache_type, 0); in ia64_pal_cache_config_info() 926 ia64_pal_cache_prot_info (u64 cache_level, u64 cache_type, pal_cache_protection_info_t *prot) in ia64_pal_cache_prot_info() argument 930 PAL_CALL(iprv, PAL_CACHE_PROT_INFO, cache_level, cache_type, 0); in ia64_pal_cache_prot_info() 949 ia64_pal_cache_flush (u64 cache_type, u64 invalidate, u64 *progress, u64 *vector) in ia64_pal_cache_flush() argument 952 PAL_CALL(iprv, PAL_CACHE_FLUSH, cache_type, invalidate, *progress); in ia64_pal_cache_flush() [all …]
|
/Linux-v5.10/drivers/base/regmap/ |
D | regcache.c | 121 if (map->cache_type == REGCACHE_NONE) { in regcache_init() 141 if (cache_types[i]->type == map->cache_type) in regcache_init() 146 map->cache_type); in regcache_init() 208 if (map->cache_type == REGCACHE_NONE) in regcache_exit() 238 if (map->cache_type == REGCACHE_NONE) in regcache_read() 267 if (map->cache_type == REGCACHE_NONE) in regcache_write()
|
/Linux-v5.10/arch/xtensa/kernel/ |
D | perf_event.c | 106 unsigned int cache_type, cache_op, cache_result; in xtensa_pmu_cache_event() local 109 cache_type = (config >> 0) & 0xff; in xtensa_pmu_cache_event() 113 if (cache_type >= ARRAY_SIZE(xtensa_cache_ctl) || in xtensa_pmu_cache_event() 118 ret = xtensa_cache_ctl[cache_type][cache_op][cache_result]; in xtensa_pmu_cache_event()
|
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_crat.c | 329 props->cache_type |= HSA_CACHE_TYPE_DATA; in kfd_parse_subtype_cache() 331 props->cache_type |= HSA_CACHE_TYPE_INSTRUCTION; in kfd_parse_subtype_cache() 333 props->cache_type |= HSA_CACHE_TYPE_CPU; in kfd_parse_subtype_cache() 335 props->cache_type |= HSA_CACHE_TYPE_HSACU; in kfd_parse_subtype_cache() 550 int cache_type, unsigned int cu_processor_id, in fill_in_pcache() argument 563 ((1 << pcache_info[cache_type].num_cu_shared) - 1); in fill_in_pcache() 574 pcache->flags = pcache_info[cache_type].flags; in fill_in_pcache() 577 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_pcache() 578 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_pcache()
|
/Linux-v5.10/arch/arc/kernel/ |
D | perf_event.c | 141 unsigned int cache_type, cache_op, cache_result; in arc_pmu_cache_event() local 144 cache_type = (config >> 0) & 0xff; in arc_pmu_cache_event() 147 if (cache_type >= PERF_COUNT_HW_CACHE_MAX) in arc_pmu_cache_event() 154 ret = arc_pmu_cache_map[cache_type][cache_op][cache_result]; in arc_pmu_cache_event() 160 cache_type, cache_op, cache_result, ret, in arc_pmu_cache_event()
|
/Linux-v5.10/drivers/iio/magnetometer/ |
D | rm3100-i2c.c | 23 .cache_type = REGCACHE_RBTREE,
|