Home
last modified time | relevance | path

Searched refs:cache_type (Results 1 – 25 of 533) sorted by relevance

12345678910>>...22

/Linux-v6.1/Documentation/scsi/
Dsd-parameters.rst7 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-v6.1/arch/sh/mm/
Dcache-debugfs.c19 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-v6.1/drivers/mfd/
Dsec-core.c185 .cache_type = REGCACHE_FLAT,
194 .cache_type = REGCACHE_FLAT,
203 .cache_type = REGCACHE_FLAT,
212 .cache_type = REGCACHE_FLAT,
221 .cache_type = REGCACHE_FLAT,
230 .cache_type = REGCACHE_FLAT,
239 .cache_type = REGCACHE_FLAT,
248 .cache_type = REGCACHE_FLAT,
Drsmu_i2c.c85 .cache_type = REGCACHE_RBTREE,
96 .cache_type = REGCACHE_RBTREE,
105 .cache_type = REGCACHE_NONE,
Dwm97xx-core.c98 .cache_type = REGCACHE_RBTREE,
166 .cache_type = REGCACHE_RBTREE,
237 .cache_type = REGCACHE_RBTREE,
Dbcm590xx.c31 .cache_type = REGCACHE_RBTREE,
38 .cache_type = REGCACHE_RBTREE,
Dcs47l15-tables.c1252 .cache_type = REGCACHE_RBTREE,
1267 .cache_type = REGCACHE_RBTREE,
1284 .cache_type = REGCACHE_RBTREE,
1298 .cache_type = REGCACHE_RBTREE,
Dwm8994-regmap.c1241 .cache_type = REGCACHE_RBTREE,
1256 .cache_type = REGCACHE_RBTREE,
1271 .cache_type = REGCACHE_RBTREE,
Dntxec.c126 .cache_type = REGCACHE_NONE,
135 .cache_type = REGCACHE_NONE,
/Linux-v6.1/arch/s390/kernel/
Dcache.c60 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-v6.1/drivers/iio/pressure/
Dbmp280-regmap.c37 .cache_type = REGCACHE_RBTREE,
123 .cache_type = REGCACHE_RBTREE,
135 .cache_type = REGCACHE_RBTREE,
/Linux-v6.1/arch/arm64/kernel/
Dcacheinfo.c29 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()
/Linux-v6.1/arch/riscv/kernel/
Dcacheinfo.c27 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()
/Linux-v6.1/arch/riscv/include/asm/
Dcacheinfo.h17 uintptr_t get_cache_size(u32 level, enum cache_type type);
18 uintptr_t get_cache_geometry(u32 level, enum cache_type type);
/Linux-v6.1/tools/testing/selftests/resctrl/
Dresctrl.h107 int get_cbm_mask(char *cache_type, char *cbm_mask);
108 int get_cache_size(int cpu_no, char *cache_type, unsigned long *cache_size);
112 int cat_perf_miss_val(int cpu_no, int no_of_bits, char *cache_type);
Dcat_test.c101 int cat_perf_miss_val(int cpu_no, int n, char *cache_type) in cat_perf_miss_val() argument
115 ret = get_cbm_mask(cache_type, cbm_mask); in cat_perf_miss_val()
122 ret = get_cache_size(cpu_no, cache_type, &cache_size); in cat_perf_miss_val()
Dresctrlfs.c141 int get_cache_size(int cpu_no, char *cache_type, unsigned long *cache_size) in get_cache_size() argument
147 if (!strcmp(cache_type, "L3")) { in get_cache_size()
149 } else if (!strcmp(cache_type, "L2")) { in get_cache_size()
205 int get_cbm_mask(char *cache_type, char *cbm_mask) in get_cbm_mask() argument
213 sprintf(cbm_mask_path, "%s/%s/cbm_mask", CBM_MASK_PATH, cache_type); in get_cbm_mask()
/Linux-v6.1/arch/ia64/kernel/
Dsal.c240 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-v6.1/include/linux/
Dcacheinfo.h12 enum cache_type { enum
51 enum cache_type type;
/Linux-v6.1/drivers/net/dsa/microchip/
Dksz8863_smi.c110 .cache_type = REGCACHE_NONE,
120 .cache_type = REGCACHE_NONE,
130 .cache_type = REGCACHE_NONE,
/Linux-v6.1/drivers/base/regmap/
Dregcache.c121 if (map->cache_type == REGCACHE_NONE) { in regcache_init()
147 if (cache_types[i]->type == map->cache_type) in regcache_init()
152 map->cache_type); in regcache_init()
214 if (map->cache_type == REGCACHE_NONE) in regcache_exit()
244 if (map->cache_type == REGCACHE_NONE) in regcache_read()
273 if (map->cache_type == REGCACHE_NONE) in regcache_write()
504 WARN_ON(map->cache_type != REGCACHE_NONE && in regcache_cache_only()
/Linux-v6.1/sound/soc/codecs/
Dcs35l45-tables.c127 .cache_type = REGCACHE_RBTREE,
143 .cache_type = REGCACHE_RBTREE,
/Linux-v6.1/arch/ia64/include/asm/
Dpal.h286 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-v6.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c1078 props->cache_type |= HSA_CACHE_TYPE_DATA; in kfd_parse_subtype_cache()
1080 props->cache_type |= HSA_CACHE_TYPE_INSTRUCTION; in kfd_parse_subtype_cache()
1082 props->cache_type |= HSA_CACHE_TYPE_CPU; in kfd_parse_subtype_cache()
1084 props->cache_type |= HSA_CACHE_TYPE_HSACU; in kfd_parse_subtype_cache()
1300 int cache_type, unsigned int cu_processor_id, in fill_in_l1_pcache() argument
1313 ((1 << pcache_info[cache_type].num_cu_shared) - 1); in fill_in_l1_pcache()
1324 pcache->flags = pcache_info[cache_type].flags; in fill_in_l1_pcache()
1327 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_l1_pcache()
1328 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_l1_pcache()
1353 int cache_type, unsigned int cu_processor_id) in fill_in_l2_l3_pcache() argument
[all …]
/Linux-v6.1/arch/xtensa/kernel/
Dperf_event.c106 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()

12345678910>>...22