Lines Matching refs:nvdimm_bus
1185 struct nvdimm_bus *nvdimm_bus = to_nvdimm_bus(dev); in bus_dsm_mask_show() local
1186 struct nvdimm_bus_descriptor *nd_desc = to_nd_desc(nvdimm_bus); in bus_dsm_mask_show()
1197 struct nvdimm_bus *nvdimm_bus = to_nvdimm_bus(dev); in revision_show() local
1198 struct nvdimm_bus_descriptor *nd_desc = to_nd_desc(nvdimm_bus); in revision_show()
1208 struct nvdimm_bus *nvdimm_bus = to_nvdimm_bus(dev); in hw_error_scrub_show() local
1209 struct nvdimm_bus_descriptor *nd_desc = to_nd_desc(nvdimm_bus); in hw_error_scrub_show()
1321 static bool ars_supported(struct nvdimm_bus *nvdimm_bus) in ars_supported() argument
1323 struct nvdimm_bus_descriptor *nd_desc = to_nd_desc(nvdimm_bus); in ars_supported()
1333 struct nvdimm_bus *nvdimm_bus = to_nvdimm_bus(dev); in nfit_visible() local
1336 return ars_supported(nvdimm_bus) ? a->mode : 0; in nfit_visible()
1339 return intel_fwa_supported(nvdimm_bus) ? a->mode : 0; in nfit_visible()
2048 nvdimm = __nvdimm_create(acpi_desc->nvdimm_bus, nfit_mem, in acpi_nfit_register_dimms()
2073 rc = nvdimm_bus_check_dimm_count(acpi_desc->nvdimm_bus, dimm_count); in acpi_nfit_register_dimms()
2473 struct nvdimm_bus *nvdimm_bus = acpi_desc->nvdimm_bus; in ars_status_process_records() local
2500 rc = nvdimm_bus_add_badrange(nvdimm_bus, in ars_status_process_records()
2603 struct nvdimm_bus *nvdimm_bus; in acpi_nfit_register_region() local
2681 nvdimm_bus = acpi_desc->nvdimm_bus; in acpi_nfit_register_region()
2691 nfit_spa->nd_region = nvdimm_pmem_region_create(nvdimm_bus, in acpi_nfit_register_region()
2696 nfit_spa->nd_region = nvdimm_volatile_region_create(nvdimm_bus, in acpi_nfit_register_region()
2701 nfit_spa->nd_region = nvdimm_pmem_region_create(nvdimm_bus, in acpi_nfit_register_region()
3041 if (!ars_supported(acpi_desc->nvdimm_bus)) in acpi_nfit_desc_init_scrub_attr()
3044 bus_dev = to_nvdimm_bus_dev(acpi_desc->nvdimm_bus); in acpi_nfit_desc_init_scrub_attr()
3064 nvdimm_bus_unregister(acpi_desc->nvdimm_bus); in acpi_nfit_unregister()
3074 if (!acpi_desc->nvdimm_bus) { in acpi_nfit_init()
3077 acpi_desc->nvdimm_bus = nvdimm_bus_register(dev, in acpi_nfit_init()
3079 if (!acpi_desc->nvdimm_bus) in acpi_nfit_init()
3288 struct device *bus_dev = to_nvdimm_bus_dev(acpi_desc->nvdimm_bus); in acpi_nfit_shutdown()