Home
last modified time | relevance | path

Searched refs:states (Results 1 – 25 of 252) sorted by relevance

1234567891011

/openbmc/pldm/libpldmresponder/
H A Dplatform_state_effecter.hpp46 state_effecter_possible_states* states = nullptr; in setStateEffecterStatesHandler() local
79 states = reinterpret_cast<state_effecter_possible_states*>( in setStateEffecterStatesHandler()
119 if (states->possible_states_size < bitfieldIndex || in setStateEffecterStatesHandler()
120 !(states->states[bitfieldIndex].byte & (1 << bit))) in setStateEffecterStatesHandler()
154 reinterpret_cast<uint8_t*>(states) + in setStateEffecterStatesHandler()
156 sizeof(states->states) + in setStateEffecterStatesHandler()
157 (states->possible_states_size * sizeof(states->states)); in setStateEffecterStatesHandler()
158 states = in setStateEffecterStatesHandler()
H A Dplatform.hpp352 state_effecter_possible_states* states = nullptr; in setStateEffecterStatesHandler() local
385 states = reinterpret_cast<state_effecter_possible_states*>( in setStateEffecterStatesHandler()
417 if (states->possible_states_size < bitfieldIndex || in setStateEffecterStatesHandler()
418 !(states->states[bitfieldIndex].byte & (1 << bit))) in setStateEffecterStatesHandler()
453 reinterpret_cast<uint8_t*>(states) + in setStateEffecterStatesHandler()
455 sizeof(states->states) + in setStateEffecterStatesHandler()
456 (states->possible_states_size * sizeof(states->states)); in setStateEffecterStatesHandler()
457 states = reinterpret_cast<state_effecter_possible_states*>( in setStateEffecterStatesHandler()
/openbmc/pldm/oem/ibm/test/
H A Dlibpldmresponder_oem_platform_test.cpp270 state_effecter_possible_states* states = in TEST() local
272 ASSERT_EQ(states->state_set_id, 32769); in TEST()
273 ASSERT_EQ(states->possible_states_size, 2); in TEST()
276 ASSERT_EQ(states->states[0].byte, bf1.byte); in TEST()
297 states = in TEST()
299 ASSERT_EQ(states->state_set_id, 32769); in TEST()
300 ASSERT_EQ(states->possible_states_size, 2); in TEST()
303 ASSERT_EQ(states->states[0].byte, bf2.byte); in TEST()
324 states = in TEST()
326 ASSERT_EQ(states->state_set_id, 32768); in TEST()
[all …]
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_pdr_effecter_test.cpp63 state_effecter_possible_states* states = new (pdr->possible_states) in TEST() local
65 ASSERT_EQ(states->state_set_id, 196); in TEST()
66 ASSERT_EQ(states->possible_states_size, 1); in TEST()
69 ASSERT_EQ(states->states[0].byte, bf1.byte); in TEST()
95 states = new (pdr->possible_states) state_effecter_possible_states; in TEST()
96 ASSERT_EQ(states->state_set_id, 197); in TEST()
97 ASSERT_EQ(states->possible_states_size, 1); in TEST()
99 ASSERT_EQ(states->states[0].byte, bf1.byte); in TEST()
100 states = new (pdr->possible_states + sizeof(state_effecter_possible_states)) in TEST()
102 ASSERT_EQ(states->state_set_id, 198); in TEST()
[all …]
/openbmc/u-boot/drivers/power/regulator/
H A Dgpio-regulator.c22 int states[GPIO_REGULATOR_MAX_STATES]; member
64 dev_pdata->states[j] = states_array[i + 1]; in gpio_regulator_ofdata_to_platdata()
87 if (enable == dev_pdata->states[0]) in gpio_regulator_get_value()
103 enable = dev_pdata->states[0]; in gpio_regulator_set_value()
105 enable = dev_pdata->states[1]; in gpio_regulator_set_value()
/openbmc/qemu/contrib/elf2dmp/
H A Dqemu_elf.c62 GPtrArray *states; in init_states() local
76 states = g_ptr_array_new(); in init_states()
108 states->len, state_size); in init_states()
115 g_ptr_array_add(states, state); in init_states()
119 printf("%u CPU states has been found\n", states->len); in init_states()
121 qe->state_nr = states->len; in init_states()
122 qe->state = (void *)g_ptr_array_free(states, FALSE); in init_states()
/openbmc/u-boot/arch/arm/dts/
H A Dfsl-imx8-ca53.dtsi20 idle-states {
50 cpu-idle-states = <&CPU_SLEEP>;
59 cpu-idle-states = <&CPU_SLEEP>;
68 cpu-idle-states = <&CPU_SLEEP>;
77 cpu-idle-states = <&CPU_SLEEP>;
H A Dr8a77990-ebisu-u-boot.dts50 gpios-states = <1>;
51 states = <3300000 1
75 gpios-states = <1>;
76 states = <3300000 1
/openbmc/qemu/system/
H A Ddirtylimit.c64 VcpuDirtyLimitState *states; member
195 return &dirtylimit_state->states[cpu_index]; in dirtylimit_vcpu_get_state()
206 dirtylimit_state->states = in dirtylimit_state_initialize()
210 dirtylimit_state->states[i].cpu_index = i; in dirtylimit_state_initialize()
219 g_free(dirtylimit_state->states); in dirtylimit_state_finalize()
220 dirtylimit_state->states = NULL; in dirtylimit_state_finalize()
380 dirtylimit_state->states[cpu_index].quota = quota; in dirtylimit_set_vcpu()
385 dirtylimit_state->states[cpu_index].quota = 0; in dirtylimit_set_vcpu()
386 if (dirtylimit_state->states[cpu_index].enabled) { in dirtylimit_set_vcpu()
391 dirtylimit_state->states[cpu_index].enabled = enable; in dirtylimit_set_vcpu()
[all …]
/openbmc/u-boot/common/
H A Dbootm.c692 int states, bootm_headers_t *images, int boot_progress) in do_bootm_states() argument
698 images->state |= states; in do_bootm_states()
704 if (states & BOOTM_STATE_START) in do_bootm_states()
707 if (!ret && (states & BOOTM_STATE_FINDOS)) in do_bootm_states()
710 if (!ret && (states & BOOTM_STATE_FINDOTHER)) in do_bootm_states()
714 (states & BOOTM_STATE_MEASURE)) in do_bootm_states()
718 if (!ret && (states & BOOTM_STATE_LOADOS)) { in do_bootm_states()
729 if (!ret && (states & BOOTM_STATE_RAMDISK)) { in do_bootm_states()
741 if (!ret && (states & BOOTM_STATE_FDT)) { in do_bootm_states()
752 need_boot_fn = states & (BOOTM_STATE_OS_CMDLINE | in do_bootm_states()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/byacc/
H A Dbyacc_20241231.bb2 # even apply UCB to it (Free/Net/OpenBSD). The maintainer states that:
3 # "I've found no reliable source which states that byacc must bear a UCB copyright."
/openbmc/openbmc-test-automation/tools/
H A Dgithub_issues_to_csv15 states = "all" variable
75 print(states)
151 l_url = l_url.format(repository, states)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/enscript/enscript/
H A D0001-Fix-builds-with-recent-gettext.patch20 -SUBDIRS = intl compat afm afmlib lib scripts src po states docs w32
21 +SUBDIRS = compat afm afmlib lib scripts src po states docs w32
H A Denscript-autoconf.patch103 Index: enscript-1.6.6/states/defs.h
105 --- enscript-1.6.6.orig/states/defs.h
106 +++ enscript-1.6.6/states/defs.h
/openbmc/openbmc/poky/meta/recipes-bsp/alsa-state/
H A Dalsa-state.bb53 PACKAGES += "alsa-states"
55 RRECOMMENDS:alsa-state = "alsa-states"
61 FILES:alsa-states = "${localstatedir}/lib/alsa/*.state"
/openbmc/openbmc/poky/bitbake/lib/ply/
H A Dlex.py527 states = tuple(parts[1:i])
529 states = ('INITIAL',)
531 if 'ANY' in states:
532 states = tuple(names)
535 return (states,tokenname)
622 self.states = self.ldict.get("states",None)
624 if self.states:
625 if not isinstance(self.states,(tuple,list)):
629 for s in self.states:
674 states, tokname = _statetoken(f,self.stateinfo)
[all …]
/openbmc/u-boot/doc/device-tree-bindings/pinctrl/
H A Dpinctrl-bindings.txt17 states. The number and names of those states is defined by the client device's
22 configuration used by those states.
31 they require certain specific named states for dynamic pin configuration.
41 Each client device's own binding determines the set of states that must be
61 the binding for that IP block requires certain pin states to
70 pinctrl-names: The list of names to assign states. List entry 0 defines the
76 /* For a client device requiring named states */
/openbmc/qemu/block/
H A Dcurl.c110 CURLState states[CURL_NUM_STATES]; member
270 CURLState *state = &s->states[i]; in curl_find_buf()
455 if (!s->states[i].in_use) { in curl_find_state()
456 state = &s->states[i]; in curl_find_state()
587 if (s->states[i].in_use) { in curl_detach_aio_context()
588 curl_clean_state(&s->states[i]); in curl_detach_aio_context()
590 if (s->states[i].curl) { in curl_detach_aio_context()
591 curl_easy_cleanup(s->states[i].curl); in curl_detach_aio_context()
592 s->states[i].curl = NULL; in curl_detach_aio_context()
594 g_free(s->states[i].orig_buf); in curl_detach_aio_context()
[all …]
/openbmc/docs/designs/
H A Docp-led-policy-support.md18 #### Defined states
50 #### Defined states
114 states.
115 - An Indicator should not be in an inconsistent state. It can display the states
132 with locating and fault states having higher priorities. The LEDs would always
216 just define states for that indicator.
217 - Need to translate these states to groups anyways to be compatible with the
H A Dgpio-based-cable-presence.md13 huge waste. Therefore, we need a solution to pack multiple presence states into
23 1. The openbmc IPMI interface should support exposing cable presence states.
30 Presence states. This new daemon will resIDe in openbmc/dbus-sensors. Its
65 On the IPMI sIDe, the presence states will be grouped into fewer SDR IDs in
85 states, the group handler will automatically jump to use a new SDR. For example,
129 of 255 IDs. Meanwhile, it doesn't support stacking multiple presence states in
/openbmc/openbmc-test-automation/pldm/
H A Dtest_pldm_platform.robot49 [Documentation] Verify set state effecter states response message.
119 [Documentation] Verify set state effecter states for given input effecter states.
/openbmc/pldm/libpldmresponder/examples/events/
H A Devent_state_sensor.json2 // entry for each sensor in a composite sensor) and the supported event states.
/openbmc/phosphor-state-manager/
H A DREADME.md10 a system power event or bmc reset) and ensures its states are updated correctly
12 on/running states.
33 successfully in order to have PSM properly report states.
46 phosphor-state-manager implements states and state requests as defined in
49 - [bmc][2]: The BMC has very minimal states. It is `NotReady` when first started
84 `state` parameter. This will use D-Bus commands to retrieve the above states and
119 - Ensure the BMC, Chassis, and Host states accurately represent the state of the
128 phosphor-state-manager discovers state vs. trying to cache and save states. This
/openbmc/phosphor-fan-presence/control/
H A Dfanctl.cpp277 auto states = getStates(); in status() local
280 cout << "Fan Control Service State : " << states[0] << ", " << states[1] in status()
281 << "(" << states[2] << ")" << endl; in status()
283 cout << "CurrentBMCState : " << states[3] << endl; in status()
284 cout << "CurrentPowerState : " << states[4] << endl; in status()
285 cout << "CurrentHostState : " << states[5] << endl; in status()
/openbmc/pldm/libpldmresponder/test/pdr_jsons/state_sensor/malformed/
H A Dsensor_pdr.json8 // supported event states, up to eight.

1234567891011