Lines Matching refs:nvdimm_bus

1245 	struct nvdimm_bus *nvdimm_bus = to_nvdimm_bus(dev);  in bus_dsm_mask_show()  local
1246 struct nvdimm_bus_descriptor *nd_desc = to_nd_desc(nvdimm_bus); in bus_dsm_mask_show()
1257 struct nvdimm_bus *nvdimm_bus = to_nvdimm_bus(dev); in revision_show() local
1258 struct nvdimm_bus_descriptor *nd_desc = to_nd_desc(nvdimm_bus); in revision_show()
1268 struct nvdimm_bus *nvdimm_bus = to_nvdimm_bus(dev); in hw_error_scrub_show() local
1269 struct nvdimm_bus_descriptor *nd_desc = to_nd_desc(nvdimm_bus); in hw_error_scrub_show()
1381 static bool ars_supported(struct nvdimm_bus *nvdimm_bus) in ars_supported() argument
1383 struct nvdimm_bus_descriptor *nd_desc = to_nd_desc(nvdimm_bus); in ars_supported()
1393 struct nvdimm_bus *nvdimm_bus = to_nvdimm_bus(dev); in nfit_visible() local
1396 return ars_supported(nvdimm_bus) ? a->mode : 0; in nfit_visible()
1399 return intel_fwa_supported(nvdimm_bus) ? a->mode : 0; in nfit_visible()
2119 nvdimm = __nvdimm_create(acpi_desc->nvdimm_bus, nfit_mem, in acpi_nfit_register_dimms()
2144 rc = nvdimm_bus_check_dimm_count(acpi_desc->nvdimm_bus, dimm_count); in acpi_nfit_register_dimms()
2604 static int acpi_nfit_blk_region_enable(struct nvdimm_bus *nvdimm_bus, in acpi_nfit_blk_region_enable() argument
2607 struct nvdimm_bus_descriptor *nd_desc = to_nd_desc(nvdimm_bus); in acpi_nfit_blk_region_enable()
2829 struct nvdimm_bus *nvdimm_bus = acpi_desc->nvdimm_bus; in ars_status_process_records() local
2856 rc = nvdimm_bus_add_badrange(nvdimm_bus, in ars_status_process_records()
2954 nfit_spa->nd_region = nvdimm_blk_region_create(acpi_desc->nvdimm_bus, in acpi_nfit_init_mapping()
2987 struct nvdimm_bus *nvdimm_bus; in acpi_nfit_register_region() local
3050 nvdimm_bus = acpi_desc->nvdimm_bus; in acpi_nfit_register_region()
3060 nfit_spa->nd_region = nvdimm_pmem_region_create(nvdimm_bus, in acpi_nfit_register_region()
3065 nfit_spa->nd_region = nvdimm_volatile_region_create(nvdimm_bus, in acpi_nfit_register_region()
3070 nfit_spa->nd_region = nvdimm_pmem_region_create(nvdimm_bus, in acpi_nfit_register_region()
3410 if (!ars_supported(acpi_desc->nvdimm_bus)) in acpi_nfit_desc_init_scrub_attr()
3413 bus_dev = to_nvdimm_bus_dev(acpi_desc->nvdimm_bus); in acpi_nfit_desc_init_scrub_attr()
3433 nvdimm_bus_unregister(acpi_desc->nvdimm_bus); in acpi_nfit_unregister()
3443 if (!acpi_desc->nvdimm_bus) { in acpi_nfit_init()
3446 acpi_desc->nvdimm_bus = nvdimm_bus_register(dev, in acpi_nfit_init()
3448 if (!acpi_desc->nvdimm_bus) in acpi_nfit_init()
3658 struct device *bus_dev = to_nvdimm_bus_dev(acpi_desc->nvdimm_bus); in acpi_nfit_shutdown()