Home
last modified time | relevance | path

Searched refs:nd_desc (Results 1 – 12 of 12) sorted by relevance

/drivers/nvdimm/
A Dcore.c285 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in commands_show() local
296 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in nvdimm_bus_provider() local
335 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in wait_probe_show() local
339 rc = nd_desc->flush_probe(nd_desc); in wait_probe_show()
370 cap = nd_desc->fw_ops->capability(nd_desc); in capability_show()
395 cap = nd_desc->fw_ops->capability(nd_desc); in activate_show()
396 state = nd_desc->fw_ops->activate_state(nd_desc); in activate_show()
419 return nd_desc->fw_ops->activate(nd_desc); in exec_firmware_activate()
441 state = nd_desc->fw_ops->activate_state(nd_desc); in activate_store()
452 rc = nd_desc->fw_ops->activate(nd_desc); in activate_store()
[all …]
A Dbus.c231 nd_desc = nvdimm_bus->nd_desc; in nvdimm_clear_poison()
236 if (!nd_desc->ndctl) in nvdimm_clear_poison()
243 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_CAP, &ars_cap, in nvdimm_clear_poison()
261 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_CLEAR_ERROR, &clear_err, in nvdimm_clear_poison()
355 nvdimm_bus->nd_desc = nd_desc; in nvdimm_bus_register()
1001 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in nd_cmd_clear_to_send() local
1004 if (nd_desc->clear_to_send) { in nd_cmd_clear_to_send()
1005 int rc = nd_desc->clear_to_send(nd_desc, nvdimm, cmd, data); in nd_cmd_clear_to_send()
1029 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in __nd_ioctl() local
1052 cmd_mask = nd_desc->cmd_mask; in __nd_ioctl()
[all …]
A Ddimm_devs.c64 struct nvdimm_bus_descriptor *nd_desc; in nvdimm_init_nsarea() local
75 nd_desc = nvdimm_bus->nd_desc; in nvdimm_init_nsarea()
76 rc = nd_desc->ndctl(nd_desc, to_nvdimm(ndd->dev), in nvdimm_init_nsarea()
87 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in nvdimm_get_config_data() local
112 rc = nd_desc->ndctl(nd_desc, to_nvdimm(ndd->dev), in nvdimm_get_config_data()
136 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in nvdimm_set_config_data() local
160 rc = nd_desc->ndctl(nd_desc, to_nvdimm(ndd->dev), in nvdimm_set_config_data()
539 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in nvdimm_firmware_visible() local
543 if (!nd_desc->fw_ops) in nvdimm_firmware_visible()
549 cap = nd_desc->fw_ops->capability(nd_desc); in nvdimm_firmware_visible()
A De820.c37 static struct nvdimm_bus_descriptor nd_desc; in e820_pmem_probe() local
42 nd_desc.provider_name = "e820"; in e820_pmem_probe()
43 nd_desc.module = THIS_MODULE; in e820_pmem_probe()
44 nvdimm_bus = nvdimm_bus_register(dev, &nd_desc); in e820_pmem_probe()
A Dvirtio_pmem.c88 vpmem->nd_desc.provider_name = "virtio-pmem"; in virtio_pmem_probe()
89 vpmem->nd_desc.module = THIS_MODULE; in virtio_pmem_probe()
92 &vpmem->nd_desc); in virtio_pmem_probe()
A Dvirtio_pmem.h40 struct nvdimm_bus_descriptor nd_desc; member
A Dnd-core.h20 struct nvdimm_bus_descriptor *nd_desc; member
/drivers/acpi/nfit/
A Dintel.c15 struct nvdimm_bus_descriptor *nd_desc = to_nd_desc(nvdimm_bus); in firmware_activate_noidle_show() local
16 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in firmware_activate_noidle_show()
26 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in firmware_activate_noidle_store()
43 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in intel_fwa_supported()
416 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_CALL, &nd_cmd, sizeof(nd_cmd), in intel_bus_fwa_businfo()
424 struct nvdimm_bus_descriptor *nd_desc) in intel_bus_fwa_state() argument
449 rc = intel_bus_fwa_businfo(nd_desc, &info); in intel_bus_fwa_state()
496 struct nvdimm_bus_descriptor *nd_desc) in intel_bus_fwa_capability() argument
503 if (intel_bus_fwa_state(nd_desc) > NVDIMM_FWA_INVALID) in intel_bus_fwa_capability()
537 switch (intel_bus_fwa_state(nd_desc)) { in intel_bus_fwa_activate()
[all …]
A Dcore.c91 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in to_acpi_dev() local
1240 if (nd_desc) { in hw_error_scrub_store()
1314 if (nd_desc) { in scrub_store()
1780 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in acpi_nfit_add_dimm() local
1974 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in acpi_nfit_get_fw_ops() local
2119 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in acpi_nfit_init_dsms() local
2348 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in ars_get_cap() local
2354 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_CAP, cmd, in ars_get_cap()
2368 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in ars_start() local
2397 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in ars_continue() local
[all …]
A Dnfit.h238 struct nvdimm_bus_descriptor nd_desc; member
335 struct nvdimm_bus_descriptor *nd_desc) in to_acpi_desc() argument
337 return container_of(nd_desc, struct acpi_nfit_desc, nd_desc); in to_acpi_desc()
345 int acpi_nfit_ctl(struct nvdimm_bus_descriptor *nd_desc, struct nvdimm *nvdimm,
/drivers/cxl/
A Dpmem.c286 static int cxl_pmem_ctl(struct nvdimm_bus_descriptor *nd_desc, in cxl_pmem_ctl() argument
336 cxl_nvb->nd_desc = (struct nvdimm_bus_descriptor) { in cxl_nvdimm_bridge_probe()
343 nvdimm_bus_register(&cxl_nvb->dev, &cxl_nvb->nd_desc); in cxl_nvdimm_bridge_probe()
A Dcxl.h541 struct nvdimm_bus_descriptor nd_desc; member

Completed in 42 milliseconds