Home
last modified time | relevance | path

Searched refs:this_leaf (Results 1 – 25 of 51) sorted by relevance

123

/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/base/
H A Dcacheinfo.c150 cache_size(this_leaf, np); in cache_of_set_props()
152 cache_nr_sets(this_leaf, np); in cache_of_set_props()
153 cache_associativity(this_leaf); in cache_of_set_props()
159 struct cacheinfo *this_leaf; in cache_setup_of_node() local
181 if (this_leaf->level != 1) in cache_setup_of_node()
188 this_leaf->fw_token = np; in cache_setup_of_node()
207 return !(this_leaf->level == 1); in cache_leaves_are_shared()
407 switch (this_leaf->type) { in type_show()
512 this_leaf->number_of_sets) in cache_default_attrs_is_visible()
615 struct cacheinfo *this_leaf; in cache_add_dev() local
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/base/
H A Dcacheinfo.c150 cache_size(this_leaf, np); in cache_of_set_props()
152 cache_nr_sets(this_leaf, np); in cache_of_set_props()
153 cache_associativity(this_leaf); in cache_of_set_props()
159 struct cacheinfo *this_leaf; in cache_setup_of_node() local
181 if (this_leaf->level != 1) in cache_setup_of_node()
188 this_leaf->fw_token = np; in cache_setup_of_node()
207 return !(this_leaf->level == 1); in cache_leaves_are_shared()
407 switch (this_leaf->type) { in type_show()
512 this_leaf->number_of_sets) in cache_default_attrs_is_visible()
615 struct cacheinfo *this_leaf; in cache_add_dev() local
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/base/
H A Dcacheinfo.c150 cache_size(this_leaf, np); in cache_of_set_props()
152 cache_nr_sets(this_leaf, np); in cache_of_set_props()
153 cache_associativity(this_leaf); in cache_of_set_props()
159 struct cacheinfo *this_leaf; in cache_setup_of_node() local
181 if (this_leaf->level != 1) in cache_setup_of_node()
188 this_leaf->fw_token = np; in cache_setup_of_node()
207 return !(this_leaf->level == 1); in cache_leaves_are_shared()
407 switch (this_leaf->type) { in type_show()
512 this_leaf->number_of_sets) in cache_default_attrs_is_visible()
615 struct cacheinfo *this_leaf; in cache_add_dev() local
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/riscv/kernel/
H A Dcacheinfo.c39 struct cacheinfo *this_leaf; in get_cacheinfo() local
44 if (this_leaf->level == level && this_leaf->type == type) in get_cacheinfo()
45 return this_leaf; in get_cacheinfo()
55 return this_leaf ? this_leaf->size : 0; in get_cache_size()
62 return this_leaf ? (this_leaf->ways_of_associativity << 16 | in get_cache_geometry()
63 this_leaf->coherency_line_size) : in get_cache_geometry()
71 this_leaf->level = level; in ci_leaf_init()
72 this_leaf->type = type; in ci_leaf_init()
73 this_leaf->size = size; in ci_leaf_init()
74 this_leaf->number_of_sets = sets; in ci_leaf_init()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/riscv/kernel/
H A Dcacheinfo.c39 struct cacheinfo *this_leaf; in get_cacheinfo() local
44 if (this_leaf->level == level && this_leaf->type == type) in get_cacheinfo()
45 return this_leaf; in get_cacheinfo()
55 return this_leaf ? this_leaf->size : 0; in get_cache_size()
62 return this_leaf ? (this_leaf->ways_of_associativity << 16 | in get_cache_geometry()
63 this_leaf->coherency_line_size) : in get_cache_geometry()
71 this_leaf->level = level; in ci_leaf_init()
72 this_leaf->type = type; in ci_leaf_init()
73 this_leaf->size = size; in ci_leaf_init()
74 this_leaf->number_of_sets = sets; in ci_leaf_init()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/riscv/kernel/
H A Dcacheinfo.c39 struct cacheinfo *this_leaf; in get_cacheinfo() local
44 if (this_leaf->level == level && this_leaf->type == type) in get_cacheinfo()
45 return this_leaf; in get_cacheinfo()
55 return this_leaf ? this_leaf->size : 0; in get_cache_size()
62 return this_leaf ? (this_leaf->ways_of_associativity << 16 | in get_cache_geometry()
63 this_leaf->coherency_line_size) : in get_cache_geometry()
71 this_leaf->level = level; in ci_leaf_init()
72 this_leaf->type = type; in ci_leaf_init()
73 this_leaf->size = size; in ci_leaf_init()
74 this_leaf->number_of_sets = sets; in ci_leaf_init()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/nds32/kernel/
H A Dcacheinfo.c8 static void ci_leaf_init(struct cacheinfo *this_leaf, in ci_leaf_init() argument
13 this_leaf->level = level; in ci_leaf_init()
14 this_leaf->type = type; in ci_leaf_init()
16 this_leaf->number_of_sets = CACHE_SET(cache_type); in ci_leaf_init()
18 this_leaf->size = this_leaf->number_of_sets * in ci_leaf_init()
19 this_leaf->coherency_line_size * this_leaf->ways_of_associativity; in ci_leaf_init()
21 this_leaf->attributes = CACHE_WRITE_THROUGH; in ci_leaf_init()
23 this_leaf->attributes = CACHE_WRITE_BACK; in ci_leaf_init()
41 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves() local
45 ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level); in populate_cache_leaves()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/nds32/kernel/
H A Dcacheinfo.c8 static void ci_leaf_init(struct cacheinfo *this_leaf, in ci_leaf_init() argument
13 this_leaf->level = level; in ci_leaf_init()
14 this_leaf->type = type; in ci_leaf_init()
16 this_leaf->number_of_sets = CACHE_SET(cache_type); in ci_leaf_init()
18 this_leaf->size = this_leaf->number_of_sets * in ci_leaf_init()
19 this_leaf->coherency_line_size * this_leaf->ways_of_associativity; in ci_leaf_init()
21 this_leaf->attributes = CACHE_WRITE_THROUGH; in ci_leaf_init()
23 this_leaf->attributes = CACHE_WRITE_BACK; in ci_leaf_init()
41 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves() local
45 ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level); in populate_cache_leaves()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/nds32/kernel/
H A Dcacheinfo.c8 static void ci_leaf_init(struct cacheinfo *this_leaf, in ci_leaf_init() argument
13 this_leaf->level = level; in ci_leaf_init()
14 this_leaf->type = type; in ci_leaf_init()
16 this_leaf->number_of_sets = CACHE_SET(cache_type); in ci_leaf_init()
18 this_leaf->size = this_leaf->number_of_sets * in ci_leaf_init()
19 this_leaf->coherency_line_size * this_leaf->ways_of_associativity; in ci_leaf_init()
21 this_leaf->attributes = CACHE_WRITE_THROUGH; in ci_leaf_init()
23 this_leaf->attributes = CACHE_WRITE_BACK; in ci_leaf_init()
41 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves() local
45 ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level); in populate_cache_leaves()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/x86/kernel/cpu/
H A Dcacheinfo.c514 if (!this_leaf->priv) in cache_private_attrs_is_visible()
566 if (this_leaf->level < 3 || !nb) in cache_get_priv_group()
585 if (this_leaf->nb && !this_leaf->nb->l3_cache.indices) in amd_init_l3_cache()
618 this_leaf->eax = eax; in cpuid4_cache_lookup_regs()
619 this_leaf->ebx = ebx; in cpuid4_cache_lookup_regs()
620 this_leaf->ecx = ecx; in cpuid4_cache_lookup_regs()
761 new_l2 = this_leaf.size/1024; in init_intel_cacheinfo()
881 struct cacheinfo *this_leaf; in __cache_amd_cpumap_setup() local
973 this_leaf->id = base->id; in ci_leaf_init()
981 this_leaf->size = base->size; in ci_leaf_init()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/x86/kernel/cpu/
H A Dcacheinfo.c514 if (!this_leaf->priv) in cache_private_attrs_is_visible()
566 if (this_leaf->level < 3 || !nb) in cache_get_priv_group()
585 if (this_leaf->nb && !this_leaf->nb->l3_cache.indices) in amd_init_l3_cache()
618 this_leaf->eax = eax; in cpuid4_cache_lookup_regs()
619 this_leaf->ebx = ebx; in cpuid4_cache_lookup_regs()
620 this_leaf->ecx = ecx; in cpuid4_cache_lookup_regs()
761 new_l2 = this_leaf.size/1024; in init_intel_cacheinfo()
881 struct cacheinfo *this_leaf; in __cache_amd_cpumap_setup() local
973 this_leaf->id = base->id; in ci_leaf_init()
981 this_leaf->size = base->size; in ci_leaf_init()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/x86/kernel/cpu/
H A Dcacheinfo.c514 if (!this_leaf->priv) in cache_private_attrs_is_visible()
566 if (this_leaf->level < 3 || !nb) in cache_get_priv_group()
585 if (this_leaf->nb && !this_leaf->nb->l3_cache.indices) in amd_init_l3_cache()
618 this_leaf->eax = eax; in cpuid4_cache_lookup_regs()
619 this_leaf->ebx = ebx; in cpuid4_cache_lookup_regs()
620 this_leaf->ecx = ecx; in cpuid4_cache_lookup_regs()
761 new_l2 = this_leaf.size/1024; in init_intel_cacheinfo()
881 struct cacheinfo *this_leaf; in __cache_amd_cpumap_setup() local
973 this_leaf->id = base->id; in ci_leaf_init()
981 this_leaf->size = base->size; in ci_leaf_init()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/ia64/kernel/
H A Dtopology.c139 struct cache_info * this_leaf) in cache_shared_cpu_map_setup() argument
151 if (ia64_pal_cache_shared_info(this_leaf->level, in cache_shared_cpu_map_setup()
152 this_leaf->type, in cache_shared_cpu_map_setup()
167 ia64_pal_cache_shared_info(this_leaf->level, in cache_shared_cpu_map_setup()
168 this_leaf->type, in cache_shared_cpu_map_setup()
174 struct cache_info * this_leaf) in cache_shared_cpu_map_setup() argument
208 number_of_sets /= this_leaf->cci.pcci_assoc; in show_number_of_sets()
219 &this_leaf->shared_cpu_map, cpu_online_mask); in show_shared_cpu_map()
226 int type = this_leaf->type + this_leaf->cci.pcci_unified; in show_type()
232 return sprintf(buf, "%u\n", this_leaf->level); in show_level()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/ia64/kernel/
H A Dtopology.c139 struct cache_info * this_leaf) in cache_shared_cpu_map_setup() argument
151 if (ia64_pal_cache_shared_info(this_leaf->level, in cache_shared_cpu_map_setup()
152 this_leaf->type, in cache_shared_cpu_map_setup()
167 ia64_pal_cache_shared_info(this_leaf->level, in cache_shared_cpu_map_setup()
168 this_leaf->type, in cache_shared_cpu_map_setup()
174 struct cache_info * this_leaf) in cache_shared_cpu_map_setup() argument
208 number_of_sets /= this_leaf->cci.pcci_assoc; in show_number_of_sets()
219 &this_leaf->shared_cpu_map, cpu_online_mask); in show_shared_cpu_map()
226 int type = this_leaf->type + this_leaf->cci.pcci_unified; in show_type()
232 return sprintf(buf, "%u\n", this_leaf->level); in show_level()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/ia64/kernel/
H A Dtopology.c139 struct cache_info * this_leaf) in cache_shared_cpu_map_setup() argument
151 if (ia64_pal_cache_shared_info(this_leaf->level, in cache_shared_cpu_map_setup()
152 this_leaf->type, in cache_shared_cpu_map_setup()
167 ia64_pal_cache_shared_info(this_leaf->level, in cache_shared_cpu_map_setup()
168 this_leaf->type, in cache_shared_cpu_map_setup()
174 struct cache_info * this_leaf) in cache_shared_cpu_map_setup() argument
208 number_of_sets /= this_leaf->cci.pcci_assoc; in show_number_of_sets()
219 &this_leaf->shared_cpu_map, cpu_online_mask); in show_shared_cpu_map()
226 int type = this_leaf->type + this_leaf->cci.pcci_unified; in show_type()
232 return sprintf(buf, "%u\n", this_leaf->level); in show_level()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/s390/kernel/
H A Dcache.c115 this_leaf->level = level + 1; in ci_leaf_init()
116 this_leaf->type = type; in ci_leaf_init()
119 this_leaf->size = ecag(EXTRACT_SIZE, level, ti); in ci_leaf_init()
120 num_sets = this_leaf->size / this_leaf->coherency_line_size; in ci_leaf_init()
121 num_sets /= this_leaf->ways_of_associativity; in ci_leaf_init()
122 this_leaf->number_of_sets = num_sets; in ci_leaf_init()
123 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in ci_leaf_init()
125 this_leaf->disable_sysfs = true; in ci_leaf_init()
155 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves() local
165 if (!this_leaf) in populate_cache_leaves()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/s390/kernel/
H A Dcache.c115 this_leaf->level = level + 1; in ci_leaf_init()
116 this_leaf->type = type; in ci_leaf_init()
119 this_leaf->size = ecag(EXTRACT_SIZE, level, ti); in ci_leaf_init()
120 num_sets = this_leaf->size / this_leaf->coherency_line_size; in ci_leaf_init()
121 num_sets /= this_leaf->ways_of_associativity; in ci_leaf_init()
122 this_leaf->number_of_sets = num_sets; in ci_leaf_init()
123 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in ci_leaf_init()
125 this_leaf->disable_sysfs = true; in ci_leaf_init()
155 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves() local
165 if (!this_leaf) in populate_cache_leaves()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/s390/kernel/
H A Dcache.c115 this_leaf->level = level + 1; in ci_leaf_init()
116 this_leaf->type = type; in ci_leaf_init()
119 this_leaf->size = ecag(EXTRACT_SIZE, level, ti); in ci_leaf_init()
120 num_sets = this_leaf->size / this_leaf->coherency_line_size; in ci_leaf_init()
121 num_sets /= this_leaf->ways_of_associativity; in ci_leaf_init()
122 this_leaf->number_of_sets = num_sets; in ci_leaf_init()
123 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in ci_leaf_init()
125 this_leaf->disable_sysfs = true; in ci_leaf_init()
155 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves() local
165 if (!this_leaf) in populate_cache_leaves()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/mips/kernel/
H A Dcacheinfo.c81 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in __populate_cache_leaves() local
86 fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map); in __populate_cache_leaves()
87 populate_cache(dcache, this_leaf, level, CACHE_TYPE_DATA); in __populate_cache_leaves()
88 fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map); in __populate_cache_leaves()
89 populate_cache(icache, this_leaf, level, CACHE_TYPE_INST); in __populate_cache_leaves()
92 populate_cache(dcache, this_leaf, level, CACHE_TYPE_UNIFIED); in __populate_cache_leaves()
98 fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map); in __populate_cache_leaves()
99 populate_cache(vcache, this_leaf, level, CACHE_TYPE_UNIFIED); in __populate_cache_leaves()
105 fill_cpumask_cluster(cpu, &this_leaf->shared_cpu_map); in __populate_cache_leaves()
106 populate_cache(scache, this_leaf, level, CACHE_TYPE_UNIFIED); in __populate_cache_leaves()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/mips/kernel/
H A Dcacheinfo.c81 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in __populate_cache_leaves() local
86 fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map); in __populate_cache_leaves()
87 populate_cache(dcache, this_leaf, level, CACHE_TYPE_DATA); in __populate_cache_leaves()
88 fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map); in __populate_cache_leaves()
89 populate_cache(icache, this_leaf, level, CACHE_TYPE_INST); in __populate_cache_leaves()
92 populate_cache(dcache, this_leaf, level, CACHE_TYPE_UNIFIED); in __populate_cache_leaves()
98 fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map); in __populate_cache_leaves()
99 populate_cache(vcache, this_leaf, level, CACHE_TYPE_UNIFIED); in __populate_cache_leaves()
105 fill_cpumask_cluster(cpu, &this_leaf->shared_cpu_map); in __populate_cache_leaves()
106 populate_cache(scache, this_leaf, level, CACHE_TYPE_UNIFIED); in __populate_cache_leaves()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/mips/kernel/
H A Dcacheinfo.c81 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in __populate_cache_leaves() local
86 fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map); in __populate_cache_leaves()
87 populate_cache(dcache, this_leaf, level, CACHE_TYPE_DATA); in __populate_cache_leaves()
88 fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map); in __populate_cache_leaves()
89 populate_cache(icache, this_leaf, level, CACHE_TYPE_INST); in __populate_cache_leaves()
92 populate_cache(dcache, this_leaf, level, CACHE_TYPE_UNIFIED); in __populate_cache_leaves()
98 fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map); in __populate_cache_leaves()
99 populate_cache(vcache, this_leaf, level, CACHE_TYPE_UNIFIED); in __populate_cache_leaves()
105 fill_cpumask_cluster(cpu, &this_leaf->shared_cpu_map); in __populate_cache_leaves()
106 populate_cache(scache, this_leaf, level, CACHE_TYPE_UNIFIED); in __populate_cache_leaves()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/acpi/
H A Dpptt.c361 this_leaf->fw_token = cpu_node; in update_cache_properties()
363 this_leaf->size = found_cache->size; in update_cache_properties()
376 this_leaf->attributes = CACHE_WRITE_BACK; in update_cache_properties()
390 this_leaf->attributes |= in update_cache_properties()
405 if (this_leaf->type == CACHE_TYPE_NOCACHE && in update_cache_properties()
407 this_leaf->type = CACHE_TYPE_UNIFIED; in update_cache_properties()
416 struct cacheinfo *this_leaf; in cache_setup_acpi_cpu() local
421 this_leaf = this_cpu_ci->info_list + index; in cache_setup_acpi_cpu()
423 this_leaf->type, in cache_setup_acpi_cpu()
424 this_leaf->level, in cache_setup_acpi_cpu()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/acpi/
H A Dpptt.c361 this_leaf->fw_token = cpu_node; in update_cache_properties()
363 this_leaf->size = found_cache->size; in update_cache_properties()
376 this_leaf->attributes = CACHE_WRITE_BACK; in update_cache_properties()
390 this_leaf->attributes |= in update_cache_properties()
405 if (this_leaf->type == CACHE_TYPE_NOCACHE && in update_cache_properties()
407 this_leaf->type = CACHE_TYPE_UNIFIED; in update_cache_properties()
416 struct cacheinfo *this_leaf; in cache_setup_acpi_cpu() local
421 this_leaf = this_cpu_ci->info_list + index; in cache_setup_acpi_cpu()
423 this_leaf->type, in cache_setup_acpi_cpu()
424 this_leaf->level, in cache_setup_acpi_cpu()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/acpi/
H A Dpptt.c361 this_leaf->fw_token = cpu_node; in update_cache_properties()
363 this_leaf->size = found_cache->size; in update_cache_properties()
376 this_leaf->attributes = CACHE_WRITE_BACK; in update_cache_properties()
390 this_leaf->attributes |= in update_cache_properties()
405 if (this_leaf->type == CACHE_TYPE_NOCACHE && in update_cache_properties()
407 this_leaf->type = CACHE_TYPE_UNIFIED; in update_cache_properties()
416 struct cacheinfo *this_leaf; in cache_setup_acpi_cpu() local
421 this_leaf = this_cpu_ci->info_list + index; in cache_setup_acpi_cpu()
423 this_leaf->type, in cache_setup_acpi_cpu()
424 this_leaf->level, in cache_setup_acpi_cpu()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/arm64/kernel/
H A Dcacheinfo.c39 static void ci_leaf_init(struct cacheinfo *this_leaf, in ci_leaf_init() argument
42 this_leaf->level = level; in ci_leaf_init()
43 this_leaf->type = type; in ci_leaf_init()
86 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in __populate_cache_leaves() local
92 ci_leaf_init(this_leaf++, CACHE_TYPE_DATA, level); in __populate_cache_leaves()
93 ci_leaf_init(this_leaf++, CACHE_TYPE_INST, level); in __populate_cache_leaves()
95 ci_leaf_init(this_leaf++, type, level); in __populate_cache_leaves()

123