Lines Matching refs:device
42 struct device *dev;
99 struct device dev;
104 struct device *ns_seed;
105 struct device *btt_seed;
106 struct device *pfn_seed;
118 int (*enable)(struct nvdimm_bus *nvdimm_bus, struct device *dev);
119 void (*disable)(struct nvdimm_bus *nvdimm_bus, struct device *dev);
138 struct device dev;
155 struct device dev;
168 void wait_nvdimm_bus_probe_idle(struct device *dev);
169 void nd_device_register(struct device *dev);
170 void nd_device_unregister(struct device *dev, enum nd_async_mode mode);
171 int nd_uuid_store(struct device *dev, u8 **uuid_out, const char *buf,
175 ssize_t nd_sector_size_store(struct device *dev, const char *buf,
187 struct nd_btt *to_nd_btt(struct device *dev);
197 bool is_nd_btt(struct device *dev);
198 struct device *nd_btt_create(struct nd_region *nd_region);
205 static inline bool is_nd_btt(struct device *dev) in is_nd_btt()
210 static inline struct device *nd_btt_create(struct nd_region *nd_region) in nd_btt_create()
216 struct nd_pfn *to_nd_pfn(struct device *dev);
219 bool is_nd_pfn(struct device *dev);
220 struct device *nd_pfn_create(struct nd_region *nd_region);
228 static inline bool is_nd_pfn(struct device *dev) in is_nd_pfn()
233 static inline struct device *nd_pfn_create(struct nd_region *nd_region) in nd_pfn_create()
244 struct nd_region *to_nd_region(struct device *dev);
248 void nvdimm_bus_lock(struct device *dev);
249 void nvdimm_bus_unlock(struct device *dev);
250 bool is_nvdimm_bus_locked(struct device *dev);
260 struct nd_namespace_common *nvdimm_namespace_common_probe(struct device *dev);
279 const u8 *nd_dev_to_uuid(struct device *dev);
280 bool pmem_should_map_pages(struct device *dev);