/Linux-v5.4/arch/nds32/kernel/ |
D | cacheinfo.c | 9 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-v5.4/Documentation/scsi/ |
D | sd-parameters.txt | 4 cache_type (RW) 8 cache_type string | WCE RCD | Write cache | Read cache 17 # echo "write back" > cache_type 22 # echo "temporary write back" > cache_type
|
/Linux-v5.4/arch/sh/mm/ |
D | cache-debugfs.c | 19 enum cache_type { enum 27 unsigned int cache_type = (unsigned int)file->private; in cache_seq_show() local 47 if (cache_type == CACHE_TYPE_DCACHE) { in cache_seq_show() 61 if ((ccr & CCR_CACHE_ORA) && cache_type == CACHE_TYPE_DCACHE) in cache_seq_show()
|
/Linux-v5.4/drivers/mfd/ |
D | sec-core.c | 186 .cache_type = REGCACHE_FLAT, 195 .cache_type = REGCACHE_FLAT, 204 .cache_type = REGCACHE_FLAT, 213 .cache_type = REGCACHE_FLAT, 222 .cache_type = REGCACHE_FLAT, 231 .cache_type = REGCACHE_FLAT, 240 .cache_type = REGCACHE_FLAT, 249 .cache_type = REGCACHE_FLAT,
|
D | wm97xx-core.c | 98 .cache_type = REGCACHE_RBTREE, 166 .cache_type = REGCACHE_RBTREE, 237 .cache_type = REGCACHE_RBTREE,
|
D | bcm590xx.c | 31 .cache_type = REGCACHE_RBTREE, 38 .cache_type = REGCACHE_RBTREE,
|
D | cs47l15-tables.c | 1251 .cache_type = REGCACHE_RBTREE, 1266 .cache_type = REGCACHE_RBTREE, 1283 .cache_type = REGCACHE_RBTREE, 1297 .cache_type = REGCACHE_RBTREE,
|
D | wm8994-regmap.c | 1241 .cache_type = REGCACHE_RBTREE, 1256 .cache_type = REGCACHE_RBTREE, 1271 .cache_type = REGCACHE_RBTREE,
|
D | cs47l35-tables.c | 1501 .cache_type = REGCACHE_RBTREE, 1518 .cache_type = REGCACHE_RBTREE, 1537 .cache_type = REGCACHE_RBTREE, 1553 .cache_type = REGCACHE_RBTREE,
|
D | rk808.c | 83 .cache_type = REGCACHE_RBTREE, 91 .cache_type = REGCACHE_RBTREE, 99 .cache_type = REGCACHE_RBTREE, 107 .cache_type = REGCACHE_NONE,
|
D | cs47l92-tables.c | 1893 .cache_type = REGCACHE_RBTREE, 1910 .cache_type = REGCACHE_RBTREE, 1929 .cache_type = REGCACHE_RBTREE, 1945 .cache_type = REGCACHE_RBTREE,
|
D | wm8350-regmap.c | 328 .cache_type = REGCACHE_RBTREE,
|
/Linux-v5.4/arch/s390/kernel/ |
D | cache.c | 61 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-v5.4/arch/arm64/kernel/ |
D | cacheinfo.c | 29 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-v5.4/arch/ia64/kernel/ |
D | sal.c | 239 u64 vector, cache_type = 3; in check_sal_cache_flush() local 257 SAL_CALL(isrv, SAL_CACHE_FLUSH, cache_type, 0, 0, 0, 0, 0, 0); in check_sal_cache_flush() 278 ia64_sal_cache_flush (u64 cache_type) in ia64_sal_cache_flush() argument 289 rc = ia64_pal_cache_flush(cache_type, in ia64_sal_cache_flush() 295 SAL_CALL(isrv, SAL_CACHE_FLUSH, cache_type, 0, 0, 0, 0, 0, 0); in ia64_sal_cache_flush()
|
/Linux-v5.4/drivers/iio/pressure/ |
D | bmp280-regmap.c | 37 .cache_type = REGCACHE_RBTREE, 80 .cache_type = REGCACHE_RBTREE,
|
D | zpa2326_i2c.c | 28 .cache_type = REGCACHE_NONE,
|
/Linux-v5.4/include/linux/ |
D | cacheinfo.h | 12 enum cache_type { enum 51 enum cache_type type;
|
/Linux-v5.4/arch/ia64/include/asm/ |
D | pal.h | 285 u64 cache_type : 8, /* 7-0 cache type */ member 298 u64 cache_type : 8, /* 7-0 cache type */ member 328 #define pclid_read_cache_type pclid_info_read.cache_type 337 #define pclid_write_cache_type pclid_info_write.cache_type 908 ia64_pal_cache_config_info (u64 cache_level, u64 cache_type, pal_cache_config_info_t *conf) in ia64_pal_cache_config_info() argument 912 PAL_CALL(iprv, PAL_CACHE_INFO, cache_level, cache_type, 0); in ia64_pal_cache_config_info() 926 ia64_pal_cache_prot_info (u64 cache_level, u64 cache_type, pal_cache_protection_info_t *prot) in ia64_pal_cache_prot_info() argument 930 PAL_CALL(iprv, PAL_CACHE_PROT_INFO, cache_level, cache_type, 0); in ia64_pal_cache_prot_info() 949 ia64_pal_cache_flush (u64 cache_type, u64 invalidate, u64 *progress, u64 *vector) in ia64_pal_cache_flush() argument 952 PAL_CALL(iprv, PAL_CACHE_FLUSH, cache_type, invalidate, *progress); in ia64_pal_cache_flush() [all …]
|
/Linux-v5.4/drivers/base/regmap/ |
D | regcache.c | 121 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-v5.4/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_crat.c | 328 props->cache_type |= HSA_CACHE_TYPE_DATA; in kfd_parse_subtype_cache() 330 props->cache_type |= HSA_CACHE_TYPE_INSTRUCTION; in kfd_parse_subtype_cache() 332 props->cache_type |= HSA_CACHE_TYPE_CPU; in kfd_parse_subtype_cache() 334 props->cache_type |= HSA_CACHE_TYPE_HSACU; in kfd_parse_subtype_cache() 549 int cache_type, unsigned int cu_processor_id, in fill_in_pcache() argument 562 ((1 << pcache_info[cache_type].num_cu_shared) - 1); in fill_in_pcache() 573 pcache->flags = pcache_info[cache_type].flags; in fill_in_pcache() 576 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_pcache() 577 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_pcache()
|
/Linux-v5.4/arch/xtensa/kernel/ |
D | perf_event.c | 106 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-v5.4/arch/arc/kernel/ |
D | perf_event.c | 141 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()
|
/Linux-v5.4/drivers/iio/magnetometer/ |
D | rm3100-i2c.c | 23 .cache_type = REGCACHE_RBTREE,
|
D | rm3100-spi.c | 23 .cache_type = REGCACHE_RBTREE,
|