Lines Matching refs:nvdimm_bus
928 struct nvdimm_bus *nvdimm_bus = walk_to_nvdimm_bus(dev); in nd_blk_region_init() local
938 return to_nd_blk_region(dev)->enable(nvdimm_bus, dev); in nd_blk_region_init()
1029 static struct nd_region *nd_region_create(struct nvdimm_bus *nvdimm_bus, in nd_region_create() argument
1044 dev_err(&nvdimm_bus->dev, in nd_region_create()
1055 dev_err(&nvdimm_bus->dev, "%s: %s mapping%d is not BLK capable\n", in nd_region_create()
1127 dev->parent = &nvdimm_bus->dev; in nd_region_create()
1150 struct nd_region *nvdimm_pmem_region_create(struct nvdimm_bus *nvdimm_bus, in nvdimm_pmem_region_create() argument
1154 return nd_region_create(nvdimm_bus, ndr_desc, &nd_pmem_device_type, in nvdimm_pmem_region_create()
1159 struct nd_region *nvdimm_blk_region_create(struct nvdimm_bus *nvdimm_bus, in nvdimm_blk_region_create() argument
1165 return nd_region_create(nvdimm_bus, ndr_desc, &nd_blk_device_type, in nvdimm_blk_region_create()
1170 struct nd_region *nvdimm_volatile_region_create(struct nvdimm_bus *nvdimm_bus, in nvdimm_volatile_region_create() argument
1174 return nd_region_create(nvdimm_bus, ndr_desc, &nd_volatile_device_type, in nvdimm_volatile_region_create()
1307 struct nvdimm_bus *nvdimm_bus = walk_to_nvdimm_bus(&nd_region->dev); in nd_region_conflict() local
1314 return device_for_each_child(&nvdimm_bus->dev, &ctx, region_conflict); in nd_region_conflict()