Home
last modified time | relevance | path

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

12345678910>>...25

/linux-6.15/arch/openrisc/mm/
H A Dcache.c23 bool cpu_cache_is_present(const unsigned int cache_type) in cpu_cache_is_present() argument
26 unsigned long mask = SPR_UPR_UP | cache_type; in cpu_cache_is_present()
32 const unsigned short reg, const unsigned int cache_type) in cache_loop() argument
34 if (!cpu_cache_is_present(cache_type)) in cache_loop()
44 const unsigned int cache_type) in cache_loop_page() argument
51 cache_loop(paddr, end, reg, cache_type); in cache_loop_page()
/linux-6.15/tools/testing/selftests/resctrl/
H A Dresctrlfs.c105 static int get_cache_level(const char *cache_type) in get_cache_level() argument
107 if (!strcmp(cache_type, "L3")) in get_cache_level()
109 if (!strcmp(cache_type, "L2")) in get_cache_level()
267 cache_num = get_cache_level(cache_type); in get_cache_size()
439 int get_full_cbm(const char *cache_type, unsigned long *mask) in get_full_cbm() argument
444 if (!cache_type) in get_full_cbm()
448 INFO_PATH, cache_type); in get_full_cbm()
468 if (!cache_type) in get_shareable_mask()
472 INFO_PATH, cache_type); in get_shareable_mask()
494 if (get_full_cbm(cache_type, &full_mask) < 0) in get_mask_no_shareable()
[all …]
H A Dresctrl.h187 ssize_t get_fill_buf_size(int cpu_no, const char *cache_type);
198 int get_full_cbm(const char *cache_type, unsigned long *mask);
199 int get_mask_no_shareable(const char *cache_type, unsigned long *mask);
200 int get_cache_size(int cpu_no, const char *cache_type, unsigned long *cache_size);
H A Dfill_buf.c133 ssize_t get_fill_buf_size(int cpu_no, const char *cache_type) in get_fill_buf_size() argument
138 ret = get_cache_size(cpu_no, cache_type, &cache_total_size); in get_fill_buf_size()
/linux-6.15/Documentation/scsi/
H 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-6.15/drivers/mfd/
H A Drk8xx-i2c.c123 .cache_type = REGCACHE_MAPLE,
131 .cache_type = REGCACHE_MAPLE,
139 .cache_type = REGCACHE_MAPLE,
147 .cache_type = REGCACHE_MAPLE,
155 .cache_type = REGCACHE_MAPLE,
163 .cache_type = REGCACHE_NONE,
H A Dsec-core.c172 .cache_type = REGCACHE_FLAT,
181 .cache_type = REGCACHE_FLAT,
190 .cache_type = REGCACHE_FLAT,
199 .cache_type = REGCACHE_FLAT,
208 .cache_type = REGCACHE_FLAT,
217 .cache_type = REGCACHE_FLAT,
226 .cache_type = REGCACHE_FLAT,
H A Dadp5585.c89 .cache_type = REGCACHE_MAPLE,
98 .cache_type = REGCACHE_MAPLE,
107 .cache_type = REGCACHE_MAPLE,
H A Dwm97xx-core.c98 .cache_type = REGCACHE_MAPLE,
166 .cache_type = REGCACHE_MAPLE,
237 .cache_type = REGCACHE_MAPLE,
H A Dbcm590xx.c30 .cache_type = REGCACHE_MAPLE,
37 .cache_type = REGCACHE_MAPLE,
H A Drsmu_i2c.c242 .cache_type = REGCACHE_NONE,
251 .cache_type = REGCACHE_NONE,
261 .cache_type = REGCACHE_MAPLE,
270 .cache_type = REGCACHE_NONE,
H A Dcs47l15-tables.c1252 .cache_type = REGCACHE_MAPLE,
1267 .cache_type = REGCACHE_MAPLE,
1284 .cache_type = REGCACHE_MAPLE,
1298 .cache_type = REGCACHE_MAPLE,
/linux-6.15/arch/sh/mm/
H 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-6.15/drivers/iio/pressure/
H A Dbmp280-regmap.c37 .cache_type = REGCACHE_RBTREE,
198 .cache_type = REGCACHE_RBTREE,
210 .cache_type = REGCACHE_RBTREE,
222 .cache_type = REGCACHE_RBTREE,
234 .cache_type = REGCACHE_RBTREE,
/linux-6.15/arch/s390/kernel/
H A 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-6.15/arch/riscv/kernel/
H 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()
68 enum cache_type type, unsigned int level) in ci_leaf_init()
/linux-6.15/arch/arm64/kernel/
H A Dcacheinfo.c24 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.15/arch/riscv/include/asm/
H 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-6.15/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c365 static const struct kobj_type cache_type = { variable
1603 int cache_type, unsigned int cu_processor_id, in fill_in_l1_pcache() argument
1631 pcache->cache_type |= HSA_CACHE_TYPE_DATA; in fill_in_l1_pcache()
1633 pcache->cache_type |= HSA_CACHE_TYPE_INSTRUCTION; in fill_in_l1_pcache()
1635 pcache->cache_type |= HSA_CACHE_TYPE_CPU; in fill_in_l1_pcache()
1637 pcache->cache_type |= HSA_CACHE_TYPE_HSACU; in fill_in_l1_pcache()
1666 int cache_type, unsigned int cu_processor_id, in fill_in_l2_l3_pcache() argument
1727 pcache->cache_type |= HSA_CACHE_TYPE_DATA; in fill_in_l2_l3_pcache()
1729 pcache->cache_type |= HSA_CACHE_TYPE_INSTRUCTION; in fill_in_l2_l3_pcache()
1731 pcache->cache_type |= HSA_CACHE_TYPE_CPU; in fill_in_l2_l3_pcache()
[all …]
/linux-6.15/arch/arm/kernel/
H A Dcacheinfo.c64 static inline enum cache_type get_cache_type(int level) in get_cache_type()
77 enum cache_type type, unsigned int level) in ci_leaf_init()
152 enum cache_type type; in populate_cache_leaves()
/linux-6.15/drivers/base/regmap/
H A Dregcache.c150 if (map->cache_type == REGCACHE_NONE) { in regcache_init()
176 if (cache_types[i]->type == map->cache_type) in regcache_init()
181 map->cache_type); in regcache_init()
247 if (map->cache_type == REGCACHE_NONE) in regcache_exit()
279 if (map->cache_type == REGCACHE_NONE) in regcache_read()
308 if (map->cache_type == REGCACHE_NONE) in regcache_write()
398 if (WARN_ON(map->cache_type == REGCACHE_NONE)) in regcache_sync()
490 if (WARN_ON(map->cache_type == REGCACHE_NONE)) in regcache_sync_region()
576 WARN_ON(map->cache_type != REGCACHE_NONE && in regcache_cache_only()
/linux-6.15/drivers/net/dsa/microchip/
H A Dksz8863_smi.c107 .cache_type = REGCACHE_NONE,
117 .cache_type = REGCACHE_NONE,
127 .cache_type = REGCACHE_NONE,
/linux-6.15/include/linux/
H A Dcacheinfo.h13 enum cache_type { enum
52 enum cache_type type;
/linux-6.15/drivers/firmware/cirrus/test/
H A Dcs_dsp_mock_regmap.c98 .cache_type = REGCACHE_MAPLE,
141 .cache_type = REGCACHE_MAPLE,
206 .cache_type = REGCACHE_MAPLE,
/linux-6.15/arch/xtensa/kernel/
H A Dperf_event.c115 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()

12345678910>>...25