Home
last modified time | relevance | path

Searched refs:state (Results 1 – 25 of 2134) sorted by relevance

12345678910>>...86

/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/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/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/u-boot/arch/sandbox/cpu/
H A Dstart.c20 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()
96 if (state->run_distro_boot) in sandbox_main_loop_init()
[all …]
H A Dstate.c14 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
56 state->state_fdt = os_malloc(size); in state_read_file()
57 if (!state->state_fdt) { in state_read_file()
67 if (os_read(fd, state->state_fdt, size) != size) { in state_read_file()
78 os_free(state->state_fdt); in state_read_file()
79 state->state_fdt = NULL; in state_read_file()
98 int sandbox_read_state_nodes(struct sandbox_state *state, in sandbox_read_state_nodes() argument
[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/webui-vue/src/store/modules/
H A DGlobalStore.js37 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,
57 languagePreference: (state) => state.languagePreference,
58 isUtcDisplay: (state) => state.isUtcDisplay,
59 username: (state) => state.username,
60 isAuthorized: (state) => state.isAuthorized,
[all …]
/openbmc/webui-vue/src/store/modules/Authentication/
H A DAuthenticanStore.js12 state: {
23 consoleWindow: (state) => state.consoleWindow,
24 authError: (state) => state.authError,
25 isLoggedIn: (state) => {
29 state.xsrfCookie !== undefined ||
30 state.isAuthenticatedCookie == 'true' ||
31 !!state.xAuthToken
35 token: (state)
8 state: { global() class in AuthenticationStore
32 authSuccess(state, {) global() argument
47 authError(state, authError = true) global() argument
50 logout(state) global() argument
101 resetStoreState({ state }) { global() field in AuthenticationStore.actions.AnonymousClassdd0a6d100a01
[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/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 …]
H A DBootSettingsStore.js6 state: { class in BootSettingsStore
13 bootSourceOptions: (state) => state.bootSourceOptions,
14 bootSource: (state) => state.bootSource,
15 overrideEnabled: (state) => state.overrideEnabled,
16 tpmEnabled: (state) => state.tpmEnabled,
19 setBootSourceOptions: (state, bootSourceOptions) =>
20 (state.bootSourceOptions = bootSourceOptions),
21 setBootSource: (state, bootSource) => (state.bootSource = bootSource),
22 setOverrideEnabled: (state, overrideEnabled) => {
24 state.overrideEnabled = true;
[all …]
/openbmc/webui-vue/src/store/modules/Settings/
H A DNetworkStore.js6 state: { class in NetworkStore
14 ethernetData: (state) => state.ethernetData,
15 firstInterfaceId: (state) => state.firstInterfaceId,
16 globalNetworkSettings: (state) => state.globalNetworkSettings,
17 selectedInterfaceId: (state) => state.selectedInterfaceId,
18 selectedInterfaceIndex: (state) => state.selectedInterfaceIndex,
21 setDomainNameState: (state, domainState) =>
22 (state.domainState = domainState),
23 setDnsState: (state, dnsState) => (state.dnsState = dnsState),
24 setEthernetData: (state, ethernetData) =>
[all …]
/openbmc/qemu/util/
H A Dqemu-progress.c36 static struct progress_state state; variable
46 printf(" (%3.2f/100%%)\r", state.current); in progress_simple_print()
57 state.print = progress_simple_print; in progress_simple_init()
58 state.end = progress_simple_end; in progress_simple_init()
71 fprintf(stderr, " (%3.2f/100%%)\n", state.current); in progress_dummy_print()
105 state.print = progress_dummy_print; in progress_dummy_init()
106 state.end = progress_dummy_end; in progress_dummy_init()
118 state.min_skip = min_skip; in qemu_progress_init()
128 state.end(); in qemu_progress_end()
149 current = state.current + delta / 100 * max; in qemu_progress_print()
[all …]
/openbmc/phosphor-fan-presence/presence/
H A Danyof.cpp37 RedundancyPolicy(fan, std::move(e)), state(), in AnyOf()
45 state.emplace_back(sensor, false, false); in AnyOf()
64 std::find_if(state.begin(), state.end(), [&sensor](const auto& s) { in stateChanged()
67 if (sit != state.end()) in stateChanged()
70 std::any_of(state.begin(), state.end(), in stateChanged()
76 std::any_of(state.begin(), state.end(), in stateChanged()
98 std::for_each(state.begin(), state.end(), [](auto& s) { in stateChanged()
112 for (auto& s : state) in monitor()
118 auto present = std::any_of(state.begin(), state.end(), [](const auto& s) { in monitor()
140 if (std::any_of(state.begin(), state.end(), in checkSensorConflicts()
[all …]
/openbmc/webui-vue/src/store/modules/SecurityAndAccess/
H A DLdapStore.js7 state: { class in LdapStore
29 isServiceEnabled: (state) => state.isServiceEnabled,
30 ldap: (state) => state.ldap,
31 activeDirectory: (state) => state.activeDirectory,
32 isActiveDirectoryEnabled: (state) => {
33 return state.activeDirectory.serviceEnabled;
35 enabledRoleGroups: (state, getters) => {
39 return state[serviceType].roleGroups;
43 setServiceEnabled: (state, serviceEnabled) =>
44 (state.isServiceEnabled = serviceEnabled),
[all …]
H A DPoliciesStore.js6 state: { class in PoliciesStore
14 sshProtocolEnabled: (state) => state.sshProtocolEnabled,
15 ipmiProtocolEnabled: (state) => state.ipmiProtocolEnabled,
16 rtadEnabled: (state) => state.rtadEnabled,
17 vtpmEnabled: (state) => state.vtpmEnabled,
18 getSessionTimeoutValue: (state) => state.sessionTimeoutValue,
21 setSshProtocolEnabled: (state, sshProtocolEnabled) =>
22 (state.sshProtocolEnabled = sshProtocolEnabled),
23 setIpmiProtocolEnabled: (state, ipmiProtocolEnabled) =>
24 (state.ipmiProtocolEnabled = ipmiProtocolEnabled),
[all …]
/openbmc/openbmc-test-automation/bin/
H A Dsol_utils.tcl43 set state [dict create\
116 global state
153 dict set state ssh_logged_in 1
157 if { [dict get $state ssh_logged_in] } {
159 dprintn ; dprint_dict state
167 dict set state ssh_logged_in 1
169 dprintn ; dprint_dict state
182 global state
185 if { ! [dict get $state ssh_logged_in] } {
196 dict set state ssh_logged_in 0
[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/qemu/hw/audio/
H A Dgusemu_hal.c38 unsigned int gus_read(GUSEmuState * state, int port, int size) in gus_read() argument
43 gusptr = state->gusdatapos; in gus_read()
95 GUS_irqrequest(state, state->gusirq, 1); in gus_read()
119 if (state->gusdma >= 4) in gus_read()
126 GUS_irqclear(state, state->gusirq); in gus_read()
182 adr = state->himemaddr + (GUSregd(GUSDRAMPOS24bit) & 0xfffff); in gus_read()
190 void gus_write(GUSEmuState * state, int port, int size, unsigned int data) in gus_write() argument
193 gusptr = state->gusdatapos; in gus_write()
206 GUS_irqrequest(state, state->gusirq, 1); in gus_write()
229 GUS_irqrequest(state, state->gusirq, 1); in gus_write()
[all …]
/openbmc/webui-vue/src/store/modules/ResourceManagement/
H A DPowerControlStore.js6 state: { class in PowerControlStore
12 powerCapValue: (state) => state.powerCapValue,
13 powerCapUri: (state) => state.powerCapUri,
14 powerConsumptionValue: (state) => state.powerConsumptionValue,
17 setPowerCapValue: (state, powerCapValue) =>
18 (state.powerCapValue = powerCapValue),
19 setPowerCapUri: (state, powerCapUri) => (state.powerCapUri = powerCapUri),
20 setPowerConsumptionValue: (state, powerConsumptionValue) =>
21 (state.powerConsumptionValue = powerConsumptionValue),
61 async setPowerControl({ state }, powerCapValue) { field in PowerControlStore.actions.AnonymousClass0f8f22ef0401
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench/
H A D0001-lat_fifo-Fix-cleanup-sequence.patch23 - unlink(state->filename1);
24 - unlink(state->filename2);
25 - close(state->wr);
26 - close(state->rd);
28 if (state->pid > 0) {
29 - kill(state->pid, 15);
30 + kill(state->pid, SIGKILL);
31 waitpid(state->pid, NULL, 0);
32 state->pid = 0;
35 + unlink(state->filename1);
[all …]
/openbmc/phosphor-bmc-code-mgmt/common/src/
H A Dhost_power.cpp22 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::
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()
57 (state == stateOn) ? transitionOn : transitionOff); in setState()
59 debug("Requested host transition to {STATE}", "STATE", state); in setState()
[all …]
/openbmc/phosphor-buttons/src/
H A Dhost_then_chassis_poweroff.cpp55 state = PowerOpState::powerOnPress; in pressed()
69 if (state == PowerOpState::buttonNotPressed) in pressed()
72 state = PowerOpState::buttonPressed; in pressed()
79 else if (state == PowerOpState::buttonReleasedHostToChassisOffWindow) in pressed()
82 state = PowerOpState::chassisOffStarted; in pressed()
95 if (state == PowerOpState::buttonPressedHostOffStarted) in released()
97 state = PowerOpState::buttonReleasedHostToChassisOffWindow; in released()
101 state = PowerOpState::buttonNotPressed; in released()
109 if ((state == PowerOpState::buttonPressed) && (now >= hostOffTime)) in timerHandler()
113 state = PowerOpState::buttonPressedHostOffStarted; in timerHandler()
[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/u-boot/drivers/sysreset/
H A Dsysreset_sandbox.c17 struct sandbox_state *state = state_get_current(); in sandbox_warm_sysreset_request() local
21 state->last_sysreset = type; in sandbox_warm_sysreset_request()
26 if (!state->sysreset_allowed[type]) in sandbox_warm_sysreset_request()
46 struct sandbox_state *state = state_get_current(); in sandbox_sysreset_request() local
53 if (state->fdt_fname && !dev_of_valid(dev)) in sandbox_sysreset_request()
58 state->last_sysreset = type; in sandbox_sysreset_request()
61 state->last_sysreset = type; in sandbox_sysreset_request()
62 if (!state->sysreset_allowed[type]) in sandbox_sysreset_request()
67 if (!state->sysreset_allowed[type]) in sandbox_sysreset_request()
72 if (!state->sysreset_allowed[type]) in sandbox_sysreset_request()
[all …]

12345678910>>...86