Lines Matching +full:nvmem +full:- +full:cells
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * nvmem framework provider.
6 * Copyright (C) 2013 Maxime Ripard <maxime.ripard@free-electrons.com>
30 * struct nvmem_config - NVMEM device configuration
36 * @cells: Optional array of pre-defined NVMEM cells.
37 * @ncells: Number of elements in cells.
38 * @type: Type of the nvmem storage
39 * @read_only: Device is read-only.
49 * Note: A default "nvmem<id>" name will be assigned to the device if
53 * Note: Specifying name and setting id to -1 implies a unique device
54 * whose name is provided as-is (kept unaltered).
61 const struct nvmem_cell_info *cells; member
79 * struct nvmem_cell_table - NVMEM cell definitions for given provider
82 * @cells: Array of cell definitions.
87 * that don't can't access the nvmem provided structure but wish to register
92 const struct nvmem_cell_info *cells; member
100 void nvmem_unregister(struct nvmem_device *nvmem);
105 int devm_nvmem_unregister(struct device *dev, struct nvmem_device *nvmem);
114 return ERR_PTR(-EOPNOTSUPP); in nvmem_register()
117 static inline void nvmem_unregister(struct nvmem_device *nvmem) {} in nvmem_unregister() argument
126 devm_nvmem_unregister(struct device *dev, struct nvmem_device *nvmem) in devm_nvmem_unregister() argument
128 return -EOPNOTSUPP; in devm_nvmem_unregister()