Lines Matching +full:nvmem +full:- +full:cells
2 * nvmem framework provider.
5 * Copyright (C) 2013 Maxime Ripard <maxime.ripard@free-electrons.com>
26 * struct nvmem_config - NVMEM device configuration
32 * @cells: Optional array of pre-defined NVMEM cells.
33 * @ncells: Number of elements in cells.
34 * @read_only: Device is read-only.
43 * Note: A default "nvmem<id>" name will be assigned to the device if
47 * Note: Specifying name and setting id to -1 implies a unique device
48 * whose name is provided as-is (kept unaltered).
55 const struct nvmem_cell_info *cells; member
73 int nvmem_unregister(struct nvmem_device *nvmem);
78 int devm_nvmem_unregister(struct device *dev, struct nvmem_device *nvmem);
80 int nvmem_add_cells(struct nvmem_device *nvmem,
87 return ERR_PTR(-ENOSYS); in nvmem_register()
90 static inline int nvmem_unregister(struct nvmem_device *nvmem) in nvmem_unregister() argument
92 return -ENOSYS; in nvmem_unregister()
102 devm_nvmem_unregister(struct device *dev, struct nvmem_device *nvmem) in devm_nvmem_unregister() argument
104 return nvmem_unregister(nvmem); in devm_nvmem_unregister()
108 static inline int nvmem_add_cells(struct nvmem_device *nvmem, in nvmem_add_cells() argument
112 return -ENOSYS; in nvmem_add_cells()