Home
last modified time | relevance | path

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

12345678910>>...20

/linux/arch/nds32/kernel/
A Dcacheinfo.c9 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/Documentation/scsi/
A 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/arch/sh/mm/
A 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/drivers/mfd/
A 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,
A Drsmu_i2c.c85 .cache_type = REGCACHE_RBTREE,
96 .cache_type = REGCACHE_RBTREE,
105 .cache_type = REGCACHE_NONE,
A Dwm97xx-core.c98 .cache_type = REGCACHE_RBTREE,
166 .cache_type = REGCACHE_RBTREE,
237 .cache_type = REGCACHE_RBTREE,
A Dbcm590xx.c31 .cache_type = REGCACHE_RBTREE,
38 .cache_type = REGCACHE_RBTREE,
A Dcs47l15-tables.c1252 .cache_type = REGCACHE_RBTREE,
1267 .cache_type = REGCACHE_RBTREE,
1284 .cache_type = REGCACHE_RBTREE,
1298 .cache_type = REGCACHE_RBTREE,
A Dwm8994-regmap.c1241 .cache_type = REGCACHE_RBTREE,
1256 .cache_type = REGCACHE_RBTREE,
1271 .cache_type = REGCACHE_RBTREE,
/linux/arch/s390/kernel/
A Dcache.c61 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/arch/riscv/kernel/
A 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/arch/arm64/kernel/
A 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()
84 enum cache_type type; in populate_cache_leaves()
/linux/tools/testing/selftests/resctrl/
A Dresctrl.h104 int get_cbm_mask(char *cache_type, char *cbm_mask);
105 int get_cache_size(int cpu_no, char *cache_type, unsigned long *cache_size);
109 int cat_perf_miss_val(int cpu_no, int no_of_bits, char *cache_type);
A 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()
A 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/arch/ia64/kernel/
A 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/arch/riscv/include/asm/
A 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/drivers/iio/pressure/
A Dbmp280-regmap.c37 .cache_type = REGCACHE_RBTREE,
80 .cache_type = REGCACHE_RBTREE,
/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_crat.c981 props->cache_type |= HSA_CACHE_TYPE_DATA; in kfd_parse_subtype_cache()
983 props->cache_type |= HSA_CACHE_TYPE_INSTRUCTION; in kfd_parse_subtype_cache()
985 props->cache_type |= HSA_CACHE_TYPE_CPU; in kfd_parse_subtype_cache()
987 props->cache_type |= HSA_CACHE_TYPE_HSACU; in kfd_parse_subtype_cache()
1202 int cache_type, unsigned int cu_processor_id, in fill_in_l1_pcache() argument
1215 ((1 << pcache_info[cache_type].num_cu_shared) - 1); in fill_in_l1_pcache()
1226 pcache->flags = pcache_info[cache_type].flags; in fill_in_l1_pcache()
1255 int cache_type, unsigned int cu_processor_id) in fill_in_l2_l3_pcache() argument
1267 ((1 << pcache_info[cache_type].num_cu_shared) - 1); in fill_in_l2_l3_pcache()
1278 pcache->flags = pcache_info[cache_type].flags; in fill_in_l2_l3_pcache()
[all …]
/linux/include/linux/
A Dcacheinfo.h12 enum cache_type { enum
51 enum cache_type type;
/linux/arch/ia64/include/asm/
A 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()
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()
963 ia64_pal_cache_init (u64 level, u64 cache_type, u64 rest) in ia64_pal_cache_init() argument
[all …]
/linux/drivers/net/dsa/microchip/
A Dksz8863_smi.c114 .cache_type = REGCACHE_NONE,
124 .cache_type = REGCACHE_NONE,
134 .cache_type = REGCACHE_NONE,
/linux/drivers/base/regmap/
A Dregcache.c121 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/arch/xtensa/kernel/
A 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()
/linux/arch/arc/kernel/
A Dperf_event.c141 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()

Completed in 50 milliseconds

12345678910>>...20