Home
last modified time | relevance | path

Searched full:resettable (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/qemu/docs/devel/
H A Dreset.rst3 Reset in QEMU: the Resettable interface
6 The reset of qemu objects is handled using the resettable interface declared
7 in ``include/hw/resettable.h``.
20 This section documents the APIs which "users" of a resettable object should use
21 to control it. All resettable control functions must be called while holding
30 The Resettable interface handles reset types with an enum ``ResetType``:
33 Cold reset is supported by every resettable object. In QEMU, it means we reset
86 Note that, since resettable is an interface, the API takes a simple Object as
87 parameter. Still, it is a programming error to call a resettable function on a
88 non-resettable object and it will trigger a run time assert error. Since most
[all …]
/openbmc/qemu/include/hw/
H A Dresettable.h2 * Resettable interface header.
18 #define TYPE_RESETTABLE_INTERFACE "resettable"
21 DECLARE_CLASS_CHECKERS(ResettableClass, RESETTABLE,
47 * Interface for resettable objects.
54 * Every Resettable object must maintain some state tracking the
76 * Users of a resettable object should not call these methods
95 * @child_foreach: Executes a given callback on every Resettable child. Child
161 * Resettable interface.
170 * Put an object @obj into reset. @obj must implement Resettable interface.
185 * Release the object @obj from reset. @obj must implement Resettable interface.
[all …]
H A Dqdev-core.h11 #include "hw/resettable.h"
289 * @reset: ResettableState for the device; handled by Resettable interface.
402 * @reset: ResettableState for the bus; handled by Resettable interface.
902 * Reset device @dev and perform a recursive processing using the resettable
911 * Reset bus @bus and perform a recursive processing using the resettable
997 * Resettable API as documented in docs/devel/reset.rst.
999 * reset methods or which need to be subclassed must use Resettable.
H A Dboards.h13 #include "hw/resettable.h"
/openbmc/qemu/include/hw/core/
H A Dresetcontainer.h14 * The "reset container" is an object which implements the Resettable
16 * implement Resettable. Resetting the reset container resets all the
22 #define TYPE_RESETTABLE_CONTAINER "resettable-container"
26 * resettable_container_add: Add a resettable object to the container
31 * Resettable interface.
/openbmc/qemu/include/system/
H A Dreset.h30 #include "hw/resettable.h"
37 * @obj: object to be reset: it must implement the Resettable interface
41 * they were added, using the three-phase Resettable protocol,
47 * resettable objects from within any of the reset phase methods of @obj.
72 * Resettable objects registered with qemu_register_resettable() are
82 * resettable objects from within the @func callback.
118 * qemu_register_reset() and resetting all the Resettable objects registered
/openbmc/qemu/hw/core/
H A Dresetcontainer.c11 * The "reset container" is an object which implements the Resettable
13 * implement Resettable. Resetting the reset container resets all the
18 #include "hw/resettable.h"
H A Dreset.c28 #include "hw/resettable.h"
32 * Return a pointer to the singleton container that holds all the Resettable
47 * This is an Object which implements Resettable simply to call the
H A Dresettable.c2 * Resettable interface.
15 #include "hw/resettable.h"
20 * Function executing a phase recursively in a resettable object and its
194 * Get the count of the Resettable object @obj. Return 0 if @obj is NULL.
H A Dmeson.build7 'resettable.c',
H A Dtrace-events7 # resettable.c
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-balloon.h19 #include "hw/resettable.h"
76 /* State of the resettable container */
H A Dvirtio-mem.h17 #include "hw/resettable.h"
/openbmc/linux/Documentation/scsi/
H A Dhpsa.rst52 /sys/class/scsi_host/host*/resettable
74 The "resettable" read-only attribute indicates whether a particular
76 device is resettable, this file will contain a "1", otherwise, a "0". This
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/
H A DDrive.interface.yaml38 - name: Resettable
44 This property shall indicate whether the Drive is resettable.
/openbmc/qemu/hw/pci-host/
H A Dfsl_imx8m_phy.c11 #include "hw/resettable.h"
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-pci-devices-cciss63 What: /sys/bus/pci/devices/<dev>/ccissX/resettable
/openbmc/qemu/target/s390x/
H A Dcpu.c35 #include "hw/resettable.h"
149 /* S390CPUClass Resettable reset_hold phase method */
/openbmc/qemu/system/
H A Drunstate.c35 #include "hw/resettable.h"
541 * non-resettable CPUs (currently used only for confidential guests), in in qemu_system_reset()
633 error_report("cpus are not resettable, terminating"); in qemu_system_reset_request()
/openbmc/qemu/hw/net/
H A Dlan9118_phy.c19 #include "hw/resettable.h"
/openbmc/qemu/hw/rtc/
H A Drs5c372.c14 #include "hw/resettable.h"
/openbmc/qemu/hw/misc/
H A Dxlnx-versal-crl.c19 #include "hw/resettable.h"
/openbmc/qemu/rust/qemu-api/src/
H A Dqdev.rs43 /// which is part of the QOM `Resettable` interface.
H A Dqom.rs333 /// For example, `DeviceClass::class_init<T>` initializes its `Resettable`
/openbmc/qemu/hw/vfio/
H A Diommufd.c731 * If a VFIO cdev device is resettable, all the dependent devices in iommufd_cdev_pci_hot_reset()

12