Searched refs:acpi_desc (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/acpi/nfit/ |
D | core.c | 88 static struct acpi_device *to_acpi_dev(struct acpi_nfit_desc *acpi_desc) in to_acpi_dev() argument 90 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in to_acpi_dev() 100 return to_acpi_device(acpi_desc->dev); in to_acpi_dev() 438 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in acpi_nfit_ctl() local 442 struct device *dev = acpi_desc->dev; in acpi_nfit_ctl() 475 struct acpi_device *adev = to_acpi_dev(acpi_desc); in acpi_nfit_ctl() 483 dsm_mask = acpi_desc->family_dsm_mask[family]; in acpi_nfit_ctl() 486 dsm_mask = acpi_desc->bus_dsm_mask; in acpi_nfit_ctl() 684 static bool add_spa(struct acpi_nfit_desc *acpi_desc, in add_spa() argument 688 struct device *dev = acpi_desc->dev; in add_spa() [all …]
|
D | intel.c | 15 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 …]
|
D | mce.c | 17 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()
|
D | nfit.h | 222 struct acpi_nfit_desc *acpi_desc; member 315 int acpi_nfit_ars_rescan(struct acpi_nfit_desc *acpi_desc, 371 int acpi_nfit_init(struct acpi_nfit_desc *acpi_desc, void *nfit, acpi_size sz); 377 void acpi_nfit_desc_init(struct acpi_nfit_desc *acpi_desc, struct device *dev);
|
/Linux-v5.10/tools/testing/nvdimm/test/ |
D | nfit.c | 183 struct acpi_nfit_desc acpi_desc; member 1328 static void nfit_ctl_dbg(struct acpi_nfit_desc *acpi_desc, in nfit_ctl_dbg() argument 1332 struct nfit_test *t = container_of(acpi_desc, typeof(*t), acpi_desc); in nfit_ctl_dbg() 1355 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in nfit_test_ctl() local 1356 struct nfit_test *t = container_of(acpi_desc, typeof(*t), acpi_desc); in nfit_test_ctl() 1364 nfit_ctl_dbg(acpi_desc, nvdimm, cmd, buf, buf_len); in nfit_test_ctl() 1533 acpi_desc->nvdimm_bus, buf, buf_len); in nfit_test_ctl() 1986 struct acpi_nfit_desc *acpi_desc; in nfit_test0_setup() local 2685 acpi_desc = &t->acpi_desc; in nfit_test0_setup() 2686 set_bit(ND_CMD_GET_CONFIG_SIZE, &acpi_desc->dimm_cmd_force_en); in nfit_test0_setup() [all …]
|