Searched refs:cfmws (Results 1 – 2 of 2) sorted by relevance
31 struct acpi_cedt_cfmws *cfmws) in cxl_acpi_cfmws_verify() argument36 if (cfmws->interleave_arithmetic != ACPI_CEDT_CFMWS_ARITHMETIC_MODULO) { in cxl_acpi_cfmws_verify()41 if (!IS_ALIGNED(cfmws->base_hpa, SZ_256M)) { in cxl_acpi_cfmws_verify()46 if (!IS_ALIGNED(cfmws->window_size, SZ_256M)) { in cxl_acpi_cfmws_verify()51 rc = cxl_to_ways(cfmws->interleave_ways, &ways); in cxl_acpi_cfmws_verify()54 cfmws->interleave_ways); in cxl_acpi_cfmws_verify()58 expected_len = struct_size(cfmws, interleave_targets, ways); in cxl_acpi_cfmws_verify()60 if (cfmws->header.length < expected_len) { in cxl_acpi_cfmws_verify()62 cfmws->header.length, expected_len); in cxl_acpi_cfmws_verify()66 if (cfmws->header.length > expected_len) in cxl_acpi_cfmws_verify()[all …]
304 struct acpi_cedt_cfmws *cfmws; in acpi_parse_cfmws() local309 cfmws = (struct acpi_cedt_cfmws *)header; in acpi_parse_cfmws()310 start = cfmws->base_hpa; in acpi_parse_cfmws()311 end = cfmws->base_hpa + cfmws->window_size; in acpi_parse_cfmws()