Lines Matching refs:nvmem_cell
22 struct nvmem_cell { struct
106 static void nvmem_cell_drop(struct nvmem_cell *cell) in nvmem_cell_drop()
119 struct nvmem_cell *cell, *p; in nvmem_device_remove_all_cells()
125 static void nvmem_cell_add(struct nvmem_cell *cell) in nvmem_cell_add()
135 struct nvmem_cell *cell) in nvmem_cell_info_to_nvmem_cell()
172 struct nvmem_cell **cells; in nvmem_add_cells()
238 struct nvmem_cell *cell; in nvmem_add_cells_from_table()
271 static struct nvmem_cell *
274 struct nvmem_cell *iter, *cell = NULL; in nvmem_find_cell_by_name()
292 struct nvmem_cell *cell; in nvmem_add_cells_from_of()
694 static struct nvmem_cell *
697 struct nvmem_cell *cell = ERR_PTR(-ENOENT); in nvmem_cell_get_from_lookup()
735 static struct nvmem_cell *
738 struct nvmem_cell *iter, *cell = NULL; in nvmem_find_cell_by_node()
764 struct nvmem_cell *of_nvmem_cell_get(struct device_node *np, const char *id) in of_nvmem_cell_get()
768 struct nvmem_cell *cell; in of_nvmem_cell_get()
811 struct nvmem_cell *nvmem_cell_get(struct device *dev, const char *id) in nvmem_cell_get()
813 struct nvmem_cell *cell; in nvmem_cell_get()
831 nvmem_cell_put(*(struct nvmem_cell **)res); in devm_nvmem_cell_release()
844 struct nvmem_cell *devm_nvmem_cell_get(struct device *dev, const char *id) in devm_nvmem_cell_get()
846 struct nvmem_cell **ptr, *cell; in devm_nvmem_cell_get()
866 struct nvmem_cell **c = res; in devm_nvmem_cell_match()
881 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell) in devm_nvmem_cell_put()
897 void nvmem_cell_put(struct nvmem_cell *cell) in nvmem_cell_put()
905 static void nvmem_shift_read_buffer_in_place(struct nvmem_cell *cell, void *buf) in nvmem_shift_read_buffer_in_place()
938 struct nvmem_cell *cell, in __nvmem_cell_read()
968 void *nvmem_cell_read(struct nvmem_cell *cell, size_t *len) in nvmem_cell_read()
991 static void *nvmem_cell_prepare_write_buffer(struct nvmem_cell *cell, in nvmem_cell_prepare_write_buffer()
1053 int nvmem_cell_write(struct nvmem_cell *cell, void *buf, size_t len) in nvmem_cell_write()
1092 struct nvmem_cell *cell; in nvmem_cell_read_u16()
1129 struct nvmem_cell *cell; in nvmem_cell_read_u32()
1168 struct nvmem_cell cell; in nvmem_device_cell_read()
1199 struct nvmem_cell cell; in nvmem_device_cell_write()