Lines Matching refs:nd_desc
14 struct nvdimm_bus_descriptor *nd_desc = to_nd_desc(nvdimm_bus); in firmware_activate_noidle_show() local
15 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in firmware_activate_noidle_show()
24 struct nvdimm_bus_descriptor *nd_desc = to_nd_desc(nvdimm_bus); in firmware_activate_noidle_store() local
25 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in firmware_activate_noidle_store()
41 struct nvdimm_bus_descriptor *nd_desc = to_nd_desc(nvdimm_bus); in intel_fwa_supported() local
42 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in intel_fwa_supported()
45 if (!test_bit(NVDIMM_BUS_FAMILY_INTEL, &nd_desc->bus_family_mask)) in intel_fwa_supported()
435 static int intel_bus_fwa_businfo(struct nvdimm_bus_descriptor *nd_desc, in intel_bus_fwa_businfo() argument
453 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_CALL, &nd_cmd, sizeof(nd_cmd), in intel_bus_fwa_businfo()
461 struct nvdimm_bus_descriptor *nd_desc) in intel_bus_fwa_state() argument
463 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in intel_bus_fwa_state()
486 rc = intel_bus_fwa_businfo(nd_desc, &info); in intel_bus_fwa_state()
533 struct nvdimm_bus_descriptor *nd_desc) in intel_bus_fwa_capability() argument
535 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in intel_bus_fwa_capability()
540 if (intel_bus_fwa_state(nd_desc) > NVDIMM_FWA_INVALID) in intel_bus_fwa_capability()
546 static int intel_bus_fwa_activate(struct nvdimm_bus_descriptor *nd_desc) in intel_bus_fwa_activate() argument
548 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in intel_bus_fwa_activate()
576 switch (intel_bus_fwa_state(nd_desc)) { in intel_bus_fwa_activate()
584 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_CALL, &nd_cmd, sizeof(nd_cmd), in intel_bus_fwa_activate()