Home
last modified time | relevance | path

Searched refs:slit (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/acpi/
Dnuma.c186 static int __init slit_valid(struct acpi_table_slit *slit) in slit_valid() argument
189 int d = slit->locality_count; in slit_valid()
192 u8 val = slit->entry[d*i + j]; in slit_valid()
220 void __init acpi_numa_slit_init(struct acpi_table_slit *slit) in acpi_numa_slit_init() argument
224 for (i = 0; i < slit->locality_count; i++) { in acpi_numa_slit_init()
230 for (j = 0; j < slit->locality_count; j++) { in acpi_numa_slit_init()
237 slit->entry[slit->locality_count * i + j]); in acpi_numa_slit_init()
310 struct acpi_table_slit *slit = (struct acpi_table_slit *)table; in acpi_parse_slit() local
312 if (!slit_valid(slit)) { in acpi_parse_slit()
316 acpi_numa_slit_init(slit); in acpi_parse_slit()
/Linux-v5.4/arch/ia64/kernel/
Dacpi.c359 void __init acpi_numa_slit_init(struct acpi_table_slit *slit) in acpi_numa_slit_init() argument
364 + slit->locality_count * slit->locality_count; in acpi_numa_slit_init()
365 if (slit->header.length != len) { in acpi_numa_slit_init()
368 len, slit->header.length); in acpi_numa_slit_init()
371 slit_table = slit; in acpi_numa_slit_init()
/Linux-v5.4/include/linux/
Dacpi.h245 void acpi_numa_slit_init (struct acpi_table_slit *slit);