/openbmc/linux/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
|
/openbmc/linux/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()
|
/openbmc/linux/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,
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regmap-kunit.c | 78 config->disable_locking = config->cache_type == REGCACHE_RBTREE || in gen_regmap() 79 config->cache_type == REGCACHE_MAPLE; in gen_regmap() 129 config.cache_type = t->type; in basic_read_write() 159 config.cache_type = t->type; in bulk_write() 196 config.cache_type = t->type; in bulk_read() 229 config.cache_type = t->type; in write_readonly() 264 config.cache_type = t->type; in read_writeonly() 304 config.cache_type = t->type; in reg_defaults() 332 config.cache_type = t->type; in reg_defaults_read_dev() 368 config.cache_type = t->type; in register_patch() [all …]
|
H 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() 212 if (map->cache_type == REGCACHE_NONE) in regcache_exit() 242 if (map->cache_type == REGCACHE_NONE) in regcache_read() 271 if (map->cache_type == REGCACHE_NONE) in regcache_write() 361 if (WARN_ON(map->cache_type == REGCACHE_NONE)) in regcache_sync() 453 if (WARN_ON(map->cache_type == REGCACHE_NONE)) in regcache_sync_region() 539 WARN_ON(map->cache_type != REGCACHE_NONE && in regcache_cache_only()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/mfd/ |
H 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,
|
H A D | rk8xx-i2c.c | 83 .cache_type = REGCACHE_RBTREE, 91 .cache_type = REGCACHE_RBTREE, 99 .cache_type = REGCACHE_RBTREE, 107 .cache_type = REGCACHE_NONE,
|
H A D | wm97xx-core.c | 98 .cache_type = REGCACHE_RBTREE, 166 .cache_type = REGCACHE_RBTREE, 237 .cache_type = REGCACHE_RBTREE,
|
H A D | bcm590xx.c | 30 .cache_type = REGCACHE_RBTREE, 37 .cache_type = REGCACHE_RBTREE,
|
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,
|
H A D | rsmu_i2c.c | 181 .cache_type = REGCACHE_NONE, 191 .cache_type = REGCACHE_RBTREE, 200 .cache_type = REGCACHE_NONE,
|
/openbmc/linux/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()
|
/openbmc/linux/tools/testing/selftests/resctrl/ |
H A D | resctrl.h | 101 int get_cbm_mask(char *cache_type, char *cbm_mask); 102 int get_cache_size(int cpu_no, char *cache_type, unsigned long *cache_size); 108 int cat_perf_miss_val(int cpu_no, int no_of_bits, char *cache_type);
|
H A D | cat_test.c | 90 int cat_perf_miss_val(int cpu_no, int n, char *cache_type) in cat_perf_miss_val() argument 102 ret = get_cbm_mask(cache_type, cbm_mask); in cat_perf_miss_val() 109 ret = get_cache_size(cpu_no, cache_type, &cache_size); in cat_perf_miss_val()
|
H A D | resctrlfs.c | 140 int get_cache_size(int cpu_no, char *cache_type, unsigned long *cache_size) in get_cache_size() argument 146 if (!strcmp(cache_type, "L3")) { in get_cache_size() 148 } else if (!strcmp(cache_type, "L2")) { in get_cache_size() 204 int get_cbm_mask(char *cache_type, char *cbm_mask) in get_cbm_mask() argument 212 sprintf(cbm_mask_path, "%s/%s/cbm_mask", INFO_PATH, cache_type); in get_cbm_mask()
|
/openbmc/linux/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()
|
/openbmc/linux/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);
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | sal.c | 240 u64 vector, cache_type = 3; in check_sal_cache_flush() local 258 SAL_CALL(isrv, SAL_CACHE_FLUSH, cache_type, 0, 0, 0, 0, 0, 0); in check_sal_cache_flush() 279 ia64_sal_cache_flush (u64 cache_type) in ia64_sal_cache_flush() argument 290 rc = ia64_pal_cache_flush(cache_type, in ia64_sal_cache_flush() 296 SAL_CALL(isrv, SAL_CACHE_FLUSH, cache_type, 0, 0, 0, 0, 0, 0); in ia64_sal_cache_flush()
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_topology.c | 362 sysfs_show_32bit_prop(buffer, offs, "type", cache->cache_type); in kfd_cache_show() 380 static const struct kobj_type cache_type = { variable 739 ret = kobject_init_and_add(cache->kobj, &cache_type, in kfd_build_sysfs_node_entry() 1541 int cache_type, unsigned int cu_processor_id, in fill_in_l1_pcache() argument 1550 cu_sibling_map_mask &= ((1 << pcache_info[cache_type].num_cu_shared) - 1); in fill_in_l1_pcache() 1564 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_l1_pcache() 1565 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_l1_pcache() 1567 if (pcache_info[cache_type].flags & CRAT_CACHE_FLAGS_DATA_CACHE) in fill_in_l1_pcache() 1568 pcache->cache_type |= HSA_CACHE_TYPE_DATA; in fill_in_l1_pcache() 1569 if (pcache_info[cache_type].flags & CRAT_CACHE_FLAGS_INST_CACHE) in fill_in_l1_pcache() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | arm_l2x0.c | 39 uint32_t cache_type; member 80 return s->cache_type |= (cache_data << 18) | (cache_data << 6); in l2x0_priv_read() 177 DEFINE_PROP_UINT32("cache-type", L2x0State, cache_type, 0x1c100100),
|
/openbmc/linux/include/linux/ |
H A D | cacheinfo.h | 12 enum cache_type { enum 51 enum cache_type type;
|
/openbmc/linux/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,
|
/openbmc/u-boot/arch/arm/cpu/armv7m/ |
H A D | cache.c | 40 enum cache_type { enum 115 static u32 get_cline_size(enum cache_type type) in get_cline_size() 140 enum cache_type type; in action_cache_range()
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | pal.h | 286 u64 cache_type : 8, /* 7-0 cache type */ member 299 u64 cache_type : 8, /* 7-0 cache type */ member 329 #define pclid_read_cache_type pclid_info_read.cache_type 338 #define pclid_write_cache_type pclid_info_write.cache_type 909 ia64_pal_cache_config_info (u64 cache_level, u64 cache_type, pal_cache_config_info_t *conf) in ia64_pal_cache_config_info() argument 913 PAL_CALL(iprv, PAL_CACHE_INFO, cache_level, cache_type, 0); in ia64_pal_cache_config_info() 927 ia64_pal_cache_prot_info (u64 cache_level, u64 cache_type, pal_cache_protection_info_t *prot) in ia64_pal_cache_prot_info() argument 931 PAL_CALL(iprv, PAL_CACHE_PROT_INFO, cache_level, cache_type, 0); in ia64_pal_cache_prot_info() 950 ia64_pal_cache_flush (u64 cache_type, u64 invalidate, u64 *progress, u64 *vector) in ia64_pal_cache_flush() argument 953 PAL_CALL(iprv, PAL_CACHE_FLUSH, cache_type, invalidate, *progress); in ia64_pal_cache_flush() [all …]
|