Home
last modified time | relevance | path

Searched refs:acpi_desc (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/acpi/nfit/
Dcore.c76 static struct acpi_device *to_acpi_dev(struct acpi_nfit_desc *acpi_desc) in to_acpi_dev() argument
78 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in to_acpi_dev()
88 return to_acpi_device(acpi_desc->dev); in to_acpi_dev()
441 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in acpi_nfit_ctl() local
445 struct device *dev = acpi_desc->dev; in acpi_nfit_ctl()
477 struct acpi_device *adev = to_acpi_dev(acpi_desc); in acpi_nfit_ctl()
677 static bool add_spa(struct acpi_nfit_desc *acpi_desc, in add_spa() argument
681 struct device *dev = acpi_desc->dev; in add_spa()
689 list_move_tail(&nfit_spa->list, &acpi_desc->spas); in add_spa()
700 list_add_tail(&nfit_spa->list, &acpi_desc->spas); in add_spa()
[all …]
Dmce.c17 struct acpi_nfit_desc *acpi_desc; in nfit_handle_mce() local
34 list_for_each_entry(acpi_desc, &acpi_descs, list) { in nfit_handle_mce()
35 struct device *dev = acpi_desc->dev; in nfit_handle_mce()
38 mutex_lock(&acpi_desc->init_mutex); in nfit_handle_mce()
39 list_for_each_entry(nfit_spa, &acpi_desc->spas, list) { in nfit_handle_mce()
59 mutex_unlock(&acpi_desc->init_mutex); in nfit_handle_mce()
65 nvdimm_bus_add_badrange(acpi_desc->nvdimm_bus, in nfit_handle_mce()
71 if (acpi_desc->scrub_mode == HW_ERROR_SCRUB_ON) { in nfit_handle_mce()
77 acpi_nfit_ars_rescan(acpi_desc, 0); in nfit_handle_mce()
Dnfit.h200 struct acpi_nfit_desc *acpi_desc; member
284 int acpi_nfit_ars_rescan(struct acpi_nfit_desc *acpi_desc,
340 int acpi_nfit_init(struct acpi_nfit_desc *acpi_desc, void *nfit, acpi_size sz);
346 void acpi_nfit_desc_init(struct acpi_nfit_desc *acpi_desc, struct device *dev);
/Linux-v5.4/tools/testing/nvdimm/test/
Dnfit.c179 struct acpi_nfit_desc acpi_desc; member
1199 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in nfit_test_ctl() local
1200 struct nfit_test *t = container_of(acpi_desc, typeof(*t), acpi_desc); in nfit_test_ctl()
1365 acpi_desc->nvdimm_bus, buf, buf_len); in nfit_test_ctl()
1799 struct acpi_nfit_desc *acpi_desc; in nfit_test0_setup() local
2497 acpi_desc = &t->acpi_desc; in nfit_test0_setup()
2498 set_bit(ND_CMD_GET_CONFIG_SIZE, &acpi_desc->dimm_cmd_force_en); in nfit_test0_setup()
2499 set_bit(ND_CMD_GET_CONFIG_DATA, &acpi_desc->dimm_cmd_force_en); in nfit_test0_setup()
2500 set_bit(ND_CMD_SET_CONFIG_DATA, &acpi_desc->dimm_cmd_force_en); in nfit_test0_setup()
2501 set_bit(ND_INTEL_SMART, &acpi_desc->dimm_cmd_force_en); in nfit_test0_setup()
[all …]