Lines Matching refs:dev

23 	struct device dev;
35 struct device dev;
65 dev_WARN_ONCE(&nvdimm->dev, hweight64(flags & state_flags) > 1,
72 ssize_t nvdimm_security_store(struct device *dev, const char *buf, size_t len);
75 static inline ssize_t nvdimm_security_store(struct device *dev,
85 bool is_nvdimm(const struct device *dev);
86 bool is_nd_pmem(const struct device *dev);
87 bool is_nd_volatile(const struct device *dev);
88 static inline bool is_nd_region(const struct device *dev)
90 return is_nd_pmem(dev) || is_nd_volatile(dev);
92 static inline bool is_memory(const struct device *dev)
94 return is_nd_pmem(dev) || is_nd_volatile(dev);
101 void nd_region_advance_seeds(struct nd_region *nd_region, struct device *dev);
109 void nd_device_register(struct device *dev);
110 void nd_device_register_sync(struct device *dev);
114 bool nd_is_uuid_unique(struct device *dev, uuid_t *uuid);
120 int __reserve_free_pmem(struct device *dev, void *data);
137 void nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns);
138 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns);
139 bool nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
141 bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
143 ssize_t nd_namespace_store(struct device *dev,
146 struct nd_pfn *to_nd_pfn_safe(struct device *dev);
147 bool is_nvdimm_bus(struct device *dev);
150 int devm_nsio_enable(struct device *dev, struct nd_namespace_io *nsio,
152 void devm_nsio_disable(struct device *dev, struct nd_namespace_io *nsio);
154 static inline int devm_nsio_enable(struct device *dev,
160 static inline void devm_nsio_disable(struct device *dev,