Lines Matching refs:nvmem_cell

43 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()
409 struct nvmem_cell *cell = nvmem_find_cell(cell_id); in __nvmem_device_get()
590 static struct nvmem_cell *nvmem_cell_get_from_list(const char *cell_id) in nvmem_cell_get_from_list()
592 struct nvmem_cell *cell = NULL; in nvmem_cell_get_from_list()
613 struct nvmem_cell *of_nvmem_cell_get(struct device_node *np, in of_nvmem_cell_get()
617 struct nvmem_cell *cell; in of_nvmem_cell_get()
698 struct nvmem_cell *nvmem_cell_get(struct device *dev, const char *cell_id) in nvmem_cell_get()
700 struct nvmem_cell *cell; in nvmem_cell_get()
714 nvmem_cell_put(*(struct nvmem_cell **)res); in devm_nvmem_cell_release()
727 struct nvmem_cell *devm_nvmem_cell_get(struct device *dev, const char *id) in devm_nvmem_cell_get()
729 struct nvmem_cell **ptr, *cell; in devm_nvmem_cell_get()
749 struct nvmem_cell **c = res; in devm_nvmem_cell_match()
763 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell) in devm_nvmem_cell_put()
779 void nvmem_cell_put(struct nvmem_cell *cell) in nvmem_cell_put()
788 static inline void nvmem_shift_read_buffer_in_place(struct nvmem_cell *cell, in nvmem_shift_read_buffer_in_place()
817 struct nvmem_cell *cell, in __nvmem_cell_read()
845 void *nvmem_cell_read(struct nvmem_cell *cell, size_t *len) in nvmem_cell_read()
868 static inline void *nvmem_cell_prepare_write_buffer(struct nvmem_cell *cell, in nvmem_cell_prepare_write_buffer()
923 int nvmem_cell_write(struct nvmem_cell *cell, void *buf, size_t len) in nvmem_cell_write()
964 struct nvmem_cell cell; in nvmem_device_cell_read()
995 struct nvmem_cell cell; in nvmem_device_cell_write()