Home
last modified time | relevance | path

Searched refs:cfmws (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/cxl/
H A Dacpi.c160 struct acpi_cedt_cfmws *cfmws) in cxl_acpi_cfmws_verify() argument
165 if (cfmws->interleave_arithmetic != ACPI_CEDT_CFMWS_ARITHMETIC_MODULO && in cxl_acpi_cfmws_verify()
166 cfmws->interleave_arithmetic != ACPI_CEDT_CFMWS_ARITHMETIC_XOR) { in cxl_acpi_cfmws_verify()
168 cfmws->interleave_arithmetic); in cxl_acpi_cfmws_verify()
172 if (!IS_ALIGNED(cfmws->base_hpa, SZ_256M)) { in cxl_acpi_cfmws_verify()
177 if (!IS_ALIGNED(cfmws->window_size, SZ_256M)) { in cxl_acpi_cfmws_verify()
182 rc = eiw_to_ways(cfmws->interleave_ways, &ways); in cxl_acpi_cfmws_verify()
185 cfmws->interleave_ways); in cxl_acpi_cfmws_verify()
189 expected_len = struct_size(cfmws, interleave_targets, ways); in cxl_acpi_cfmws_verify()
191 if (cfmws->header.length < expected_len) { in cxl_acpi_cfmws_verify()
[all …]
/linux/tools/testing/cxl/test/
H A Dcxl.c156 struct acpi_cedt_cfmws cfmws; member
160 struct acpi_cedt_cfmws cfmws; member
164 struct acpi_cedt_cfmws cfmws; member
168 struct acpi_cedt_cfmws cfmws; member
172 struct acpi_cedt_cfmws cfmws; member
176 struct acpi_cedt_cfmws cfmws; member
180 struct acpi_cedt_cfmws cfmws; member
184 struct acpi_cedt_cfmws cfmws; member
188 struct acpi_cedt_cfmws cfmws; member
236 .cfmws = {
[all …]