/linux/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/drivers/mfd/ |
H A D | sec-i2c.c | 80 .cache_type = REGCACHE_FLAT, 89 .cache_type = REGCACHE_FLAT, 98 .cache_type = REGCACHE_FLAT, 107 .cache_type = REGCACHE_FLAT, 116 .cache_type = REGCACHE_FLAT, 125 .cache_type = REGCACHE_FLAT, 139 .cache_type = REGCACHE_FLAT,
|
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 | wm97xx-core.c | 98 .cache_type = REGCACHE_MAPLE, 166 .cache_type = REGCACHE_MAPLE, 237 .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 | sec-acpm.c | 93 .cache_type = REGCACHE_FLAT, 146 .cache_type = REGCACHE_FLAT, 176 .cache_type = REGCACHE_FLAT, 216 .cache_type = REGCACHE_FLAT,
|
H A D | bcm590xx.c | 39 .cache_type = REGCACHE_MAPLE, 46 .cache_type = REGCACHE_MAPLE,
|
H A D | wm8994-regmap.c | 1241 .cache_type = REGCACHE_MAPLE, 1256 .cache_type = REGCACHE_MAPLE, 1271 .cache_type = REGCACHE_MAPLE,
|
/linux/tools/testing/selftests/resctrl/ |
H A D | resctrlfs.c | 101 * @cache_type: Cache level as string 103 * Return: cache level as integer or -1 if @cache_type is invalid. 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() 256 * @cache_type: Cache level L2/L3 261 int get_cache_size(int cpu_no, const char *cache_type, unsigned long *cache_size) in get_cache_size() argument 267 cache_num = get_cache_level(cache_type); in get_cache_size() 433 * @cache_type: Cache type as "L2" or "L3" 439 int get_full_cbm(const char *cache_type, unsigne argument 464 get_shareable_mask(const char * cache_type,unsigned long * shareable_mask) get_shareable_mask() argument 489 get_mask_no_shareable(const char * cache_type,unsigned long * mask) get_mask_no_shareable() argument [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);
|
/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
|
/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()
|
/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,
|
/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()
|
/linux/drivers/iio/accel/ |
H A D | adxl313_i2c.c | 25 .cache_type = REGCACHE_MAPLE, 34 .cache_type = REGCACHE_MAPLE, 43 .cache_type = REGCACHE_MAPLE,
|
H A D | adxl313_spi.c | 28 .cache_type = REGCACHE_MAPLE, 39 .cache_type = REGCACHE_MAPLE, 50 .cache_type = REGCACHE_MAPLE,
|
/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()
|
/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);
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_topology.c | 347 sysfs_show_32bit_prop(buffer, offs, "type", cache->cache_type); in kfd_cache_show() 365 static const struct kobj_type cache_type = { variable 730 ret = kobject_init_and_add(cache->kobj, &cache_type, in kfd_build_sysfs_node_entry() 1614 int cache_type, unsigned int cu_processor_id, in fill_in_l1_pcache() argument 1623 cu_sibling_map_mask &= ((1 << pcache_info[cache_type].num_cu_shared) - 1); in fill_in_l1_pcache() 1637 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_l1_pcache() 1638 pcache->cache_size = pcache_info[cache_type].cache_size; in fill_in_l1_pcache() 1639 pcache->cacheline_size = pcache_info[cache_type].cache_line_size; in fill_in_l1_pcache() 1641 if (pcache_info[cache_type].flags & CRAT_CACHE_FLAGS_DATA_CACHE) in fill_in_l1_pcache() 1642 pcache->cache_type | in fill_in_l1_pcache() 1677 fill_in_l2_l3_pcache(struct kfd_cache_properties ** props_ext,struct kfd_gpu_cache_info * pcache_info,struct amdgpu_cu_info * cu_info,struct amdgpu_gfx_config * gfx_info,int cache_type,unsigned int cu_processor_id,struct kfd_node * knode) fill_in_l2_l3_pcache() argument [all...] |
/linux/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/drivers/base/regmap/ |
H A D | regcache.c | 139 if (map->cache_type == REGCACHE_NONE) { in regcache_init() 165 if (cache_types[i]->type == map->cache_type) in regcache_init() 170 map->cache_type); in regcache_init() 236 if (map->cache_type == REGCACHE_NONE) in regcache_exit() 268 if (map->cache_type == REGCACHE_NONE) in regcache_read() 297 if (map->cache_type == REGCACHE_NONE) in regcache_write() 387 if (WARN_ON(map->cache_type == REGCACHE_NONE)) in regcache_sync() 479 if (WARN_ON(map->cache_type == REGCACHE_NONE)) in regcache_sync_region() 565 WARN_ON(map->cache_type != REGCACHE_NONE && in regcache_cache_only()
|
/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,
|
/linux/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/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()
|
/linux/arch/openrisc/include/asm/ |
H A D | cpuinfo.h | 43 extern bool cpu_cache_is_present(const unsigned int cache_type);
|