Home
last modified time | relevance | path

Searched full:state (Results 1 – 25 of 3566) sorted by relevance

12345678910>>...143

/openbmc/u-boot/lib/zlib/
H A Dinflate.c5 local void fixedtables OF((struct inflate_state FAR *state));
10 struct inflate_state FAR *state; in inflateReset() local
12 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateReset()
13 state = (struct inflate_state FAR *)strm->state; in inflateReset()
14 strm->total_in = strm->total_out = state->total = 0; in inflateReset()
17 state->mode = HEAD; in inflateReset()
18 state->last = 0; in inflateReset()
19 state->havedict = 0; in inflateReset()
20 state->dmax = 32768U; in inflateReset()
21 state->head = Z_NULL; in inflateReset()
[all …]
/openbmc/u-boot/arch/sandbox/cpu/
H A Dstate.c10 #include <asm/state.h>
12 /* Main state record for the sandbox */
14 static struct sandbox_state *state; /* Pointer to current state record */ variable
18 void *blob = state->state_fdt; in state_ensure_space()
41 state->state_fdt = buf; in state_ensure_space()
45 static int state_read_file(struct sandbox_state *state, const char *fname) in state_read_file() argument
53 printf("Cannot find sandbox state file '%s'\n", fname); in state_read_file()
56 state->state_fdt = os_malloc(size); in state_read_file()
57 if (!state->state_fdt) { in state_read_file()
58 puts("No memory to read sandbox state\n"); in state_read_file()
[all …]
H A Dstart.c14 #include <asm/state.h>
20 struct sandbox_state *state = state_get_current(); in sandbox_early_getopt_check() local
27 if (!state->parse_err) in sandbox_early_getopt_check()
30 if (strcmp(state->parse_err, "help")) { in sandbox_early_getopt_check()
33 state->parse_err); in sandbox_early_getopt_check()
74 static int sandbox_cmdline_cb_help(struct sandbox_state *state, const char *arg) in sandbox_cmdline_cb_help() argument
84 struct sandbox_state *state = state_get_current(); in sandbox_main_loop_init() local
87 if (state->cmd || state->run_distro_boot) { in sandbox_main_loop_init()
93 if (state->cmd) in sandbox_main_loop_init()
94 retval = run_command_list(state->cmd, -1, 0); in sandbox_main_loop_init()
[all …]
/openbmc/u-boot/common/
H A Dbouncebuf.c13 static int addr_aligned(struct bounce_buffer *state) in addr_aligned() argument
18 if ((ulong)state->user_buffer & align_mask) { in addr_aligned()
19 debug("Unaligned buffer address %p\n", state->user_buffer); in addr_aligned()
24 if (state->len != state->len_aligned) { in addr_aligned()
25 debug("Unaligned buffer length %zu\n", state->len); in addr_aligned()
33 int bounce_buffer_start(struct bounce_buffer *state, void *data, in bounce_buffer_start() argument
36 state->user_buffer = data; in bounce_buffer_start()
37 state->bounce_buffer = data; in bounce_buffer_start()
38 state->len = len; in bounce_buffer_start()
39 state->len_aligned = roundup(len, ARCH_DMA_MINALIGN); in bounce_buffer_start()
[all …]
/openbmc/webui-vue/src/store/modules/
H A DGlobalStore.js4 on: 'xyz.openbmc_project.State.Host.HostState.Running',
5 off: 'xyz.openbmc_project.State.Host.HostState.Off',
6 error: 'xyz.openbmc_project.State.Host.HostState.Quiesced',
7 diagnosticMode: 'xyz.openbmc_project.State.Host.HostState.DiagnosticMode',
37 state: { class in GlobalStore
52 assetTag: (state) => state.assetTag,
53 modelType: (state) => state.modelType,
54 serialNumber: (state) => state.serialNumber,
55 serverStatus: (state) => state.serverStatus,
56 bmcTime: (state) => state.bmcTime,
[all …]
/openbmc/qemu/hw/misc/
H A Di2c-echo.c32 enum i2c_echo_state state; member
41 I2CEchoState *state = opaque; in i2c_echo_bh() local
43 switch (state->state) { in i2c_echo_bh()
48 if (i2c_start_send_async(state->bus, state->data[0])) { in i2c_echo_bh()
52 state->pos++; in i2c_echo_bh()
53 state->state = I2C_ECHO_STATE_ACK; in i2c_echo_bh()
57 if (state->pos > 2) { in i2c_echo_bh()
61 if (i2c_send_async(state->bus, state->data[state->pos++])) { in i2c_echo_bh()
69 i2c_end_transfer(state->bus); in i2c_echo_bh()
71 i2c_bus_release(state->bus); in i2c_echo_bh()
[all …]
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/plat-svc/files/bletchley/
H A Dbletchley-host-state-monitor.service2 Description=Bletchley host state monitoring
3 Wants=xyz.openbmc_project.State.Chassis@1.service
4 After=xyz.openbmc_project.State.Chassis@1.service
5 Wants=xyz.openbmc_project.State.Chassis@2.service
6 After=xyz.openbmc_project.State.Chassis@2.service
7 Wants=xyz.openbmc_project.State.Chassis@3.service
8 After=xyz.openbmc_project.State.Chassis@3.service
9 Wants=xyz.openbmc_project.State.Chassis@4.service
10 After=xyz.openbmc_project.State.Chassis@4.service
11 Wants=xyz.openbmc_project.State.Chassis@5.service
[all …]
/openbmc/openbmc/meta-fii/meta-mori/recipes-phosphor/dbus/led-policy-mori/
H A Dled-config.yaml1 - name: OS state path group
6 path: /xyz/openbmc_project/state/host0
8 - name: Chassis power state path group
13 path: /xyz/openbmc_project/state/chassis0
15 - name: OS state property group
20 - interface: xyz.openbmc_project.State.OperatingSystem.Status
24 - name: Chassis power state property group
29 - interface: xyz.openbmc_project.State.Chassis
33 - name: watch OS state
36 paths: OS state path group
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dstate_manager.robot21 # wait Indicates that this keyword should wait for host running state.
41 # wait Indicates that this keyword should wait for host off state.
56 [Documentation] Wait for power off state.
67 # wait Indicates that this keyword should wait for host off state.
85 # wait Indicates that this keyword should wait for host reboot state.
98 [Documentation] Check if host state is "Running".
99 # Chassis state should be "On" before we check the host state.
101 ${host_state}= Get Host State
107 Get Host State Attribute
108 [Documentation] Return the state of the host as a string.
[all …]
H A Dstate_map.py4 State Manager module:
32 # (Power Policy, BMC state, Chassis State, Host State)
47 "xyz.openbmc_project.State.BMC.BMCState.Ready",
48 "xyz.openbmc_project.State.Chassis.PowerState.Off",
49 "xyz.openbmc_project.State.Host.HostState.Off",
50 "xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified",
51 "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Inactive",
57 "xyz.openbmc_project.State.BMC.BMCState.Ready",
58 "xyz.openbmc_project.State.Chassis.PowerState.Off",
59 "xyz.openbmc_project.State.Host.HostState.Off",
[all …]
/openbmc/phosphor-bmc-code-mgmt/common/src/
H A Dhost_power.cpp13 #include <xyz/openbmc_project/State/Host/client.hpp>
22 sdbusplus::client::xyz::openbmc_project::state::Host<void, void>;
25 sdbusplus::client::xyz::openbmc_project::state::Host<>::Transition::On;
27 sdbusplus::client::xyz::openbmc_project::state::Host<>::Transition::Off;
32 const auto host0ObjectPath = sdbusplus::client::xyz::openbmc_project::state::
36 constexpr const char* service = "xyz.openbmc_project.State.Host";
44 HostState state) in setState() argument
46 if (state != stateOn && state != stateOff) in setState()
48 error("Invalid power state {STATE}", "STATE", state); in setState()
52 auto client = sdbusplus::client::xyz::openbmc_project::state::Host(ctx) in setState()
[all …]
/openbmc/qemu/ui/
H A Dtrace-events43 vnc_msg_server_audio_begin(void *state, void *ioc) "VNC server msg audio begin state=%p ioc=%p"
44 vnc_msg_server_audio_end(void *state, void *ioc) "VNC server msg audio end state=%p ioc=%p"
45 vnc_msg_server_audio_data(void *state, void *ioc, const void *buf, size_t len) "VNC server msg audi…
46 vnc_msg_server_desktop_resize(void *state, void *ioc, int width, int height) "VNC server msg ext re…
47 …g_server_ext_desktop_resize(void *state, void *ioc, int width, int height, int reason) "VNC server…
48 vnc_msg_client_audio_enable(void *state, void *ioc) "VNC client msg audio enable state=%p ioc=%p"
49 vnc_msg_client_audio_disable(void *state, void *ioc) "VNC client msg audio disable state=%p ioc=%p"
50 vnc_msg_client_audio_format(void *state, void *ioc, int fmt, int channels, int freq) "VNC client ms…
51 vnc_msg_client_cut_text(void *state, void *ioc, int len) "VNC client msg cut text state=%p ioc=%p l…
52 vnc_msg_client_cut_text_ext(void *state, void *ioc, int len, int flags) "VNC client msg cut text st…
[all …]
/openbmc/webui-vue/src/store/modules/Authentication/
H A DAuthenticanStore.js8 state: { class in AuthenticationStore
17 consoleWindow: (state) => state.consoleWindow,
18 authError: (state) => state.authError,
19 isLoggedIn: (state) => {
23 state.xsrfCookie !== undefined ||
24 state.isAuthenticatedCookie == 'true' ||
25 state.xAuthToken !== null
29 token: (state) => state.xsrfCookie,
32 authSuccess(state, { session, token }) { argument
33 state.authError = false;
[all …]
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/plat-svc/files/bletchley15/
H A Dbletchley-host-state-monitor.service2 Description=Bletchley host state monitoring
3 Wants=xyz.openbmc_project.State.Chassis@1.service
4 After=xyz.openbmc_project.State.Chassis@1.service
5 Wants=xyz.openbmc_project.State.Chassis@2.service
6 After=xyz.openbmc_project.State.Chassis@2.service
7 Wants=xyz.openbmc_project.State.Chassis@3.service
8 After=xyz.openbmc_project.State.Chassis@3.service
9 Wants=xyz.openbmc_project.State.Chassis@4.service
10 After=xyz.openbmc_project.State.Chassis@4.service
11 Wants=xyz.openbmc_project.State.Host@1.service
[all …]
/openbmc/openbmc-test-automation/redfish/extended/
H A Dtest_power_restore.robot29 ... Initial Host State:
30 ... State where system should be before running the
32 ... Expected Host State:
34 ... specific state.
38 # Policy Initial Host State Expected Host State
48 # Policy Initial Host State Expected Host State
56 ... Initial Host State:
57 ... State where system should be before running the
59 ... Expected Host State:
61 ... specific state.
[all …]
/openbmc/qemu/include/ui/
H A Dkbd-state.h31 * qkbd_state_init: init keyboard state tracker.
33 * Allocates and initializes keyboard state struct.
35 * @con: QemuConsole for this state tracker. Gets passed down to
41 * qkbd_state_free: free keyboard tracker state.
43 * @kbd: state tracker state.
50 * Update keyboard state, send event to the guest.
55 * @kbd: state tracker state.
67 * @kbd: state tracker state.
73 * qkbd_state_key_get: get key state.
77 * @kbd: state tracker state.
[all …]
/openbmc/qemu/hw/xen/
H A Dxen-hvm-common.c75 XenIOState *state = container_of(listener, XenIOState, memory_listener); in xen_set_memory() local
81 xen_map_memory_section(xen_domid, state->ioservid, in xen_set_memory()
84 xen_unmap_memory_section(xen_domid, state->ioservid, in xen_set_memory()
89 arch_xen_set_memory(state, section, add); in xen_set_memory()
109 XenIOState *state = container_of(listener, XenIOState, io_listener); in xen_io_add() local
118 xen_map_io_section(xen_domid, state->ioservid, section); in xen_io_add()
124 XenIOState *state = container_of(listener, XenIOState, io_listener); in xen_io_del() local
131 xen_unmap_io_section(xen_domid, state->ioservid, section); in xen_io_del()
139 XenIOState *state = container_of(listener, XenIOState, device_listener); in xen_device_realize() local
148 QLIST_INSERT_HEAD(&state->dev_list, xendev, entry); in xen_device_realize()
[all …]
/openbmc/qemu/hw/intc/
H A Dgrlib_irqmp.c71 IRQMPState *state; member
90 static void grlib_irqmp_check_irqs(IRQMPState *state) in grlib_irqmp_check_irqs() argument
94 assert(state != NULL); in grlib_irqmp_check_irqs()
95 assert(state->parent != NULL); in grlib_irqmp_check_irqs()
97 for (i = 0; i < state->parent->ncpus; i++) { in grlib_irqmp_check_irqs()
98 uint32_t pend = (state->pending | state->force[i]) & state->mask[i]; in grlib_irqmp_check_irqs()
99 uint32_t level0 = pend & ~state->level; in grlib_irqmp_check_irqs()
100 uint32_t level1 = pend & state->level; in grlib_irqmp_check_irqs()
102 trace_grlib_irqmp_check_irqs(state->pending, state->force[i], in grlib_irqmp_check_irqs()
103 state->mask[i], level1, level0); in grlib_irqmp_check_irqs()
[all …]
/openbmc/pldm/configurations/pdr/com.ibm.Hardware.Chassis.Model.Bonnell/
H A D11.json192 … "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
211 … "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
230 … "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
249 … "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
268 … "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
287 … "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
306 … "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
325 "interface": "xyz.openbmc_project.State.Decorator.PowerState",
329 "xyz.openbmc_project.State.Decorator.PowerState.State.Unknown",
330 "xyz.openbmc_project.State.Decorator.PowerState.State.On",
[all …]
/openbmc/u-boot/lib/
H A Daes.c326 static void shift_rows(u8 *state) in shift_rows() argument
331 state[0] = sbox[state[0]]; in shift_rows()
332 state[4] = sbox[state[4]]; in shift_rows()
333 state[8] = sbox[state[8]]; in shift_rows()
334 state[12] = sbox[state[12]]; in shift_rows()
337 tmp = sbox[state[1]]; in shift_rows()
338 state[1] = sbox[state[5]]; in shift_rows()
339 state[5] = sbox[state[9]]; in shift_rows()
340 state[9] = sbox[state[13]]; in shift_rows()
341 state[13] = tmp; in shift_rows()
[all …]
/openbmc/bmcweb/include/
H A Dmultipart_parser.hpp33 enum class State enum
82 state = State::START; in parse()
91 switch (state) in parse()
93 case State::START: in parse()
95 state = State::START_BOUNDARY; in parse()
97 case State::START_BOUNDARY: in parse()
115 state = State::HEADER_FIELD_START; in parse()
124 case State::HEADER_FIELD_START: in parse()
126 state = State::HEADER_FIELD; in parse()
130 case State::HEADER_FIELD: in parse()
[all …]
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/gpio/phosphor-gpio-monitor/catalina/
H A Dplatform-gpio-monitor9 STATE="$2"
31 busctl get-property xyz.openbmc_project.State.Host0 \
32 /xyz/openbmc_project/state/host0 \
33 xyz.openbmc_project.State.Host \
39 busctl get-property xyz.openbmc_project.State.Host0 \
40 /xyz/openbmc_project/state/host0 \
41 xyz.openbmc_project.State.Host \
47 busctl set-property xyz.openbmc_project.State.Host0 \
48 /xyz/openbmc_project/state/host0 \
49 xyz.openbmc_project.State.Host \
[all …]
/openbmc/phosphor-buttons/src/
H A Dhost_then_chassis_poweroff.cpp7 #include <xyz/openbmc_project/State/BMC/server.hpp>
8 #include <xyz/openbmc_project/State/Chassis/server.hpp>
18 constexpr auto bmcState = "xyz.openbmc_project.State.BMC";
19 constexpr auto chassisState = "xyz.openbmc_project.State.Chassis0";
20 constexpr auto hostState = "xyz.openbmc_project.State.Host";
25 constexpr auto bmcState = "/xyz/openbmc_project/state/bmc0";
26 constexpr auto chassisState = "/xyz/openbmc_project/state/chassis0";
27 constexpr auto hostState = "/xyz/openbmc_project/state/host0";
33 constexpr auto bmcState = "xyz.openbmc_project.State.BMC";
34 constexpr auto chassisState = "xyz.openbmc_project.State.Chassis";
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/directfb/directfb/
H A D0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch43 @@ -2139,7 +2145,8 @@ touchpad_translate( struct touchpad_fsm_state *state,
53 @@ -2204,7 +2211,7 @@ touchpad_fsm( struct touchpad_fsm_state *state,
62 @@ -2223,6 +2230,8 @@ touchpad_fsm( struct touchpad_fsm_state *state,
71 @@ -2233,7 +2242,7 @@ touchpad_fsm( struct touchpad_fsm_state *state,
74 if (state->fsm_state == TOUCHPAD_FSM_DRAG_START &&
75 - timeout_passed( &state->timeout, &levt->time )) {
76 + timeout_passed( &state->timeout, &tval )) {
78 devt->timestamp = state->timeout; /* timeout of levt->time? */
80 @@ -2255,7 +2264,8 @@ touchpad_fsm( struct touchpad_fsm_state *state,
83 state->fsm_state = TOUCHPAD_FSM_MAIN;
[all …]
/openbmc/webui-vue/src/store/modules/Operations/
H A DFirmwareStore.js6 state: { class in FirmwareStore
16 isSingleFileUploadEnabled: (state) => state.biosFirmware.length === 0,
17 activeBmcFirmware: (state) => {
18 return state.bmcFirmware.find(
19 (firmware) => firmware.id === state.bmcActiveFirmwareId,
22 activeBiosFirmware: (state) => {
23 return state.biosFirmware.find(
24 (firmware) => firmware.id === state.biosActiveFirmwareId,
27 backupBmcFirmware: (state) => {
28 return state.bmcFirmware.find(
[all …]

12345678910>>...143