Searched refs:state (Results 76 - 100 of 394) sorted by relevance

1234567891011>>

/u-boot/tools/binman/etype/
H A Du_boot_dtb_with_ucode.py13 state = None variable
31 global state
32 from binman import state namespace
66 fdt = state.GetFdtForEtype(etype)
/u-boot/include/
H A Dmux-internal.h33 * @set: Set the state of the given mux controller.
37 * set - Apply a state to a multiplexer control
42 int (*set)(struct mux_control *mux, int state);
67 * @cached_state: The current mux controller state, or -1 if none.
69 * @idle_state: The mux controller state to use when inactive, or one
H A Dstatus_led.h40 void status_led_set(int led, int state);
63 extern void __led_init (led_id_t mask, int state);
64 extern void __led_set (led_id_t mask, int state);
/u-boot/arch/sandbox/include/asm/
H A Dstate.h64 /* The complete state of the test system */
80 const char *state_fname; /* File containing sandbox state */
81 void *state_fdt; /* Holds saved state for sandbox */
82 bool read_state; /* Read sandbox state on startup */
83 bool write_state; /* Write sandbox state on exit */
84 bool ignore_missing_state_on_read; /* No error if state missing */
126 /* Minimum space we guarantee in the state FDT when calling read/write*/
130 * struct sandbox_state_io - methods to saved/restore sandbox state
134 * @compat: Compatible string for the node containing this state
136 * @read: Function to read state fro
[all...]
/u-boot/lib/lzma/
H A DLzmaTools.c50 ELzmaStatus state; local
59 memset(&state, 0, sizeof(state));
111 inStream, LZMA_PROPS_SIZE, LZMA_FINISH_END, &state, &g_Alloc);
H A DLzmaDec.c137 unsigned state = p->state; local
166 prob = probs + IsMatch + (state << kNumPosBitsMax) + posState;
176 if (state < kNumLitStates)
178 state -= (state < 4) ? state : 3;
187 state -= (state < 10) ? 3 : 6;
208 prob = probs + IsRep + state;
508 unsigned state = p->state; local
[all...]
H A DLzmaDec.h39 /* ---------- LZMA Decoder state ---------- */
57 unsigned state; member in struct:__anon1233
118 /* There are two variants to allocate state for Dictionary Interface:
133 SRes LzmaDec_Allocate(CLzmaDec *state, const Byte *prop, unsigned propsSize, ISzAlloc *alloc);
134 void LzmaDec_Free(CLzmaDec *state, ISzAlloc *alloc);
/u-boot/dts/upstream/scripts/
H A Dfilter.sh3 # git branch -D upstream/rewritten-prev upstream/master upstream/rewritten filter-state
37 --prune-empty --state-branch refs/heads/filter-state \
/u-boot/drivers/led/
H A Dled_gpio.c19 static int gpio_led_set_state(struct udevice *dev, enum led_state_t state) argument
26 switch (state) {
34 state = !ret;
40 return dm_gpio_set_value(&priv->gpio, state);
H A Dled_bcm6328.c64 enum led_state_t state = LEDST_OFF; local
70 state = LEDST_BLINK;
74 state = (priv->active_low ? LEDST_ON : LEDST_OFF);
77 state = (priv->active_low ? LEDST_OFF : LEDST_ON);
81 return state;
84 static int bcm6328_led_set_state(struct udevice *dev, enum led_state_t state) argument
89 switch (state) {
H A Dled_bcm6358.c70 enum led_state_t state = LEDST_OFF; local
74 state = (priv->active_low ? LEDST_ON : LEDST_OFF);
77 state = (priv->active_low ? LEDST_OFF : LEDST_ON);
81 return state;
84 static int bcm6358_led_set_state(struct udevice *dev, enum led_state_t state) argument
89 switch (state) {
/u-boot/include/u-boot/
H A Dsha256.h14 uint32_t state[8]; member in struct:__anon467
/u-boot/drivers/i2c/
H A Dcros_ec_ldo.c42 uint8_t state; local
44 ret = cros_ec_get_ldo(dev->parent, fet_id, &state);
46 msg[1].buf[0] = state ?
/u-boot/arch/x86/cpu/
H A Dturbo.c24 static inline void set_global_turbo_state(int state) argument
33 static inline void set_global_turbo_state(int state) argument
35 gd->arch.turbo_state = state;
50 * Determine the current state of Turbo and cache it for later.
61 /* Return cached state if available */
100 /* Update cached turbo state */
/u-boot/arch/x86/cpu/coreboot/
H A Dcoreboot.c66 struct mtrr_state state; local
68 mtrr_open(&state, true);
71 mtrr_close(&state, true);
/u-boot/drivers/input/
H A Dbutton_kbd.c25 * @old_state: a pointer to old button states array. Used to determine button state change.
77 u32 code, state, state_changed = 0; local
88 state = button_get_state(button_gpio_devp);
89 state_changed = state != priv->old_state[i];
93 priv->old_state[i] = state;
94 input_add_keycode(input, code, state);
/u-boot/drivers/ddr/marvell/a38x/
H A Dxor.c223 * mv_xor_state_get - Get XOR channel state.
226 * XOR channel activity state can be active, idle, paused.
227 * This function retrunes the channel activity state.
239 * MV_UNDEFINED_STATE - If the engine state is undefind or there is no
244 u32 state; local
252 /* read the current state */
253 state = reg_read(XOR_ACTIVATION_REG(XOR_UNIT(chan), XOR_CHAN(chan)));
254 state &= XEXACTR_XESTATUS_MASK;
256 /* return the state */
257 switch (state) {
292 enum mv_state state; local
[all...]
/u-boot/drivers/ddr/marvell/axp/
H A Dxor.c321 * mv_xor_state_get - Get XOR channel state.
324 * XOR channel activity state can be active, idle, paused.
325 * This function retrunes the channel activity state.
337 * MV_UNDEFINED_STATE - If the engine state is undefind or there is no
343 u32 state; local
351 /* Read the current state */
352 state = reg_read(XOR_ACTIVATION_REG(XOR_UNIT(chan), XOR_CHAN(chan)));
353 state &= XEXACTR_XESTATUS_MASK;
355 /* Return the state */
356 switch (state) {
392 int state; local
[all...]
/u-boot/arch/x86/lib/
H A Dzimage.c59 /* Current state of the boot */
60 struct zboot_state state; variable in typeref:struct:zboot_state
375 if (state.base_ptr) {
376 struct boot_params *from = (struct boot_params *)state.base_ptr;
384 base_ptr = load_zimage((void *)state.bzimage_addr, state.bzimage_size,
385 &state.load_address);
391 state.base_ptr = base_ptr;
393 ret = env_set_hex("zbootbase", map_to_sysmem(state.base_ptr));
395 ret = env_set_hex("zbootaddr", state
[all...]
/u-boot/test/dm/
H A Dmux-cmd.c78 /* Check if mux selection state matches. */
86 /* Check if the current state matches. */
95 /* Check if the idle state matches */
120 unsigned int i, state; local
133 state = rand() % mux->states;
136 state);
139 ut_asserteq(state, mux->cached_state);
154 unsigned int i, state; local
167 state = rand() % mux->states;
168 ut_assertok(mux_control_select(mux, state));
[all...]
/u-boot/drivers/gpio/
H A Dtegra_gpio.c138 struct tegra_port_info *state = dev_get_priv(dev); local
141 set_direction(state->base_gpio + offset, DIRECTION_INPUT);
144 set_config(state->base_gpio + offset, 1);
153 struct tegra_port_info *state = dev_get_priv(dev); local
154 int gpio = state->base_gpio + offset;
163 set_config(state->base_gpio + offset, 1);
171 struct tegra_port_info *state = dev_get_priv(dev); local
172 int gpio = state->base_gpio + offset;
179 val = readl(&state->bank->gpio_in[GPIO_PORT(gpio)]);
181 val = readl(&state
189 struct tegra_port_info *state = dev_get_priv(dev); local
225 struct tegra_port_info *state = dev_get_priv(dev); local
[all...]
H A Dsandbox.c31 struct gpio_state *state = dev_get_priv(dev); local
38 return &state[offset];
44 struct gpio_state *state = get_gpio_state(dev, offset); local
46 if (!state)
49 return &state->flags;
61 struct gpio_state *state = get_gpio_state(dev, offset); local
64 state->flags |= flag;
66 state->flags &= ~flag;
72 * Back-channel sandbox-internal-only access to GPIO state
77 struct gpio_state *state local
126 struct gpio_state *state = get_gpio_state(dev, offset); local
234 struct gpio_state *state = get_gpio_state(dev, offset); local
[all...]
/u-boot/drivers/mux/
H A Dmux-uclass.c26 * The idle-as-is "state" is not an actual state that may be selected, it
27 * only implies that the state should not be changed. So, use that state
28 * as indication that the cached state of the multiplexer is unknown.
44 * mux_control_set() - Set the state of the given mux controller.
46 * @state: The new requested state.
50 static int mux_control_set(struct mux_control *mux, int state) argument
52 int ret = mux_dev_ops(mux->dev)->set(mux, state);
72 __mux_control_select(struct mux_control *mux, int state) argument
93 mux_control_select(struct mux_control *mux, unsigned int state) argument
[all...]
/u-boot/drivers/pci/
H A Dpcie_layerscape.c73 u32 state; local
78 state = ctrl_readl(pcie, LS1021_PEXMSCPORTSR(pcie->idx));
79 state = (state >> LS1021_LTSSM_STATE_SHIFT) & LTSSM_STATE_MASK;
81 state = ctrl_readl(pcie, PCIE_PF_DBG) & LTSSM_STATE_MASK;
84 return state;
/u-boot/net/
H A Dfastboot_tcp.c27 } state = FASTBOOT_CLOSED; variable in typeref:enum:fastboot_tcp_state
42 state = FASTBOOT_CLOSED;
87 switch (state) {
98 state = FASTBOOT_CONNECTED;
104 state = FASTBOOT_DISCONNECTING;
127 state = FASTBOOT_CLOSED;

Completed in 179 milliseconds

1234567891011>>