Lines Matching refs:nvmem_device
20 struct nvmem_device;
69 struct nvmem_device *nvmem_device_get(struct device *dev, const char *name);
70 struct nvmem_device *devm_nvmem_device_get(struct device *dev,
72 void nvmem_device_put(struct nvmem_device *nvmem);
73 void devm_nvmem_device_put(struct device *dev, struct nvmem_device *nvmem);
74 int nvmem_device_read(struct nvmem_device *nvmem, unsigned int offset,
76 int nvmem_device_write(struct nvmem_device *nvmem, unsigned int offset,
78 ssize_t nvmem_device_cell_read(struct nvmem_device *nvmem,
80 int nvmem_device_cell_write(struct nvmem_device *nvmem,
83 const char *nvmem_dev_name(struct nvmem_device *nvmem);
84 size_t nvmem_dev_size(struct nvmem_device *nvmem);
94 struct nvmem_device *nvmem_device_find(void *data,
169 static inline struct nvmem_device *nvmem_device_get(struct device *dev, in nvmem_device_get()
175 static inline struct nvmem_device *devm_nvmem_device_get(struct device *dev, in devm_nvmem_device_get()
181 static inline void nvmem_device_put(struct nvmem_device *nvmem) in nvmem_device_put()
186 struct nvmem_device *nvmem) in devm_nvmem_device_put()
190 static inline ssize_t nvmem_device_cell_read(struct nvmem_device *nvmem, in nvmem_device_cell_read()
197 static inline int nvmem_device_cell_write(struct nvmem_device *nvmem, in nvmem_device_cell_write()
204 static inline int nvmem_device_read(struct nvmem_device *nvmem, in nvmem_device_read()
211 static inline int nvmem_device_write(struct nvmem_device *nvmem, in nvmem_device_write()
218 static inline const char *nvmem_dev_name(struct nvmem_device *nvmem) in nvmem_dev_name()
238 static inline struct nvmem_device *nvmem_device_find(void *data, in nvmem_device_find()
249 struct nvmem_device *of_nvmem_device_get(struct device_node *np,
258 static inline struct nvmem_device *of_nvmem_device_get(struct device_node *np, in of_nvmem_device_get()