/kernel/linux/linux-5.10/arch/powerpc/mm/ |
H A D | numa.c | 174 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 D | numa.c | 170 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 D | vphn.c | 6 * 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 D | vphn.c | 6 * 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 D | vphn.c | 6 * 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 D | vphn.c | 6 * 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 D | vphn.h | 9 * 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 D | vphn.h | 9 * 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 D | dtl.h | 50 extern long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity);
|
H A D | lppaca.h | 18 * 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 D | lppaca.h | 18 * 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 D | cacheinfo.c | 604 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 D | prom_init.c | 905 u8 associativity; member 1072 .associativity = OV5_FEAT(OV5_FORM1_AFFINITY) | OV5_FEAT(OV5_PRRN) |
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | cacheinfo.c | 640 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 D | prom_init.c | 921 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 D | kfd_crat.h | 167 uint8_t associativity; member
|
H A D | kfd_crat.c | 323 props->cache_assoc = cache->associativity; in kfd_parse_subtype_cache()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_crat.h | 171 uint8_t associativity; member
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
H A D | pal.h | 159 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 D | pal.h | 160 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 D | cache-l2x0.c | 939 * @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 D | cache-l2x0.c | 939 * @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 D | pptt.c | 369 this_leaf->ways_of_associativity = found_cache->associativity; in update_cache_properties()
|
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | pptt.c | 372 this_leaf->ways_of_associativity = found_cache->associativity; in update_cache_properties()
|
/kernel/linux/linux-5.10/include/acpi/ |
H A D | actbl2.h | 1630 u8 associativity; member
|