Home
last modified time | relevance | path

Searched refs:ResetType (Results 1 – 25 of 148) sorted by relevance

123456

/openbmc/bmcweb/test/redfish-core/lib/
H A Dsystem_test.cpp52 allowed.emplace_back(resource::ResetType::ForceOff); in TEST()
53 allowed.emplace_back(resource::ResetType::PowerCycle); in TEST()
54 allowed.emplace_back(resource::ResetType::Nmi); in TEST()
55 allowed.emplace_back(resource::ResetType::On); in TEST()
56 allowed.emplace_back(resource::ResetType::ForceOn); in TEST()
57 allowed.emplace_back(resource::ResetType::ForceRestart); in TEST()
58 allowed.emplace_back(resource::ResetType::GracefulRestart); in TEST()
59 allowed.emplace_back(resource::ResetType::GracefulShutdown); in TEST()
85 allowed.emplace_back(resource::ResetType::ForceOff); in TEST()
86 allowed.emplace_back(resource::ResetType::PowerCycle); in TEST()
[all …]
/openbmc/bmcweb/redfish-core/include/generated/enums/
H A Dresource.hpp34 enum class ResetType{ enum
142 NLOHMANN_JSON_SERIALIZE_ENUM(ResetType, {
143 {ResetType::Invalid, "Invalid"},
144 {ResetType::On, "On"},
145 {ResetType::ForceOff, "ForceOff"},
146 {ResetType::GracefulShutdown, "GracefulShutdown"},
147 {ResetType::GracefulRestart, "GracefulRestart"},
148 {ResetType::ForceRestart, "ForceRestart"},
149 {ResetType::Nmi, "Nmi"},
150 {ResetType::ForceOn, "ForceOn"},
[all …]
/openbmc/qemu/include/hw/
H A Dresettable.h37 typedef enum ResetType { enum
43 } ResetType; typedef
102 typedef void (*ResettableEnterPhase)(Object *obj, ResetType type);
103 typedef void (*ResettableHoldPhase)(Object *obj, ResetType type);
104 typedef void (*ResettableExitPhase)(Object *obj, ResetType type);
107 ResetType type);
110 void *opaque, ResetType type);
166 void resettable_reset(Object *obj, ResetType type);
181 void resettable_assert_reset(Object *obj, ResetType type);
189 void resettable_release_reset(Object *obj, ResetType type);
/openbmc/qemu/hw/core/
H A Dresettable.c23 static void resettable_phase_enter(Object *obj, void *opaque, ResetType type);
24 static void resettable_phase_hold(Object *obj, void *opaque, ResetType type);
25 static void resettable_phase_exit(Object *obj, void *opaque, ResetType type);
42 void resettable_reset(Object *obj, ResetType type) in resettable_reset()
49 void resettable_assert_reset(Object *obj, ResetType type) in resettable_assert_reset()
63 void resettable_release_reset(Object *obj, ResetType type) in resettable_release_reset()
89 void *opaque, ResetType type) in resettable_child_foreach()
96 static void resettable_phase_enter(Object *obj, void *opaque, ResetType type) in resettable_phase_enter()
143 static void resettable_phase_hold(Object *obj, void *opaque, ResetType type) in resettable_phase_hold()
168 static void resettable_phase_exit(Object *obj, void *opaque, ResetType type) in resettable_phase_exit()
H A Dreset.c69 static void legacy_reset_hold(Object *obj, ResetType type) in legacy_reset_hold()
122 static void find_legacy_reset_cb(Object *obj, void *opaque, ResetType type) in find_legacy_reset_cb()
173 void qemu_devices_reset(ResetType type) in qemu_devices_reset()
H A Dresetcontainer.c48 void *opaque, ResetType type) in resettable_container_child_foreach()
/openbmc/webui-vue/src/store/modules/Operations/
H A DControlStore.js75 const data = { ResetType: 'GracefulRestart' }; property in ControlStore.actions.rebootBmc.data
90 const data = { ResetType: 'On' }; property in ControlStore.actions.serverPowerOn.data
97 const data = { ResetType: 'GracefulRestart' }; property in ControlStore.actions.serverSoftReboot.data
104 const data = { ResetType: 'ForceRestart' }; property in ControlStore.actions.serverHardReboot.data
111 const data = { ResetType: 'GracefulShutdown' }; property in ControlStore.actions.serverSoftPowerOff.data
118 const data = { ResetType: 'ForceOff' }; property in ControlStore.actions.serverHardPowerOff.data
H A DFactoryResetStore.js12 ResetType: 'ResetAll', property in AnonymousClassa39575db0101
/openbmc/qemu/scripts/coccinelle/
H A Dreset-type.cocci1 // Convert device code using three-phase reset to add a ResetType
48 +holdfn(Object *obj, ResetType type)
76 +exitfn(Object *obj, ResetType type)
108 // we need to pass through the ResetType argument to the method being called
128 + typedef void (*ResettableHoldPhase)(Object *obj, ResetType type);
133 + typedef void (*ResettableExitPhase)(Object *obj, ResetType type);
/openbmc/qemu/hw/misc/
H A Daxp2xx.c59 void (*reset_enter)(AXP2xxI2CState *s, ResetType type);
66 static void axp209_reset_enter(AXP2xxI2CState *s, ResetType type) in axp209_reset_enter()
109 static void axp221_reset_enter(AXP2xxI2CState *s, ResetType type) in axp221_reset_enter()
163 static void axp2xx_reset_enter(Object *obj, ResetType type) in axp2xx_reset_enter()
H A Dxlnx-zynqmp-crf.c184 static void crf_reset_enter(Object *obj, ResetType type) in crf_reset_enter()
194 static void crf_reset_hold(Object *obj, ResetType type) in crf_reset_hold()
H A Dxlnx-versal-xramc.c128 static void xram_ctrl_reset_enter(Object *obj, ResetType type) in xram_ctrl_reset_enter()
140 static void xram_ctrl_reset_hold(Object *obj, ResetType type) in xram_ctrl_reset_hold()
H A Dxlnx-zynqmp-apu-ctrl.c140 static void zynqmp_apu_reset_enter(Object *obj, ResetType type) in zynqmp_apu_reset_enter()
153 static void zynqmp_apu_reset_hold(Object *obj, ResetType type) in zynqmp_apu_reset_hold()
H A Dstm32l4x5_rcc.c110 static void clock_mux_reset_enter(Object *obj, ResetType type) in clock_mux_reset_enter()
116 static void clock_mux_reset_hold(Object *obj, ResetType type) in clock_mux_reset_hold()
122 static void clock_mux_reset_exit(Object *obj, ResetType type) in clock_mux_reset_exit()
260 static void pll_reset_enter(Object *obj, ResetType type) in pll_reset_enter()
266 static void pll_reset_hold(Object *obj, ResetType type) in pll_reset_hold()
272 static void pll_reset_exit(Object *obj, ResetType type) in pll_reset_exit()
922 static void stm32l4x5_rcc_reset_hold(Object *obj, ResetType type) in stm32l4x5_rcc_reset_hold()
/openbmc/docs/designs/
H A Dstate-management-and-external-interfaces.md12 have the appropriate support within OpenBMC for the [ResetType][1] within the
16 Please note that the focus of this document is on the following `ResetType`
27 and front end Redfish interface, then maps commands to the ResetType object to
31 interfaces to support more of the Redfish ResetType. Specifically this design is
44 The Redfish [ResetType][1] has the following operations associated with it:
47 "ResetType": {
180 [1]: http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/ResetType
H A Dnmi-dbus-interface.md49 This action is used to reset the system. The ResetType parameter is used for
61 operations and change the Action and ResetType properties to
62 {"Action":"ComputerSystem.Reset","ResetType":"Nmi"} to trigger NMI.
/openbmc/docs/
H A DREDFISH-cheatsheet.md70 …s://${bmc}/redfish/v1/Systems/system/Actions/ComputerSystem.Reset -d '{"ResetType": "GracefulShutd…
76 …ttps://${bmc}/redfish/v1/Systems/system/Actions/ComputerSystem.Reset -d '{"ResetType": "ForceOff"}'
82 …POST https://${bmc}/redfish/v1/Systems/system/Actions/ComputerSystem.Reset -d '{"ResetType": "On"}'
88 …s://${bmc}/redfish/v1/Systems/system/Actions/ComputerSystem.Reset -d '{"ResetType": "GracefulResta…
96 …POST https://${bmc}/redfish/v1/Managers/bmc/Actions/Manager.Reset -d '{"ResetType": "GracefulResta…
106 …tps://${bmc}/redfish/v1/Managers/bmc/Actions/Manager.ResetToDefaults -d '{"ResetType": "ResetAll"}'
/openbmc/qemu/include/sysemu/
H A Dreset.h125 void qemu_devices_reset(ResetType type);
/openbmc/qemu/hw/sensor/
H A Disl_pmbus_vr.c66 static void isl_pmbus_vr_exit_reset(Object *obj, ResetType type) in isl_pmbus_vr_exit_reset()
105 static void raa228000_exit_reset(Object *obj, ResetType type) in raa228000_exit_reset()
122 static void isl69259_exit_reset(Object *obj, ResetType type) in isl69259_exit_reset()
/openbmc/qemu/include/hw/i386/
H A Dnitro_enclave.h29 void (*parent_reset)(MachineState *machine, ResetType type);
/openbmc/qemu/hw/usb/
H A Dxlnx-versal-usb2-ctrl-regs.c146 static void usb2_ctrl_regs_reset_init(Object *obj, ResetType type) in usb2_ctrl_regs_reset_init()
156 static void usb2_ctrl_regs_reset_hold(Object *obj, ResetType type) in usb2_ctrl_regs_reset_hold()
/openbmc/qemu/hw/arm/
H A Dstellaris.c380 static void stellaris_sys_reset_enter(Object *obj, ResetType type) in stellaris_sys_reset_enter()
397 static void stellaris_sys_reset_hold(Object *obj, ResetType type) in stellaris_sys_reset_hold()
405 static void stellaris_sys_reset_exit(Object *obj, ResetType type) in stellaris_sys_reset_exit()
613 static void stellaris_i2c_reset_enter(Object *obj, ResetType type) in stellaris_i2c_reset_enter()
621 static void stellaris_i2c_reset_hold(Object *obj, ResetType type) in stellaris_i2c_reset_hold()
634 static void stellaris_i2c_reset_exit(Object *obj, ResetType type) in stellaris_i2c_reset_exit()
790 static void stellaris_adc_reset_hold(Object *obj, ResetType type) in stellaris_adc_reset_hold()
/openbmc/bmcweb/redfish-core/lib/
H A Dsystems.hpp3320 allowableValues.emplace_back(resource::ResetType::On); in dbusToRfAllowedHostTransitions()
3321 allowableValues.emplace_back(resource::ResetType::ForceOn); in dbusToRfAllowedHostTransitions()
3326 allowableValues.emplace_back(resource::ResetType::GracefulShutdown); in dbusToRfAllowedHostTransitions()
3331 allowableValues.emplace_back(resource::ResetType::GracefulRestart); in dbusToRfAllowedHostTransitions()
3336 allowableValues.emplace_back(resource::ResetType::ForceRestart); in dbusToRfAllowedHostTransitions()
3352 allowableValues.emplace_back(resource::ResetType::ForceOff); in afterGetAllowedHostTransitions()
3353 allowableValues.emplace_back(resource::ResetType::PowerCycle); in afterGetAllowedHostTransitions()
3354 allowableValues.emplace_back(resource::ResetType::Nmi); in afterGetAllowedHostTransitions()
3364 allowableValues.emplace_back(resource::ResetType::On); in afterGetAllowedHostTransitions()
3365 allowableValues.emplace_back(resource::ResetType::ForceOn); in afterGetAllowedHostTransitions()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dbmc_redfish_utils.robot44 # "Name": "ResetType",
51 ${payload}= Create Dictionary ResetType=${reset_type}
67 # "ResetType@Redfish.AllowableValues": [
87 # "Name": "ResetType",
94 ${payload}= Create Dictionary ResetType=${reset_type}
/openbmc/qemu/hw/adc/
H A Dnpcm7xx_adc.c214 static void npcm7xx_adc_enter_reset(Object *obj, ResetType type) in npcm7xx_adc_enter_reset()
221 static void npcm7xx_adc_hold_reset(Object *obj, ResetType type) in npcm7xx_adc_hold_reset()

123456