Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/mmc/
H A Dbcm2835_sdhci.c99 u32 oldval = (reg == SDHCI_COMMAND) ? shadow : in bcm2835_sdhci_writew() local
104 u32 newval = (oldval & ~mask) | (val << word_shift); in bcm2835_sdhci_writew()
114 u32 oldval = bcm2835_sdhci_raw_readl(host, reg & ~3); in bcm2835_sdhci_writeb() local
118 u32 newval = (oldval & ~mask) | (val << byte_shift); in bcm2835_sdhci_writeb()
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dconf.c170 tristate oldval, newval; in conf_sym() local
177 oldval = sym_get_tristate_value(sym); in conf_sym()
178 switch (oldval) { in conf_sym()
189 if (oldval != no && sym_tristate_within_range(sym, no)) in conf_sym()
191 if (oldval != mod && sym_tristate_within_range(sym, mod)) in conf_sym()
193 if (oldval != yes && sym_tristate_within_range(sym, yes)) in conf_sym()
222 newval = oldval; in conf_sym()
H A Dsymbol.c338 struct symbol_value newval, oldval; in sym_calc_value() local
357 oldval = sym->curr; in sym_calc_value()
462 if (memcmp(&oldval, &sym->curr, sizeof(oldval))) { in sym_calc_value()
524 tristate oldval = sym_get_tristate_value(sym); in sym_set_tristate_value() local
526 if (oldval != val && !sym_tristate_within_range(sym, val)) in sym_set_tristate_value()
552 if (oldval != val) in sym_set_tristate_value()
560 tristate oldval, newval; in sym_toggle_tristate_value() local
562 oldval = newval = sym_get_tristate_value(sym); in sym_toggle_tristate_value()
577 } while (oldval != newval); in sym_toggle_tristate_value()
668 const char *oldval; in sym_set_string_value() local
[all …]
H A Dqconf.cc478 tristate oldval; in setValue() local
488 oldval = sym_get_tristate_value(sym); in setValue()
492 if (oldval == no && item->menu->list) in setValue()
/rk3399_rockchip-uboot/env/
H A Dflags.c503 const char *oldval = NULL; in env_flags_validate() local
506 oldval = item->data; in env_flags_validate()
548 printf("oldval: %s defval: %s\n", oldval, defval); in env_flags_validate()
549 if (strcmp(oldval, defval) != 0) { in env_flags_validate()
/rk3399_rockchip-uboot/tools/env/
H A Dfw_env.c351 char *oldval = NULL; in fw_env_write() local
366 if ((oldval = envmatch (name, env)) != NULL) in fw_env_write()
370 deleting = (oldval && !(value && strlen(value))); in fw_env_write()
371 creating = (!oldval && (value && strlen(value))); in fw_env_write()
372 overwriting = (oldval && (value && strlen(value))); in fw_env_write()
394 if (strcmp(oldval, defval) in fw_env_write()
476 char *oldval; in fw_env_set() local
511 oldval = value; in fw_env_set()
517 free(oldval); in fw_env_set()
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dnand_bbt.c967 uint8_t oldval; in mark_bbt_region() local
984 oldval = bbt_get_entry(this, block); in mark_bbt_region()
986 if ((oldval != BBT_BLOCK_RESERVED) && in mark_bbt_region()
998 oldval = bbt_get_entry(this, block); in mark_bbt_region()
1000 if (oldval != BBT_BLOCK_RESERVED) in mark_bbt_region()