/linux-6.6.21/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-6.6.21/arch/sh/mm/ |
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()
|
/linux-6.6.21/arch/s390/kernel/ |
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()
|
/linux-6.6.21/drivers/base/regmap/ |
D | regmap-kunit.c | 61 config->disable_locking = config->cache_type == REGCACHE_RBTREE || in gen_regmap() 62 config->cache_type == REGCACHE_MAPLE; in gen_regmap() 112 config.cache_type = t->type; in basic_read_write() 142 config.cache_type = t->type; in bulk_write() 179 config.cache_type = t->type; in bulk_read() 212 config.cache_type = t->type; in write_readonly() 247 config.cache_type = t->type; in read_writeonly() 287 config.cache_type = t->type; in reg_defaults() 315 config.cache_type = t->type; in reg_defaults_read_dev() 351 config.cache_type = t->type; in register_patch() [all …]
|
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()
|
/linux-6.6.21/arch/riscv/kernel/ |
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()
|
/linux-6.6.21/drivers/iio/pressure/ |
D | bmp280-regmap.c | 37 .cache_type = REGCACHE_RBTREE, 171 .cache_type = REGCACHE_RBTREE, 183 .cache_type = REGCACHE_RBTREE, 195 .cache_type = REGCACHE_RBTREE,
|
/linux-6.6.21/drivers/mfd/ |
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,
|
D | rk8xx-i2c.c | 83 .cache_type = REGCACHE_RBTREE, 91 .cache_type = REGCACHE_RBTREE, 99 .cache_type = REGCACHE_RBTREE, 107 .cache_type = REGCACHE_NONE,
|
D | wm97xx-core.c | 98 .cache_type = REGCACHE_RBTREE, 166 .cache_type = REGCACHE_RBTREE, 237 .cache_type = REGCACHE_RBTREE,
|
D | bcm590xx.c | 30 .cache_type = REGCACHE_RBTREE, 37 .cache_type = REGCACHE_RBTREE,
|
D | cs47l15-tables.c | 1252 .cache_type = REGCACHE_MAPLE, 1267 .cache_type = REGCACHE_MAPLE, 1284 .cache_type = REGCACHE_MAPLE, 1298 .cache_type = REGCACHE_MAPLE,
|
D | rsmu_i2c.c | 181 .cache_type = REGCACHE_NONE, 191 .cache_type = REGCACHE_RBTREE, 200 .cache_type = REGCACHE_NONE,
|
D | wm8994-regmap.c | 1241 .cache_type = REGCACHE_MAPLE, 1256 .cache_type = REGCACHE_MAPLE, 1271 .cache_type = REGCACHE_MAPLE,
|
/linux-6.6.21/arch/arm64/kernel/ |
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()
|
/linux-6.6.21/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-6.6.21/tools/testing/selftests/resctrl/ |
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);
|
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()
|
D | resctrlfs.c | 140 int get_cache_size(int cpu_no, char *cache_type, unsigned long *cache_size) in get_cache_size() argument 146 if (!strcmp(cache_type, "L3")) { in get_cache_size() 148 } else if (!strcmp(cache_type, "L2")) { in get_cache_size() 204 int get_cbm_mask(char *cache_type, char *cbm_mask) in get_cbm_mask() argument 212 sprintf(cbm_mask_path, "%s/%s/cbm_mask", INFO_PATH, cache_type); in get_cbm_mask()
|
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/amd/amdkfd/ |
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() argument 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].flags & CRAT_CACHE_FLAGS_INST_CACHE) in fill_in_l1_pcache() [all …]
|
/linux-6.6.21/include/linux/ |
D | cacheinfo.h | 12 enum cache_type { enum 51 enum cache_type type;
|
/linux-6.6.21/drivers/net/dsa/microchip/ |
D | ksz8863_smi.c | 107 .cache_type = REGCACHE_NONE, 117 .cache_type = REGCACHE_NONE, 127 .cache_type = REGCACHE_NONE,
|
/linux-6.6.21/arch/ia64/include/asm/ |
D | pal.h | 286 u64 cache_type : 8, /* 7-0 cache type */ member 299 u64 cache_type : 8, /* 7-0 cache type */ member 329 #define pclid_read_cache_type pclid_info_read.cache_type 338 #define pclid_write_cache_type pclid_info_write.cache_type 909 ia64_pal_cache_config_info (u64 cache_level, u64 cache_type, pal_cache_config_info_t *conf) in ia64_pal_cache_config_info() argument 913 PAL_CALL(iprv, PAL_CACHE_INFO, cache_level, cache_type, 0); in ia64_pal_cache_config_info() 927 ia64_pal_cache_prot_info (u64 cache_level, u64 cache_type, pal_cache_protection_info_t *prot) in ia64_pal_cache_prot_info() argument 931 PAL_CALL(iprv, PAL_CACHE_PROT_INFO, cache_level, cache_type, 0); in ia64_pal_cache_prot_info() 950 ia64_pal_cache_flush (u64 cache_type, u64 invalidate, u64 *progress, u64 *vector) in ia64_pal_cache_flush() argument 953 PAL_CALL(iprv, PAL_CACHE_FLUSH, cache_type, invalidate, *progress); in ia64_pal_cache_flush() [all …]
|
/linux-6.6.21/arch/xtensa/kernel/ |
D | perf_event.c | 115 unsigned int cache_type, cache_op, cache_result; in xtensa_pmu_cache_event() local 118 cache_type = (config >> 0) & 0xff; in xtensa_pmu_cache_event() 122 if (cache_type >= ARRAY_SIZE(xtensa_cache_ctl) || in xtensa_pmu_cache_event() 127 ret = xtensa_cache_ctl[cache_type][cache_op][cache_result]; in xtensa_pmu_cache_event()
|