Lines Matching refs:nvmem_device
20 struct nvmem_device;
70 struct nvmem_device *nvmem_device_get(struct device *dev, const char *name);
71 struct nvmem_device *devm_nvmem_device_get(struct device *dev,
73 void nvmem_device_put(struct nvmem_device *nvmem);
74 void devm_nvmem_device_put(struct device *dev, struct nvmem_device *nvmem);
75 int nvmem_device_read(struct nvmem_device *nvmem, unsigned int offset,
77 int nvmem_device_write(struct nvmem_device *nvmem, unsigned int offset,
79 ssize_t nvmem_device_cell_read(struct nvmem_device *nvmem,
81 int nvmem_device_cell_write(struct nvmem_device *nvmem,
84 const char *nvmem_dev_name(struct nvmem_device *nvmem);
94 struct nvmem_device *nvmem_device_find(void *data,
149 static inline struct nvmem_device *nvmem_device_get(struct device *dev, in nvmem_device_get()
155 static inline struct nvmem_device *devm_nvmem_device_get(struct device *dev, in devm_nvmem_device_get()
161 static inline void nvmem_device_put(struct nvmem_device *nvmem) in nvmem_device_put()
166 struct nvmem_device *nvmem) in devm_nvmem_device_put()
170 static inline ssize_t nvmem_device_cell_read(struct nvmem_device *nvmem, in nvmem_device_cell_read()
177 static inline int nvmem_device_cell_write(struct nvmem_device *nvmem, in nvmem_device_cell_write()
184 static inline int nvmem_device_read(struct nvmem_device *nvmem, in nvmem_device_read()
191 static inline int nvmem_device_write(struct nvmem_device *nvmem, in nvmem_device_write()
198 static inline const char *nvmem_dev_name(struct nvmem_device *nvmem) in nvmem_dev_name()
218 static inline struct nvmem_device *nvmem_device_find(void *data, in nvmem_device_find()
229 struct nvmem_device *of_nvmem_device_get(struct device_node *np,
238 static inline struct nvmem_device *of_nvmem_device_get(struct device_node *np, in of_nvmem_device_get()