Lines Matching refs:nvmem_cell
47 struct nvmem_cell { struct
337 static void nvmem_cell_drop(struct nvmem_cell *cell) in nvmem_cell_drop()
350 struct nvmem_cell *cell, *p; in nvmem_device_remove_all_cells()
356 static void nvmem_cell_add(struct nvmem_cell *cell) in nvmem_cell_add()
366 struct nvmem_cell *cell) in nvmem_cell_info_to_nvmem_cell_nodup()
392 struct nvmem_cell *cell) in nvmem_cell_info_to_nvmem_cell()
420 struct nvmem_cell **cells; in nvmem_add_cells()
486 struct nvmem_cell *cell; in nvmem_add_cells_from_table()
519 static struct nvmem_cell *
522 struct nvmem_cell *iter, *cell = NULL; in nvmem_find_cell_by_name()
540 struct nvmem_cell *cell; in nvmem_add_cells_from_of()
985 static struct nvmem_cell *
988 struct nvmem_cell *cell = ERR_PTR(-ENOENT); in nvmem_cell_get_from_lookup()
1027 static struct nvmem_cell *
1030 struct nvmem_cell *iter, *cell = NULL; in nvmem_find_cell_by_node()
1056 struct nvmem_cell *of_nvmem_cell_get(struct device_node *np, const char *id) in of_nvmem_cell_get()
1060 struct nvmem_cell *cell; in of_nvmem_cell_get()
1103 struct nvmem_cell *nvmem_cell_get(struct device *dev, const char *id) in nvmem_cell_get()
1105 struct nvmem_cell *cell; in nvmem_cell_get()
1123 nvmem_cell_put(*(struct nvmem_cell **)res); in devm_nvmem_cell_release()
1136 struct nvmem_cell *devm_nvmem_cell_get(struct device *dev, const char *id) in devm_nvmem_cell_get()
1138 struct nvmem_cell **ptr, *cell; in devm_nvmem_cell_get()
1158 struct nvmem_cell **c = res; in devm_nvmem_cell_match()
1173 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell) in devm_nvmem_cell_put()
1189 void nvmem_cell_put(struct nvmem_cell *cell) in nvmem_cell_put()
1197 static void nvmem_shift_read_buffer_in_place(struct nvmem_cell *cell, void *buf) in nvmem_shift_read_buffer_in_place()
1230 struct nvmem_cell *cell, in __nvmem_cell_read()
1260 void *nvmem_cell_read(struct nvmem_cell *cell, size_t *len) in nvmem_cell_read()
1283 static void *nvmem_cell_prepare_write_buffer(struct nvmem_cell *cell, in nvmem_cell_prepare_write_buffer()
1345 int nvmem_cell_write(struct nvmem_cell *cell, void *buf, size_t len) in nvmem_cell_write()
1376 struct nvmem_cell *cell; in nvmem_cell_read_common()
1474 struct nvmem_cell cell; in nvmem_device_cell_read()
1505 struct nvmem_cell cell; in nvmem_device_cell_write()