Home
last modified time | relevance | path

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

/linux/drivers/cxl/
H A Dacpi.c543 struct acpi_cedt_chbs *chbs; in cxl_get_chbs_iter() local
545 chbs = (struct acpi_cedt_chbs *) header; in cxl_get_chbs_iter()
547 if (chbs->cxl_version == ACPI_CEDT_CHBS_VERSION_CXL11 && in cxl_get_chbs_iter()
548 chbs->length != ACPI_CEDT_CHBS_LENGTH_CXL11) in cxl_get_chbs_iter()
551 if (chbs->cxl_version == ACPI_CEDT_CHBS_VERSION_CXL20 && in cxl_get_chbs_iter()
552 chbs->length != ACPI_CEDT_CHBS_LENGTH_CXL20) in cxl_get_chbs_iter()
555 if (!chbs->base) in cxl_get_chbs_iter()
558 if (ctx->saved_version != chbs->cxl_version) { in cxl_get_chbs_iter()
563 ctx->saved_version = chbs->cxl_version; in cxl_get_chbs_iter()
570 if (ctx->uid != chbs->uid) in cxl_get_chbs_iter()
[all …]
/linux/tools/testing/cxl/test/
H A Dcxl.c154 struct acpi_cedt_chbs chbs[NR_BRIDGES]; member
203 .chbs[0] = {
206 .length = sizeof(mock_cedt.chbs[0]),
211 .chbs[1] = {
214 .length = sizeof(mock_cedt.chbs[0]),
219 .chbs[2] = {
222 .length = sizeof(mock_cedt.chbs[0]),
227 .chbs[3] = {
230 .length = sizeof(mock_cedt.chbs[0]),
480 for (i = 0; i < ARRAY_SIZE(mock_cedt.chbs); i++) { in populate_cedt()
[all …]