Lines Matching full:an
24 You can apply a reset to an object using ``resettable_assert_reset()``. You need
26 instantly reset an object, without keeping it in reset state, just call
30 The Resettable interface handles reset types with an enum ``ResetType``:
86 Note that, since resettable is an interface, the API takes a simple Object as
89 calls to resettable interface are done through base class functions, such an
98 Device or Bus into an Object and pass the cold reset type. When possible
116 of an object is split into three well defined phases.
139 (if an object is already in reset state when calling
155 This section documents the APIs that an implementation of a resettable object
158 for example when specializing an existing device or bus.
168 When extending an existing class, these methods may need to be extended too.
172 Here follows an example to implement reset for a Device which sets an IO while
197 /* set an IO */
209 /* clear an IO */
248 An object is under reset from the beginning of the *enter* phase (before
255 while in reset state. For example if a device has an irq input,
259 Note that until migration of the reset state is supported, an object
262 true is if an external interaction (like changing an io) is made during
283 ``get_state()`` is simple. *resettable* is an interface and, as a consequence,
291 resettable too. Additional parameters (a reset type and an opaque pointer) must
315 *exit* phase is an error.
324 2. *hot bus change*; it means an existing live device is added, moved or