Lines Matching +full:signal +full:- +full:id
4 * SPDX-License-Identifier: GPL-2.0
13 * A reset is a hardware signal indicating that a HW module (or IP block, or
14 * sometimes an entire off-CPU chip) reset all of its internal state to some
15 * known-good initial state. Drivers will often reset HW modules when they
24 * hardware it manages often has this capability. reset-uclass.h describes the
34 * struct reset_ctl - A handle to (allowing control of) a single reset signal.
40 * reset signal to operate upon.
42 * @dev: The device which implements the reset signal.
43 * @id: The reset signal ID within the provider.
45 * Currently, the reset API assumes that a single integer ID is enough to
46 * identify and configure any reset signal for any reset provider. If this
49 * information, or (b) replace the id field with an opaque pointer, which the
57 * Written by of_xlate. We assume a single id is enough for now. In the
60 unsigned long id; member
64 * struct reset_ctl_bulk - A handle to (allowing control of) a bulk of reset
73 * @resets: An array of reset signal handles handles.
74 * @count: The number of reset signal handles in the reset array.
83 * reset_get_by_index - Get/request a reset signal by integer index.
85 * This looks up and requests a reset signal. The index is relative to the
88 * mapping of client device reset signal indices to provider reset signals may
89 * be via device-tree properties, board-provided mapping tables, or some other
93 * @index: The index of the reset signal to request, within the client's
102 * reset_get_bulk - Get/request all reset signals of a device.
108 * may be via device-tree properties, board-provided mapping tables, or some
118 * reset_get_by_name - Get/request a reset signal by name.
120 * This looks up and requests a reset signal. The name is relative to the
123 * mapping of client device reset signal names to provider reset signal may be
124 * via device-tree properties, board-provided mapping tables, or some other
128 * @name: The name of the reset signal to request, within the client's
137 * reset_request - Request a reset signal.
146 * reset_free - Free a previously requested reset signal.
155 * reset_assert - Assert a reset signal.
157 * This function will assert the specified reset signal, thus resetting the
159 * signal will either stay asserted until reset_deassert() is called, or the
160 * hardware may autonomously clear the reset signal itself.
169 * reset_assert_bulk - Assert all reset signals in a reset control bulk struct.
184 * reset_deassert - Deassert a reset signal.
186 * This function will deassert the specified reset signal, thus releasing the
197 * reset_deassert_bulk - Deassert all reset signals in a reset control bulk
211 * reset_release_all - Assert/Free an array of previously requested resets.
224 * reset_release_bulk - Assert/Free an array of previously requested reset
237 return reset_release_all(bulk->resets, bulk->count); in reset_release_bulk()
243 return -ENOTSUPP; in reset_get_by_index()
249 return -ENOTSUPP; in reset_get_bulk()
255 return -ENOTSUPP; in reset_get_by_name()