Lines Matching refs:nvdimm_bus
142 struct nvdimm_bus;
147 int (*enable)(struct nvdimm_bus *nvdimm_bus, struct device *dev);
251 int nvdimm_bus_add_badrange(struct nvdimm_bus *nvdimm_bus, u64 addr,
253 struct nvdimm_bus *nvdimm_bus_register(struct device *parent,
255 void nvdimm_bus_unregister(struct nvdimm_bus *nvdimm_bus);
256 struct nvdimm_bus *to_nvdimm_bus(struct device *dev);
257 struct nvdimm_bus *nvdimm_to_bus(struct nvdimm *nvdimm);
262 struct nvdimm_bus_descriptor *to_nd_desc(struct nvdimm_bus *nvdimm_bus);
263 struct device *to_nvdimm_bus_dev(struct nvdimm_bus *nvdimm_bus);
268 struct nvdimm *__nvdimm_create(struct nvdimm_bus *nvdimm_bus,
274 static inline struct nvdimm *nvdimm_create(struct nvdimm_bus *nvdimm_bus, in nvdimm_create() argument
279 return __nvdimm_create(nvdimm_bus, provider_data, groups, flags, in nvdimm_create()
290 int nvdimm_bus_check_dimm_count(struct nvdimm_bus *nvdimm_bus, int dimm_count);
291 struct nd_region *nvdimm_pmem_region_create(struct nvdimm_bus *nvdimm_bus,
293 struct nd_region *nvdimm_blk_region_create(struct nvdimm_bus *nvdimm_bus,
295 struct nd_region *nvdimm_volatile_region_create(struct nvdimm_bus *nvdimm_bus,
315 struct nvdimm_bus *nvdimm_bus = nvdimm_to_bus(nvdimm); in nvdimm_ctl() local
316 struct nvdimm_bus_descriptor *nd_desc = to_nd_desc(nvdimm_bus); in nvdimm_ctl()