Lines Matching refs:cell
11 struct nvmem_cell *cell) in nvmem_cell_parse_dt() argument
13 if (fdt_reg_info(fdt, nodeoffset, &cell->offset, &cell->len)) in nvmem_cell_parse_dt()
20 const char *name, struct nvmem_cell **cell) in nvmem_get_cell_by_name() argument
29 return nvmem_get_cell_by_index(fdt, nodeoffset, index, cell); in nvmem_get_cell_by_name()
38 void *cell = NULL; in nvmem_get_cell_by_index() local
42 DT_DRIVER_NVMEM, &cell); in nvmem_get_cell_by_index()
44 *out_cell = cell; in nvmem_get_cell_by_index()
49 TEE_Result nvmem_cell_malloc_and_read(struct nvmem_cell *cell, in nvmem_cell_malloc_and_read() argument
54 if (!cell->ops->read_cell) in nvmem_cell_malloc_and_read()
57 *out_data = malloc(cell->len); in nvmem_cell_malloc_and_read()
61 res = cell->ops->read_cell(cell, *out_data); in nvmem_cell_malloc_and_read()