| /linux/tools/testing/selftests/resctrl/ |
| A D | resctrlfs.c | 103 static int get_cache_level(const char *cache_type) in get_cache_level() argument 105 if (!strcmp(cache_type, "L3")) in get_cache_level() 107 if (!strcmp(cache_type, "L2")) in get_cache_level() 173 cache_num = get_cache_level(cache_type); in get_cache_size() 334 int get_full_cbm(const char *cache_type, unsigned long *mask) in get_full_cbm() argument 339 if (!cache_type) in get_full_cbm() 343 INFO_PATH, cache_type); in get_full_cbm() 363 if (!cache_type) in get_shareable_mask() 367 INFO_PATH, cache_type); in get_shareable_mask() 389 if (get_full_cbm(cache_type, &full_mask) < 0) in get_mask_no_shareable() [all …]
|
| A D | resctrl.h | 158 int get_full_cbm(const char *cache_type, unsigned long *mask); 159 int get_mask_no_shareable(const char *cache_type, unsigned long *mask); 160 int get_cache_size(int cpu_no, const char *cache_type, unsigned long *cache_size);
|
| /linux/Documentation/scsi/ |
| 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/drivers/mfd/ |
| 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,
|
| A 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,
|
| A D | adp5585.c | 89 .cache_type = REGCACHE_MAPLE, 98 .cache_type = REGCACHE_MAPLE, 107 .cache_type = REGCACHE_MAPLE,
|
| A D | wm97xx-core.c | 98 .cache_type = REGCACHE_MAPLE, 166 .cache_type = REGCACHE_MAPLE, 237 .cache_type = REGCACHE_MAPLE,
|
| A D | bcm590xx.c | 30 .cache_type = REGCACHE_MAPLE, 37 .cache_type = REGCACHE_MAPLE,
|
| 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,
|
| 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,
|
| A D | wm8994-regmap.c | 1241 .cache_type = REGCACHE_MAPLE, 1256 .cache_type = REGCACHE_MAPLE, 1271 .cache_type = REGCACHE_MAPLE,
|
| A D | ntxec.c | 126 .cache_type = REGCACHE_NONE, 135 .cache_type = REGCACHE_NONE,
|
| A D | cs47l35-tables.c | 1501 .cache_type = REGCACHE_MAPLE, 1518 .cache_type = REGCACHE_MAPLE, 1537 .cache_type = REGCACHE_MAPLE, 1553 .cache_type = REGCACHE_MAPLE,
|
| /linux/arch/sh/mm/ |
| 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/drivers/iio/pressure/ |
| 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/arch/s390/kernel/ |
| 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/arch/riscv/kernel/ |
| 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/arch/arm64/kernel/ |
| 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/arch/riscv/include/asm/ |
| 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/drivers/gpu/drm/amd/amdkfd/ |
| A D | kfd_topology.c | 383 static const struct kobj_type cache_type = { variable 1620 int cache_type, unsigned int cu_processor_id, in fill_in_l1_pcache() argument 1648 pcache->cache_type |= HSA_CACHE_TYPE_DATA; in fill_in_l1_pcache() 1650 pcache->cache_type |= HSA_CACHE_TYPE_INSTRUCTION; in fill_in_l1_pcache() 1652 pcache->cache_type |= HSA_CACHE_TYPE_CPU; in fill_in_l1_pcache() 1654 pcache->cache_type |= HSA_CACHE_TYPE_HSACU; in fill_in_l1_pcache() 1683 int cache_type, unsigned int cu_processor_id, in fill_in_l2_l3_pcache() argument 1728 pcache->cache_type |= HSA_CACHE_TYPE_DATA; in fill_in_l2_l3_pcache() 1730 pcache->cache_type |= HSA_CACHE_TYPE_INSTRUCTION; in fill_in_l2_l3_pcache() 1732 pcache->cache_type |= HSA_CACHE_TYPE_CPU; in fill_in_l2_l3_pcache() [all …]
|
| /linux/drivers/base/regmap/ |
| A 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() 216 if (map->cache_type == REGCACHE_NONE) in regcache_exit() 248 if (map->cache_type == REGCACHE_NONE) in regcache_read() 277 if (map->cache_type == REGCACHE_NONE) in regcache_write() 367 if (WARN_ON(map->cache_type == REGCACHE_NONE)) in regcache_sync() 459 if (WARN_ON(map->cache_type == REGCACHE_NONE)) in regcache_sync_region() 545 WARN_ON(map->cache_type != REGCACHE_NONE && in regcache_cache_only()
|
| /linux/drivers/net/dsa/microchip/ |
| A D | ksz8863_smi.c | 107 .cache_type = REGCACHE_NONE, 117 .cache_type = REGCACHE_NONE, 127 .cache_type = REGCACHE_NONE,
|
| /linux/include/linux/ |
| A D | cacheinfo.h | 13 enum cache_type { enum 52 enum cache_type type;
|
| /linux/arch/xtensa/kernel/ |
| 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()
|
| /linux/sound/soc/codecs/ |
| A D | cs35l45-tables.c | 261 .cache_type = REGCACHE_MAPLE, 277 .cache_type = REGCACHE_MAPLE,
|