Lines Matching defs:nvmem_cell
41 struct nvmem_cell {
336 static struct nvmem_cell *nvmem_create_cell(struct nvmem_cell_entry *entry,
344 struct nvmem_cell *cell = NULL;
1292 static struct nvmem_cell *nvmem_create_cell(struct nvmem_cell_entry *entry,
1295 struct nvmem_cell *cell;
1317 static struct nvmem_cell *
1321 struct nvmem_cell *cell = ERR_PTR(-ENOENT);
1408 * to a struct nvmem_cell. The nvmem_cell will be freed by the
1411 struct nvmem_cell *of_nvmem_cell_get(struct device_node *np, const char *id)
1416 struct nvmem_cell *cell;
1497 * to a struct nvmem_cell. The nvmem_cell will be freed by the
1500 struct nvmem_cell *nvmem_cell_get(struct device *dev, const char *id)
1502 struct nvmem_cell *cell;
1520 nvmem_cell_put(*(struct nvmem_cell **)res);
1530 * to a struct nvmem_cell. The nvmem_cell will be freed by the
1533 struct nvmem_cell *devm_nvmem_cell_get(struct device *dev, const char *id)
1535 struct nvmem_cell **ptr, *cell;
1555 struct nvmem_cell **c = res;
1570 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell)
1586 void nvmem_cell_put(struct nvmem_cell *cell)
1678 void *nvmem_cell_read(struct nvmem_cell *cell, size_t *len)
1801 int nvmem_cell_write(struct nvmem_cell *cell, void *buf, size_t len)
1811 struct nvmem_cell *cell;
1900 struct nvmem_cell *cell;