Home
last modified time | relevance | path

Searched refs:oldval (Results 1 – 8 of 8) sorted by relevance

/u-boot/drivers/mmc/
A Diproc_sdhci.c102 u32 oldval, newval; in sdhci_iproc_writew() local
111 oldval = iproc_host->shadow_cmd; in sdhci_iproc_writew()
114 oldval = iproc_host->shadow_blk; in sdhci_iproc_writew()
117 oldval = sdhci_iproc_readl(host, (reg & ~3)); in sdhci_iproc_writew()
119 newval = (oldval & ~mask) | (val << word_shift); in sdhci_iproc_writew()
135 u32 oldval = sdhci_iproc_readl(host, (reg & ~3)); in sdhci_iproc_writeb() local
138 u32 newval = (oldval & ~mask) | (val << byte_shift); in sdhci_iproc_writeb()
A Dbcm2835_sdhci.c107 u32 oldval = (reg == SDHCI_COMMAND) ? shadow : in bcm2835_sdhci_writew() local
112 u32 newval = (oldval & ~mask) | (val << word_shift); in bcm2835_sdhci_writew()
122 u32 oldval = bcm2835_sdhci_raw_readl(host, reg & ~3); in bcm2835_sdhci_writeb() local
126 u32 newval = (oldval & ~mask) | (val << byte_shift); in bcm2835_sdhci_writeb()
/u-boot/scripts/kconfig/
A Dconf.c165 tristate oldval, newval; in conf_sym() local
172 oldval = sym_get_tristate_value(sym); in conf_sym()
173 switch (oldval) { in conf_sym()
184 if (oldval != no && sym_tristate_within_range(sym, no)) in conf_sym()
186 if (oldval != mod && sym_tristate_within_range(sym, mod)) in conf_sym()
188 if (oldval != yes && sym_tristate_within_range(sym, yes)) in conf_sym()
215 newval = oldval; in conf_sym()
A Dsymbol.c323 struct symbol_value newval, oldval; in sym_calc_value() local
342 oldval = sym->curr; in sym_calc_value()
436 if (memcmp(&oldval, &sym->curr, sizeof(oldval))) { in sym_calc_value()
498 tristate oldval = sym_get_tristate_value(sym); in sym_set_tristate_value() local
526 if (oldval != val) in sym_set_tristate_value()
534 tristate oldval, newval; in sym_toggle_tristate_value() local
551 } while (oldval != newval); in sym_toggle_tristate_value()
642 const char *oldval; in sym_set_string_value() local
670 oldval = sym->def[S_DEF_USER].val; in sym_set_string_value()
677 } else if (!oldval || strcmp(oldval, newval)) in sym_set_string_value()
[all …]
A Dqconf.cc469 tristate oldval; in setValue() local
479 oldval = sym_get_tristate_value(sym); in setValue()
483 if (oldval == no && item->menu->list) in setValue()
/u-boot/env/
A Dflags.c529 const char *oldval = NULL; in env_flags_validate() local
532 oldval = item->data; in env_flags_validate()
589 printf("oldval: %s defval: %s\n", oldval, defval); in env_flags_validate()
590 if (strcmp(oldval, defval) != 0) { in env_flags_validate()
/u-boot/tools/env/
A Dfw_env.c536 char *oldval = NULL; in fw_env_write() local
551 oldval = envmatch(name, env); in fw_env_write()
552 if (oldval) in fw_env_write()
556 deleting = (oldval && !(value && strlen(value))); in fw_env_write()
557 creating = (!oldval && (value && strlen(value))); in fw_env_write()
558 overwriting = (oldval && (value && strlen(value) && in fw_env_write()
559 strcmp(oldval, value))); in fw_env_write()
581 if (strcmp(oldval, defval) in fw_env_write()
664 char *oldval; in fw_env_set() local
699 oldval = value; in fw_env_set()
[all …]
/u-boot/drivers/mtd/nand/raw/
A Dnand_bbt.c968 uint8_t oldval; in mark_bbt_region() local
985 oldval = bbt_get_entry(this, block); in mark_bbt_region()
987 if ((oldval != BBT_BLOCK_RESERVED) && in mark_bbt_region()
999 oldval = bbt_get_entry(this, block); in mark_bbt_region()
1001 if (oldval != BBT_BLOCK_RESERVED) in mark_bbt_region()

Completed in 1150 milliseconds