Home
last modified time | relevance | path

Searched refs:associativity (Results 1 - 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/arch/powerpc/mm/
H A Dnuma.c174 static int __associativity_to_nid(const __be32 *associativity, in __associativity_to_nid() argument
186 nid = of_read_number(&associativity[index], 1); in __associativity_to_nid()
197 static int associativity_to_nid(const __be32 *associativity) in associativity_to_nid() argument
199 int array_sz = of_read_number(associativity, 1); in associativity_to_nid()
201 /* Skip the first element in the associativity array */ in associativity_to_nid()
202 return __associativity_to_nid((associativity + 1), array_sz); in associativity_to_nid()
250 return of_get_property(dev, "ibm,associativity", NULL); in of_get_associativity()
289 /* Walk the device tree upwards, looking for an associativity id */
308 static void __initialize_form1_numa_distance(const __be32 *associativity, in __initialize_form1_numa_distance() argument
316 nid = __associativity_to_nid(associativity, max_array_s in __initialize_form1_numa_distance()
334 initialize_form1_numa_distance(const __be32 *associativity) initialize_form1_numa_distance() argument
353 const __be32 *associativity; update_numa_distance() local
611 const __be32 *associativity; get_nid_and_numa_distance() local
647 const __be32 *associativity; of_drconf_to_nid_single() local
658 __vphn_get_associativity(long lcpu, __be32 *associativity) __vphn_get_associativity() argument
687 __be32 associativity[VPHN_ASSOC_BUFSIZE] = {0}; vphn_get_nid() local
698 __vphn_get_associativity(long lcpu, __be32 *associativity) __vphn_get_associativity() argument
911 const __be32 *associativity; parse_numa_properties() local
1409 vphn_get_associativity(unsigned long cpu, __be32 *associativity) vphn_get_associativity() argument
1444 __be32 associativity[VPHN_ASSOC_BUFSIZE] = {0}; find_and_online_cpu_nid() local
1483 __be32 associativity[VPHN_ASSOC_BUFSIZE] = {0}; cpu_to_coregroup_id() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/mm/
H A Dnuma.c170 static int __associativity_to_nid(const __be32 *associativity, in __associativity_to_nid() argument
182 nid = of_read_number(&associativity[index], 1); in __associativity_to_nid()
193 static int associativity_to_nid(const __be32 *associativity) in associativity_to_nid() argument
195 int array_sz = of_read_number(associativity, 1); in associativity_to_nid()
197 /* Skip the first element in the associativity array */ in associativity_to_nid()
198 return __associativity_to_nid((associativity + 1), array_sz); in associativity_to_nid()
246 return of_get_property(dev, "ibm,associativity", NULL); in of_get_associativity()
285 /* Walk the device tree upwards, looking for an associativity id */
304 static void __initialize_form1_numa_distance(const __be32 *associativity, in __initialize_form1_numa_distance() argument
312 nid = __associativity_to_nid(associativity, max_array_s in __initialize_form1_numa_distance()
330 initialize_form1_numa_distance(const __be32 *associativity) initialize_form1_numa_distance() argument
349 const __be32 *associativity; update_numa_distance() local
602 const __be32 *associativity; get_nid_and_numa_distance() local
638 const __be32 *associativity; of_drconf_to_nid_single() local
649 __vphn_get_associativity(long lcpu, __be32 *associativity) __vphn_get_associativity() argument
678 __be32 associativity[VPHN_ASSOC_BUFSIZE] = {0}; vphn_get_nid() local
689 __vphn_get_associativity(long lcpu, __be32 *associativity) __vphn_get_associativity() argument
902 const __be32 *associativity; parse_numa_properties() local
1387 vphn_get_associativity(unsigned long cpu, __be32 *associativity) vphn_get_associativity() argument
1422 __be32 associativity[VPHN_ASSOC_BUFSIZE] = {0}; find_and_update_cpu_nid() local
1444 __be32 associativity[VPHN_ASSOC_BUFSIZE] = {0}; cpu_to_coregroup_id() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Dvphn.c6 * The associativity domain numbers are returned from the hypervisor as a
23 * Convert to the sequence they would appear in the ibm,associativity property.
79 long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity) in hcall_vphn() argument
86 vphn_unpack_associativity(retbuf, associativity); in hcall_vphn()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/vphn/
H A Dvphn.c6 * The associativity domain numbers are returned from the hypervisor as a
23 * Convert to the sequence they would appear in the ibm,associativity property.
79 long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity) in hcall_vphn() argument
86 vphn_unpack_associativity(retbuf, associativity); in hcall_vphn()
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dvphn.c6 * The associativity domain numbers are returned from the hypervisor as a
23 * Convert to the sequence they would appear in the ibm,associativity property.
79 long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity) in hcall_vphn() argument
86 vphn_unpack_associativity(retbuf, associativity); in hcall_vphn()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/vphn/
H A Dvphn.c6 * The associativity domain numbers are returned from the hypervisor as a
23 * Convert to the sequence they would appear in the ibm,associativity property.
79 long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity) in hcall_vphn() argument
86 vphn_unpack_associativity(retbuf, associativity); in hcall_vphn()
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dvphn.h9 * 6 64-bit registers unpacked into up to 24 be32 associativity values. To
16 * 1 for retrieving associativity information for a guest cpu
17 * 2 for retrieving associativity information for a host/hypervisor cpu
22 long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity);
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/vphn/asm/
H A Dvphn.h9 * 6 64-bit registers unpacked into up to 24 be32 associativity values. To
16 * 1 for retrieving associativity information for a guest cpu
17 * 2 for retrieving associativity information for a host/hypervisor cpu
22 long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity);
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Ddtl.h50 extern long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity);
H A Dlppaca.h18 * 6 64-bit registers unpacked into up to 24 be32 associativity values. To
25 * 1 for retrieving associativity information for a guest cpu
26 * 2 for retrieving associativity information for a host/hypervisor cpu
74 /* associativity change counters */
159 extern long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity);
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/vphn/asm/
H A Dlppaca.h18 * 6 64-bit registers unpacked into up to 24 be32 associativity values. To
25 * 1 for retrieving associativity information for a guest cpu
26 * 2 for retrieving associativity information for a host/hypervisor cpu
74 /* associativity change counters */
159 extern long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity);
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dcacheinfo.c604 unsigned int associativity; in associativity_show() local
609 if (cache_associativity(cache, &associativity)) in associativity_show()
612 return sprintf(buf, "%u\n", associativity); in associativity_show()
H A Dprom_init.c905 u8 associativity; member
1072 .associativity = OV5_FEAT(OV5_FORM1_AFFINITY) | OV5_FEAT(OV5_PRRN) |
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dcacheinfo.c640 unsigned int associativity; in associativity_show() local
645 if (cache_associativity(cache, &associativity)) in associativity_show()
648 return sprintf(buf, "%u\n", associativity); in associativity_show()
H A Dprom_init.c921 u8 associativity; member
1095 .associativity = OV5_FEAT(OV5_FORM1_AFFINITY) | OV5_FEAT(OV5_PRRN) |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.h167 uint8_t associativity; member
H A Dkfd_crat.c323 props->cache_assoc = cache->associativity; in kfd_parse_subtype_cache()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.h171 uint8_t associativity; member
/kernel/linux/linux-5.10/arch/ia64/include/asm/
H A Dpal.h159 associativity : 8, /* 16-8 Associativity*/ member
200 #define pcci_assoc pcci_info_1.pcci1_bits.associativity
1576 associativity : 8, member
1589 #define tc_associativity pal_tc_info_s.associativity
/kernel/linux/linux-6.6/arch/ia64/include/asm/
H A Dpal.h160 associativity : 8, /* 16-8 Associativity*/ member
201 #define pcci_assoc pcci_info_1.pcci1_bits.associativity
1577 associativity : 8, member
1590 #define tc_associativity pal_tc_info_s.associativity
/kernel/linux/linux-5.10/arch/arm/mm/
H A Dcache-l2x0.c939 * @associativity: variable to return the calculated associativity in
944 u32 *associativity, in l2x0_cache_size_of_parse()
988 * associativity = ways = cache size / way size in l2x0_cache_size_of_parse()
991 *associativity = cache_size / way_size; in l2x0_cache_size_of_parse()
1003 pr_info("L2C OF: override associativity: %d\n", *associativity); in l2x0_cache_size_of_parse()
1074 pr_err("l2x0 of: cache setting yield too high associativity\n"); in l2x0_of_parse()
1175 pr_err("L2C-310 OF cache associativity %d invalid, only 8 or 16 permitted\n", in l2c310_of_parse()
942 l2x0_cache_size_of_parse(const struct device_node *np, u32 *aux_val, u32 *aux_mask, u32 *associativity, u32 max_way_size) l2x0_cache_size_of_parse() argument
/kernel/linux/linux-6.6/arch/arm/mm/
H A Dcache-l2x0.c939 * @associativity: variable to return the calculated associativity in
944 u32 *associativity, in l2x0_cache_size_of_parse()
988 * associativity = ways = cache size / way size in l2x0_cache_size_of_parse()
991 *associativity = cache_size / way_size; in l2x0_cache_size_of_parse()
1003 pr_info("L2C OF: override associativity: %d\n", *associativity); in l2x0_cache_size_of_parse()
1074 pr_err("l2x0 of: cache setting yield too high associativity\n"); in l2x0_of_parse()
1175 pr_err("L2C-310 OF cache associativity %d invalid, only 8 or 16 permitted\n", in l2c310_of_parse()
942 l2x0_cache_size_of_parse(const struct device_node *np, u32 *aux_val, u32 *aux_mask, u32 *associativity, u32 max_way_size) l2x0_cache_size_of_parse() argument
/kernel/linux/linux-5.10/drivers/acpi/
H A Dpptt.c369 this_leaf->ways_of_associativity = found_cache->associativity; in update_cache_properties()
/kernel/linux/linux-6.6/drivers/acpi/
H A Dpptt.c372 this_leaf->ways_of_associativity = found_cache->associativity; in update_cache_properties()
/kernel/linux/linux-5.10/include/acpi/
H A Dactbl2.h1630 u8 associativity; member

Completed in 42 milliseconds

12