Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/nvdimm/
A Dcore.c286 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in commands_show() local
297 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in nvdimm_bus_provider() local
336 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in wait_probe_show() local
340 rc = nd_desc->flush_probe(nd_desc); in wait_probe_show()
371 cap = nd_desc->fw_ops->capability(nd_desc); in capability_show()
396 cap = nd_desc->fw_ops->capability(nd_desc); in activate_show()
397 state = nd_desc->fw_ops->activate_state(nd_desc); in activate_show()
420 return nd_desc->fw_ops->activate(nd_desc); in exec_firmware_activate()
442 state = nd_desc->fw_ops->activate_state(nd_desc); in activate_store()
453 rc = nd_desc->fw_ops->activate(nd_desc); in activate_store()
[all …]
A De820.c38 static struct nvdimm_bus_descriptor nd_desc; in e820_pmem_probe() local
43 nd_desc.provider_name = "e820"; in e820_pmem_probe()
44 nd_desc.module = THIS_MODULE; in e820_pmem_probe()
45 nvdimm_bus = nvdimm_bus_register(dev, &nd_desc); in e820_pmem_probe()
A Dbus.c228 nd_desc = nvdimm_bus->nd_desc; in nvdimm_clear_poison()
233 if (!nd_desc->ndctl) in nvdimm_clear_poison()
240 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_CAP, &ars_cap, in nvdimm_clear_poison()
258 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_CLEAR_ERROR, &clear_err, in nvdimm_clear_poison()
352 nvdimm_bus->nd_desc = nd_desc; in nvdimm_bus_register()
998 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in nd_cmd_clear_to_send() local
1001 if (nd_desc->clear_to_send) { in nd_cmd_clear_to_send()
1002 int rc = nd_desc->clear_to_send(nd_desc, nvdimm, cmd, data); in nd_cmd_clear_to_send()
1026 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in __nd_ioctl() local
1049 cmd_mask = nd_desc->cmd_mask; in __nd_ioctl()
[all …]
A Ddimm_devs.c62 struct nvdimm_bus_descriptor *nd_desc; in nvdimm_init_nsarea() local
73 nd_desc = nvdimm_bus->nd_desc; in nvdimm_init_nsarea()
74 rc = nd_desc->ndctl(nd_desc, to_nvdimm(ndd->dev), in nvdimm_init_nsarea()
85 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in nvdimm_get_config_data() local
110 rc = nd_desc->ndctl(nd_desc, to_nvdimm(ndd->dev), in nvdimm_get_config_data()
134 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in nvdimm_set_config_data() local
158 rc = nd_desc->ndctl(nd_desc, to_nvdimm(ndd->dev), in nvdimm_set_config_data()
537 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in nvdimm_firmware_visible() local
541 if (!nd_desc->fw_ops) in nvdimm_firmware_visible()
547 cap = nd_desc->fw_ops->capability(nd_desc); in nvdimm_firmware_visible()
A Dvirtio_pmem.c67 vpmem->nd_desc.provider_name = "virtio-pmem"; in virtio_pmem_probe()
68 vpmem->nd_desc.module = THIS_MODULE; in virtio_pmem_probe()
71 &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
/linux-6.3-rc2/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()
425 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_CALL, &nd_cmd, sizeof(nd_cmd), in intel_bus_fwa_businfo()
433 struct nvdimm_bus_descriptor *nd_desc) in intel_bus_fwa_state() argument
458 rc = intel_bus_fwa_businfo(nd_desc, &info); in intel_bus_fwa_state()
505 struct nvdimm_bus_descriptor *nd_desc) in intel_bus_fwa_capability() argument
512 if (intel_bus_fwa_state(nd_desc) > NVDIMM_FWA_INVALID) in intel_bus_fwa_capability()
548 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
1235 if (nd_desc) { in hw_error_scrub_store()
1272 if (!nd_desc) { in scrub_show()
1309 if (nd_desc) { in scrub_store()
1776 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in acpi_nfit_add_dimm() local
1970 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in acpi_nfit_get_fw_ops() local
2115 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in acpi_nfit_init_dsms() local
2349 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in ars_get_cap() local
2355 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_ARS_CAP, cmd, in ars_get_cap()
2369 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in ars_start() 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,
/linux-6.3-rc2/include/linux/
A Dlibnvdimm.h79 typedef int (*ndctl_fn)(struct nvdimm_bus_descriptor *nd_desc,
93 int (*flush_probe)(struct nvdimm_bus_descriptor *nd_desc);
94 int (*clear_to_send)(struct nvdimm_bus_descriptor *nd_desc,
229 (struct nvdimm_bus_descriptor *nd_desc);
231 (struct nvdimm_bus_descriptor *nd_desc);
232 int (*activate)(struct nvdimm_bus_descriptor *nd_desc);
307 struct nvdimm_bus_descriptor *nd_desc = to_nd_desc(nvdimm_bus); in nvdimm_ctl() local
309 return nd_desc->ndctl(nd_desc, nvdimm, cmd, buf, buf_len, cmd_rc); in nvdimm_ctl()
/linux-6.3-rc2/tools/testing/cxl/test/
A Dmock.c121 struct nvdimm_bus_descriptor *nd_desc) in __wrap_nvdimm_bus_register() argument
127 nd_desc->provider_name = "cxl_test"; in __wrap_nvdimm_bus_register()
130 return nvdimm_bus_register(dev, nd_desc); in __wrap_nvdimm_bus_register()
/linux-6.3-rc2/drivers/cxl/
A Dpmem.c214 static int cxl_pmem_ctl(struct nvdimm_bus_descriptor *nd_desc, in cxl_pmem_ctl() argument
266 cxl_nvb->nd_desc = (struct nvdimm_bus_descriptor) { in cxl_nvdimm_bridge_probe()
273 nvdimm_bus_register(&cxl_nvb->dev, &cxl_nvb->nd_desc); in cxl_nvdimm_bridge_probe()
A Dcxl.h505 struct nvdimm_bus_descriptor nd_desc; member
/linux-6.3-rc2/tools/testing/nvdimm/test/
A Dnfit.c1348 static int nfit_test_ctl(struct nvdimm_bus_descriptor *nd_desc, in nfit_test_ctl() argument
1352 struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc); in nfit_test_ctl()
1518 if (!nd_desc) in nfit_test_ctl()
1568 if (!nd_desc || !test_bit(cmd, &nd_desc->cmd_mask)) in nfit_test_ctl()
2906 .nd_desc = { in nfit_ctl_test()
3112 rc = acpi_nfit_ctl(&acpi_desc->nd_desc, NULL, ND_CMD_CALL, in nfit_ctl_test()
3125 struct nvdimm_bus_descriptor *nd_desc; in nfit_test_probe() local
3198 nd_desc = &acpi_desc->nd_desc; in nfit_test_probe()
3199 nd_desc->provider_name = NULL; in nfit_test_probe()
3200 nd_desc->module = THIS_MODULE; in nfit_test_probe()
[all …]
A Dndtest.c238 static int ndtest_ctl(struct nvdimm_bus_descriptor *nd_desc, in ndtest_ctl() argument
/linux-6.3-rc2/arch/powerpc/platforms/pseries/
A Dpapr_scm.c1042 static int papr_scm_ndctl(struct nvdimm_bus_descriptor *nd_desc, in papr_scm_ndctl() argument

Completed in 47 milliseconds