Lines Matching +full:write +full:- +full:protect
1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Copyright (C) 2013 Maxime Ripard <maxime.ripard@free-electrons.com>
34 #define NVMEM_DEVID_NONE (-1)
35 #define NVMEM_DEVID_AUTO (-2)
38 * struct nvmem_keepout - NVMEM register keepout range.
51 * struct nvmem_config - NVMEM device configuration
57 * @cells: Optional array of pre-defined NVMEM cells.
62 * @read_only: Device is read-only.
67 * @reg_write: Callback to write data.
70 * @word_size: Minimum read/write access granularity.
71 * @stride: Minimum read/write access stride.
72 * @priv: User context passed to read/write callbacks.
73 * @wp-gpio: Write protect pin
74 * @ignore_wp: Write Protect pin is managed by the provider.
80 * Note: Specifying name and setting id to -1 implies a unique device
81 * whose name is provided as-is (kept unaltered).
112 * struct nvmem_cell_table - NVMEM cell definitions for given provider
145 return ERR_PTR(-EOPNOTSUPP); in nvmem_register()