Searched refs:states (Results 1 - 13 of 13) sorted by relevance

/u-boot/include/
H A Dmux-internal.h68 * @states: The number of mux controller states.
74 * Mux drivers may only change @states and @idle_state, and may only do so
83 unsigned int states; member in struct:mux_control
H A Dbootm.h134 * bootm_run_states() - Execute selected states of the bootm command.
136 * Note that if states contains more than one flag it MUST contain
145 * @states Mask containing states to run (BOOTM_STATE_...)
147 * function to perform a reboot! If states contains BOOTM_STATE_OS_GO
151 int bootm_run_states(struct bootm_info *bmi, int states);
157 * states, along with the extra ones supplied.
162 * the extra states correctly.
166 * @extra_states: Mask of extra states to use for the boot
175 * set of states
[all...]
/u-boot/drivers/power/regulator/
H A Dgpio-regulator.c25 int states[GPIO_REGULATOR_MAX_STATES]; member in struct:gpio_regulator_plat
57 ret = dev_read_size(dev, "states");
63 debug("regulator gpio - to many states (%d > %d)",
68 ret = dev_read_u32_array(dev, "states", states_array, count);
74 plat->states[j] = states_array[i + 1];
97 if (enable == plat->states[0])
113 enable = plat->states[0];
115 enable = plat->states[1];
/u-boot/boot/
H A Dbootm.c994 int bootm_run_states(struct bootm_info *bmi, int states) argument
1001 images->state |= states;
1004 * Work through the states and see how far we get. We stop on
1007 if (states & BOOTM_STATE_START)
1010 if (!ret && (states & BOOTM_STATE_PRE_LOAD))
1013 if (!ret && (states & BOOTM_STATE_FINDOS))
1016 if (!ret && (states & BOOTM_STATE_FINDOTHER)) {
1026 (states & BOOTM_STATE_MEASURE))
1030 if (!ret && (states & BOOTM_STATE_LOADOS)) {
1041 if (!ret && (states
1133 int states; local
1166 int states; local
[all...]
/u-boot/cmd/
H A Dbooti.c107 int states; local
139 states = BOOTM_STATE_MEASURE | BOOTM_STATE_OS_PREP |
142 states |= BOOTM_STATE_RAMDISK;
144 ret = bootm_run_states(&bmi, states);
H A Dmux.c80 PRINT_COLUMN("0x%x", mux->states);
177 "list - List all Muxes and their states\n"
/u-boot/test/dm/
H A Dmux-cmd.c104 /* Check if the number of states matches */
107 ut_asserteq(mux->states, val);
133 state = rand() % mux->states;
167 state = rand() % mux->states;
H A Dmux-emul.c44 mux->states = 0x100000;
H A Dacpigen.c710 const char *const states[] = { "_PR0", "_PR3" }; local
722 acpigen_write_power_res(ctx, name, level, order, states,
723 ARRAY_SIZE(states));
726 ut_asserteq_strn(states[0], (char *)ptr + 1);
730 ut_asserteq_strn(states[1], (char *)ptr + 0xf);
/u-boot/arch/x86/include/asm/
H A Dspeedstep.h67 processor is 14, the lowest is always 6. This makes 5 states with the
72 /* Table of p-states for EMTTM and ACPI by decreasing performance. */
73 struct sst_state states[SPEEDSTEP_MAX_STATES]; member in struct:sst_table
/u-boot/drivers/mux/
H A Dmmio.c88 ret = dev_read_u32_array(dev, "idle-states", idle_states, num_fields);
90 log_err("idle-states");
118 mux->states = 1 << bits;
124 idle_states[i] >= mux->states)
125 return log_msg_ret("idle-states range", -EINVAL);
H A Dmux-uclass.c61 return mux->states;
76 if (WARN_ON(state < 0 || state >= mux->states))
322 dev_read_bool(dev, "idle-states")) {
/u-boot/drivers/mtd/spi/
H A Dsandbox.c31 * The different states that our SPI flash transitions between.
49 static const char * const states[] = { local
53 return states[state];
75 * between states. For example, we start off in the SF_CMD
78 * can go through a few states such as first reading in the

Completed in 130 milliseconds