Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/acpi/nfit/
Dcore.c89 static struct acpi_device *to_acpi_dev(struct acpi_nfit_desc *acpi_desc) in to_acpi_dev() argument
91 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in to_acpi_dev()
101 return to_acpi_device(acpi_desc->dev); in to_acpi_dev()
440 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in acpi_nfit_ctl() local
444 struct device *dev = acpi_desc->dev; in acpi_nfit_ctl()
477 struct acpi_device *adev = to_acpi_dev(acpi_desc); in acpi_nfit_ctl()
488 dsm_mask = acpi_desc->family_dsm_mask[family]; in acpi_nfit_ctl()
491 dsm_mask = acpi_desc->bus_dsm_mask; in acpi_nfit_ctl()
698 static bool add_spa(struct acpi_nfit_desc *acpi_desc, in add_spa() argument
702 struct device *dev = acpi_desc->dev; in add_spa()
[all …]
Dintel.c15 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in firmware_activate_noidle_show() local
17 return sprintf(buf, "%s\n", acpi_desc->fwa_noidle ? "Y" : "N"); in firmware_activate_noidle_show()
25 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in firmware_activate_noidle_store() local
32 if (val != acpi_desc->fwa_noidle) in firmware_activate_noidle_store()
33 acpi_desc->fwa_cap = NVDIMM_FWA_CAP_INVALID; in firmware_activate_noidle_store()
34 acpi_desc->fwa_noidle = val; in firmware_activate_noidle_store()
42 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in intel_fwa_supported() local
48 mask = &acpi_desc->family_dsm_mask[NVDIMM_BUS_FAMILY_INTEL]; in intel_fwa_supported()
463 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in intel_bus_fwa_state() local
465 struct device *dev = acpi_desc->dev; in intel_bus_fwa_state()
[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()
36 struct device *dev = acpi_desc->dev; in nfit_handle_mce()
39 mutex_lock(&acpi_desc->init_mutex); in nfit_handle_mce()
40 list_for_each_entry(nfit_spa, &acpi_desc->spas, list) { in nfit_handle_mce()
60 mutex_unlock(&acpi_desc->init_mutex); in nfit_handle_mce()
66 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.h218 struct acpi_nfit_desc *acpi_desc; member
309 int acpi_nfit_ars_rescan(struct acpi_nfit_desc *acpi_desc,
341 int acpi_nfit_init(struct acpi_nfit_desc *acpi_desc, void *nfit, acpi_size sz);
347 void acpi_nfit_desc_init(struct acpi_nfit_desc *acpi_desc, struct device *dev);
/linux-6.1.9/tools/testing/nvdimm/test/
Dnfit.c180 struct acpi_nfit_desc acpi_desc; member
1325 static void nfit_ctl_dbg(struct acpi_nfit_desc *acpi_desc, in nfit_ctl_dbg() argument
1329 struct nfit_test *t = container_of(acpi_desc, typeof(*t), acpi_desc); in nfit_ctl_dbg()
1352 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in nfit_test_ctl() local
1353 struct nfit_test *t = container_of(acpi_desc, typeof(*t), acpi_desc); in nfit_test_ctl()
1361 nfit_ctl_dbg(acpi_desc, nvdimm, cmd, buf, buf_len); in nfit_test_ctl()
1530 acpi_desc->nvdimm_bus, buf, buf_len); in nfit_test_ctl()
1991 struct acpi_nfit_desc *acpi_desc; in nfit_test0_setup() local
2690 acpi_desc = &t->acpi_desc; in nfit_test0_setup()
2691 set_bit(ND_CMD_GET_CONFIG_SIZE, &acpi_desc->dimm_cmd_force_en); in nfit_test0_setup()
[all …]