| /linux-6.15/arch/openrisc/mm/ |
| H A D | cache.c | 23 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 D | resctrlfs.c | 105 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 D | resctrl.h | 187 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 D | fill_buf.c | 133 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 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.15/drivers/mfd/ |
| H A D | rk8xx-i2c.c | 123 .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 D | sec-core.c | 172 .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 D | adp5585.c | 89 .cache_type = REGCACHE_MAPLE, 98 .cache_type = REGCACHE_MAPLE, 107 .cache_type = REGCACHE_MAPLE,
|
| H A D | wm97xx-core.c | 98 .cache_type = REGCACHE_MAPLE, 166 .cache_type = REGCACHE_MAPLE, 237 .cache_type = REGCACHE_MAPLE,
|
| H A D | bcm590xx.c | 30 .cache_type = REGCACHE_MAPLE, 37 .cache_type = REGCACHE_MAPLE,
|
| H A D | rsmu_i2c.c | 242 .cache_type = REGCACHE_NONE, 251 .cache_type = REGCACHE_NONE, 261 .cache_type = REGCACHE_MAPLE, 270 .cache_type = REGCACHE_NONE,
|
| H A D | cs47l15-tables.c | 1252 .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 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.15/drivers/iio/pressure/ |
| H A D | bmp280-regmap.c | 37 .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 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.15/arch/riscv/kernel/ |
| H A D | cacheinfo.c | 27 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 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.15/arch/riscv/include/asm/ |
| H A 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.15/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_topology.c | 365 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 D | cacheinfo.c | 64 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 D | regcache.c | 150 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 D | ksz8863_smi.c | 107 .cache_type = REGCACHE_NONE, 117 .cache_type = REGCACHE_NONE, 127 .cache_type = REGCACHE_NONE,
|
| /linux-6.15/include/linux/ |
| H A D | cacheinfo.h | 13 enum cache_type { enum 52 enum cache_type type;
|
| /linux-6.15/drivers/firmware/cirrus/test/ |
| H A D | cs_dsp_mock_regmap.c | 98 .cache_type = REGCACHE_MAPLE, 141 .cache_type = REGCACHE_MAPLE, 206 .cache_type = REGCACHE_MAPLE,
|
| /linux-6.15/arch/xtensa/kernel/ |
| H A 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()
|