Home
last modified time | relevance | path

Searched refs:nvmem_cell (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/include/linux/
Dnvmem-consumer.h18 struct nvmem_cell;
32 struct nvmem_cell *nvmem_cell_get(struct device *dev, const char *name);
33 struct nvmem_cell *devm_nvmem_cell_get(struct device *dev, const char *name);
34 void nvmem_cell_put(struct nvmem_cell *cell);
35 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell);
36 void *nvmem_cell_read(struct nvmem_cell *cell, size_t *len);
37 int nvmem_cell_write(struct nvmem_cell *cell, void *buf, size_t len);
56 static inline struct nvmem_cell *nvmem_cell_get(struct device *dev, in nvmem_cell_get()
62 static inline struct nvmem_cell *devm_nvmem_cell_get(struct device *dev, in devm_nvmem_cell_get()
69 struct nvmem_cell *cell) in devm_nvmem_cell_put()
[all …]
/linux-4.4.14/drivers/nvmem/
Dcore.c43 struct nvmem_cell { struct
194 static struct nvmem_cell *nvmem_find_cell(const char *cell_id) in nvmem_find_cell()
196 struct nvmem_cell *p; in nvmem_find_cell()
205 static void nvmem_cell_drop(struct nvmem_cell *cell) in nvmem_cell_drop()
215 struct nvmem_cell *cell; in nvmem_device_remove_all_cells()
219 cell = list_entry(p, struct nvmem_cell, node); in nvmem_device_remove_all_cells()
225 static void nvmem_cell_add(struct nvmem_cell *cell) in nvmem_cell_add()
234 struct nvmem_cell *cell) in nvmem_cell_info_to_nvmem_cell()
261 struct nvmem_cell **cells; in nvmem_add_cells()
395 struct nvmem_cell **cellp, in __nvmem_device_get()
[all …]
/linux-4.4.14/Documentation/nvmem/
Dnvmem.txt73 struct nvmem_cell *nvmem_cell_get(struct device *dev, const char *name);
74 struct nvmem_cell *devm_nvmem_cell_get(struct device *dev, const char *name);
76 void nvmem_cell_put(struct nvmem_cell *cell);
77 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell);
79 void *nvmem_cell_read(struct nvmem_cell *cell, ssize_t *len);
80 int nvmem_cell_write(struct nvmem_cell *cell, void *buf, ssize_t len);
119 void nvmem_cell_put(struct nvmem_cell *cell);
120 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell);