/linux-6.12.1/tools/testing/selftests/resctrl/ |
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() 167 int get_cache_size(int cpu_no, const char *cache_type, unsigned long *cache_size) in get_cache_size() argument 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() 359 static int get_shareable_mask(const char *cache_type, unsigned long *shareable_mask) in get_shareable_mask() argument 363 if (!cache_type) in get_shareable_mask() [all …]
|
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-6.12.1/Documentation/scsi/ |
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.12.1/drivers/mfd/ |
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,
|
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,
|
D | adp5585.c | 89 .cache_type = REGCACHE_MAPLE, 98 .cache_type = REGCACHE_MAPLE, 107 .cache_type = REGCACHE_MAPLE,
|
D | wm97xx-core.c | 98 .cache_type = REGCACHE_MAPLE, 166 .cache_type = REGCACHE_MAPLE, 237 .cache_type = REGCACHE_MAPLE,
|
D | bcm590xx.c | 30 .cache_type = REGCACHE_MAPLE, 37 .cache_type = REGCACHE_MAPLE,
|
D | rsmu_i2c.c | 242 .cache_type = REGCACHE_NONE, 251 .cache_type = REGCACHE_NONE, 261 .cache_type = REGCACHE_MAPLE, 270 .cache_type = REGCACHE_NONE,
|
D | cs47l15-tables.c | 1252 .cache_type = REGCACHE_MAPLE, 1267 .cache_type = REGCACHE_MAPLE, 1284 .cache_type = REGCACHE_MAPLE, 1298 .cache_type = REGCACHE_MAPLE,
|
D | wm8994-regmap.c | 1241 .cache_type = REGCACHE_MAPLE, 1256 .cache_type = REGCACHE_MAPLE, 1271 .cache_type = REGCACHE_MAPLE,
|
D | cs47l35-tables.c | 1501 .cache_type = REGCACHE_MAPLE, 1518 .cache_type = REGCACHE_MAPLE, 1537 .cache_type = REGCACHE_MAPLE, 1553 .cache_type = REGCACHE_MAPLE,
|
D | ntxec.c | 126 .cache_type = REGCACHE_NONE, 135 .cache_type = REGCACHE_NONE,
|
/linux-6.12.1/arch/sh/mm/ |
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.12.1/drivers/iio/pressure/ |
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.12.1/arch/s390/kernel/ |
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.12.1/arch/riscv/kernel/ |
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.12.1/arch/arm64/kernel/ |
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.12.1/arch/riscv/include/asm/ |
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.12.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 365 sysfs_show_32bit_prop(buffer, offs, "type", cache->cache_type); in kfd_cache_show() 383 static const struct kobj_type cache_type = { variable 742 ret = kobject_init_and_add(cache->kobj, &cache_type, in kfd_build_sysfs_node_entry() 1620 int cache_type, unsigned int cu_processor_id, in fill_in_l1_pcache() argument 1629 cu_sibling_map_mask &= ((1 << pcache_info[cache_type].num_cu_shared) - 1); in fill_in_l1_pcache() 1643 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_l1_pcache() 1644 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_l1_pcache() 1645 pcache->cacheline_size = pcache_info[cache_type].cache_line_size; in fill_in_l1_pcache() 1647 if (pcache_info[cache_type].flags & CRAT_CACHE_FLAGS_DATA_CACHE) in fill_in_l1_pcache() 1648 pcache->cache_type |= HSA_CACHE_TYPE_DATA; in fill_in_l1_pcache() [all …]
|
/linux-6.12.1/drivers/base/regmap/ |
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()
|
D | regmap-kunit.c | 167 config->cache_type = param->cache; in gen_regmap() 255 KUNIT_EXPECT_EQ(test, config.cache_type == REGCACHE_NONE, data->read[0]); in basic_read_write() 288 KUNIT_EXPECT_EQ(test, config.cache_type == REGCACHE_NONE, data->read[i]); in bulk_write() 317 KUNIT_EXPECT_EQ(test, config.cache_type == REGCACHE_NONE, data->read[i]); in bulk_read() 356 KUNIT_EXPECT_EQ(test, config.cache_type == REGCACHE_NONE, data->read[i]); in multi_write() 388 KUNIT_EXPECT_EQ(test, config.cache_type == REGCACHE_NONE, data->read[i]); in multi_read() 575 if (config.cache_type != REGCACHE_FLAT) { in read_writeonly() 610 KUNIT_EXPECT_EQ(test, config.cache_type == REGCACHE_NONE, data->read[i]); in reg_defaults() 631 KUNIT_EXPECT_EQ(test, config.cache_type != REGCACHE_NONE, data->read[i]); in reg_defaults_read_dev() 642 KUNIT_EXPECT_EQ(test, config.cache_type == REGCACHE_NONE, data->read[i]); in reg_defaults_read_dev() [all …]
|
/linux-6.12.1/drivers/net/dsa/microchip/ |
D | ksz8863_smi.c | 107 .cache_type = REGCACHE_NONE, 117 .cache_type = REGCACHE_NONE, 127 .cache_type = REGCACHE_NONE,
|
/linux-6.12.1/include/linux/ |
D | cacheinfo.h | 13 enum cache_type { enum 52 enum cache_type type;
|
/linux-6.12.1/arch/xtensa/kernel/ |
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()
|