/u-boot/scripts/kconfig/tests/choice_value_with_m_dep/ |
H A D | __init__.py | 12 def test(conf): 13 assert conf.oldaskconfig('config', 'y') == 0 14 assert conf.config_contains('expected_config') 15 assert conf.stdout_contains('expected_stdout')
|
/u-boot/scripts/kconfig/tests/choice/ |
H A D | __init__.py | 13 def test_oldask0(conf): 14 assert conf.oldaskconfig() == 0 15 assert conf.stdout_contains('oldask0_expected_stdout') 18 def test_oldask1(conf): 19 assert conf.oldaskconfig('oldask1_config') == 0 20 assert conf.stdout_contains('oldask1_expected_stdout') 23 def test_allyes(conf): 24 assert conf.allyesconfig() == 0 25 assert conf.config_contains('allyes_expected_config') 28 def test_allmod(conf) [all...] |
/u-boot/scripts/kconfig/tests/auto_submenu/ |
H A D | __init__.py | 10 def test(conf): 11 assert conf.oldaskconfig() == 0 12 assert conf.stdout_contains('expected_stdout')
|
/u-boot/scripts/kconfig/tests/no_write_if_dep_unmet/ |
H A D | __init__.py | 17 def test(conf): 18 assert conf.oldaskconfig('config', 'n') == 0 19 assert conf.config_matches('expected_config')
|
/u-boot/scripts/kconfig/tests/inter_choice/ |
H A D | __init__.py | 12 def test(conf): 13 assert conf.defconfig('defconfig') == 0 14 assert conf.config_contains('expected_config')
|
/u-boot/scripts/kconfig/tests/new_choice_with_dep/ |
H A D | __init__.py | 12 def test(conf): 13 assert conf.oldconfig('config', 'y') == 0 14 assert conf.stdout_contains('expected_stdout')
|
/u-boot/scripts/kconfig/tests/err_recursive_inc/ |
H A D | __init__.py | 8 def test(conf): 9 assert conf.oldaskconfig() != 0 10 assert conf.stderr_contains('expected_stderr')
|
/u-boot/scripts/kconfig/tests/err_recursive_dep/ |
H A D | __init__.py | 8 def test(conf): 9 assert conf.oldaskconfig() == 1 10 assert conf.stderr_contains('expected_stderr')
|
/u-boot/scripts/kconfig/tests/rand_nested_choice/ |
H A D | __init__.py | 11 def test(conf): 13 assert conf.randconfig() == 0 14 assert (conf.config_contains('expected_stdout0') or 15 conf.config_contains('expected_stdout1') or 16 conf.config_contains('expected_stdout2'))
|
/u-boot/drivers/mtd/nand/raw/ |
H A D | sunxi_nand_spl.c | 203 static void nand_apply_config(const struct nfc_config *conf) argument 211 writel(val | NFC_CTL_PAGE_SIZE(conf->page_size), 213 writel(conf->ecc_size, SUNXI_NFC_BASE + NFC_CNT); 214 writel(conf->page_size, SUNXI_NFC_BASE + NFC_SPARE_AREA); 217 static int nand_load_page(const struct nfc_config *conf, u32 offs) argument 219 int page = offs / conf->page_size; 230 ((conf->addr_cycles - 1) << NFC_ADDR_NUM_OFFSET)); 257 static int nand_read_page(const struct nfc_config *conf, u32 offs, argument 260 int nsectors = len / conf->ecc_size; 262 int oob_chunk_sz = ecc_bytes[conf 330 nand_max_ecc_strength(struct nfc_config *conf) argument 370 nand_detect_ecc_config(struct nfc_config *conf, u32 offs, void *dest) argument 443 nand_detect_config(struct nfc_config *conf, u32 offs, void *dest) argument 476 nand_read_buffer(struct nfc_config *conf, uint32_t offs, unsigned int size, void *dest) argument 527 static struct nfc_config conf; variable in typeref:struct:nfc_config [all...] |
/u-boot/drivers/mfd/ |
H A D | atmel-smc.c | 19 * atmel_smc_cs_conf_init - initialize a SMC CS conf 20 * @conf: the SMC CS conf to initialize 24 void atmel_smc_cs_conf_init(struct atmel_smc_cs_conf *conf) argument 26 memset(conf, 0, sizeof(*conf)); 83 * atmel_smc_cs_conf_set_timing - set the SMC CS conf Txx parameter to a 85 * @conf: SMC CS conf descriptor 92 * @conf 97 atmel_smc_cs_conf_set_timing(struct atmel_smc_cs_conf *conf, unsigned int shift, unsigned int ncycles) argument 139 atmel_smc_cs_conf_set_setup(struct atmel_smc_cs_conf *conf, unsigned int shift, unsigned int ncycles) argument 178 atmel_smc_cs_conf_set_pulse(struct atmel_smc_cs_conf *conf, unsigned int shift, unsigned int ncycles) argument 217 atmel_smc_cs_conf_set_cycle(struct atmel_smc_cs_conf *conf, unsigned int shift, unsigned int ncycles) argument 249 atmel_smc_cs_conf_apply(struct regmap *regmap, int cs, const struct atmel_smc_cs_conf *conf) argument 269 atmel_hsmc_cs_conf_apply(struct regmap *regmap, const struct atmel_hsmc_reg_layout *layout, int cs, const struct atmel_smc_cs_conf *conf) argument 290 atmel_smc_cs_conf_get(struct regmap *regmap, int cs, struct atmel_smc_cs_conf *conf) argument 310 atmel_hsmc_cs_conf_get(struct regmap *regmap, const struct atmel_hsmc_reg_layout *layout, int cs, struct atmel_smc_cs_conf *conf) argument [all...] |
/u-boot/arch/arm/mach-rockchip/ |
H A D | spl-boot-order.c | 114 const char *conf; local 124 (conf = fdt_stringlist_get(blob, chosen_node, 130 if (strncmp(conf, "same-as-spl", 11) == 0) { 131 conf = board_spl_was_booted_from(); 132 if (!conf) 137 alias = fdt_get_alias(blob, conf); 139 conf = alias; 142 node = fdt_path_offset(blob, conf); 144 debug("%s: could not find %s in FDT\n", __func__, conf); 152 __func__, conf); 183 const char *conf; local [all...] |
/u-boot/arch/x86/cpu/broadwell/ |
H A D | pinctrl_broadwell.c | 49 struct pin_info *conf, int max_pins) 67 memset(conf, '\0', sizeof(*conf)); 68 conf->node = node; 69 conf->phandle = phandle; 70 conf->mode_gpio = fdtdec_get_bool(blob, node, "mode-gpio"); 72 conf->dir_input = true; 73 conf->invert = fdtdec_get_bool(blob, node, "invert"); 75 conf->trigger_level = true; 77 conf 48 broadwell_pinctrl_read_configs(struct udevice *dev, struct pin_info *conf, int max_pins) argument 99 broadwell_pinctrl_lookup_phandle(struct pin_info *conf, int conf_count, int phandle) argument 112 broadwell_pinctrl_read_pins(struct udevice *dev, struct pin_info *conf, int conf_count, int gpio_conf[], int num_gpios) argument 213 struct pin_info conf[12]; local [all...] |
/u-boot/boot/ |
H A D | common_fit.c | 38 int conf, node, len; local 43 conf = fdt_path_offset(fdt, FIT_CONFS_PATH); 44 if (conf < 0) { 46 conf); 50 dflt_conf_name = fdt_getprop(fdt, conf, "default", &len); 52 for (node = fdt_first_subnode(fdt, conf);
|
/u-boot/drivers/pinctrl/ |
H A D | pinctrl-at91-pio4.c | 69 u32 param, arg, conf = 0; local 83 conf |= ATMEL_PIO_SR; 87 conf &= (~ATMEL_PIO_PUEN_MASK); 88 conf &= (~ATMEL_PIO_PDEN_MASK); 91 conf |= ATMEL_PIO_PUEN_MASK; 94 conf |= ATMEL_PIO_PDEN_MASK; 98 conf &= (~ATMEL_PIO_OPD_MASK); 100 conf |= ATMEL_PIO_OPD_MASK; 104 conf |= ATMEL_PIO_SCHMITT_MASK; 106 conf 162 u32 i, conf; local [all...] |
/u-boot/scripts/kconfig/ |
H A D | streamline_config.pl | 105 foreach my $conf (@searchconfigs) { 106 my $file = $conf->{"file"}; 110 if (defined($conf->{"test"})) { 111 `$conf->{"test"} $conf->{"file"} 2>/dev/null`; 115 my $exec = $conf->{"exec"}; 233 my $conf = $1; 234 if (defined($selects{$conf})) { 235 $selects{$conf} .= " " . $config; 237 $selects{$conf} [all...] |
/u-boot/tools/ |
H A D | renesas_spkgimage.c | 29 static struct config_file conf; variable in typeref:struct:config_file 57 conf.version = check_range(name, value, 1, 15); 59 conf.ecc_enable = check_range(name, value, 0, 1); 61 conf.ecc_block_size = check_range(name, value, 0, 2); 63 conf.ecc_scheme = check_range(name, value, 0, 7); 65 conf.ecc_bytes = check_range(name, value, 0, 255); 67 conf.blp_len = value ? SPKG_BLP_SIZE : 0; 73 conf.padding = check_range(name, value, 1, INT_MAX); 112 if (!conf.padding) 113 conf [all...] |
/u-boot/include/linux/mfd/syscon/ |
H A D | atmel-smc.h | 96 void atmel_smc_cs_conf_init(struct atmel_smc_cs_conf *conf); 97 int atmel_smc_cs_conf_set_timing(struct atmel_smc_cs_conf *conf, 100 int atmel_smc_cs_conf_set_setup(struct atmel_smc_cs_conf *conf, 102 int atmel_smc_cs_conf_set_pulse(struct atmel_smc_cs_conf *conf, 104 int atmel_smc_cs_conf_set_cycle(struct atmel_smc_cs_conf *conf, 107 const struct atmel_smc_cs_conf *conf); 110 int cs, const struct atmel_smc_cs_conf *conf); 112 struct atmel_smc_cs_conf *conf); 115 int cs, struct atmel_smc_cs_conf *conf);
|
/u-boot/ |
H A D | .checkpatch.conf | 33 --min-conf-desc-length=2
|
/u-boot/tools/patman/ |
H A D | .checkpatch.conf | 33 --min-conf-desc-length=2
|
/u-boot/arch/arm/mach-aspeed/ast2600/ |
H A D | board_common.c | 71 uint32_t conf; local 89 conf = readl(MCR_CONF); 91 ecc = conf & MCR_CONF_ECC_EN; 92 act_size = 0x100 << ((conf & MCR_CONF_MEMSZ_MASK) >> MCR_CONF_MEMSZ_SHIFT); 93 vga_rsvd = 0x8 << ((conf & MCR_CONF_VGA_MEMSZ_MASK) >> MCR_CONF_VGA_MEMSZ_SHIFT);
|
/u-boot/arch/arm/mach-imx/imx8/ |
H A D | snvs_security_sc.c | 299 debug("Failed to set conf id 0x%x with values ", id); 440 debug("Failed to set conf id 0x%x : 0x%.8x", _id, *_pdata); 501 debug("Failed to set conf pad 0x%x : 0x%.8x", _pad, _value); 631 struct snvs_security_sc_conf conf = {0}; local 636 conf.hp.lock = hextoul(argv[++idx], NULL); 637 conf.hp.secvio_ctl = hextoul(argv[++idx], NULL); 638 conf.lp.lock = hextoul(argv[++idx], NULL); 639 conf.lp.secvio_ctl = hextoul(argv[++idx], NULL); 640 conf.lp.tamper_filt_cfg = hextoul(argv[++idx], NULL); 641 conf 683 struct snvs_dgo_conf conf = {0}; local 719 struct tamper_pin_cfg conf = {0}; local 754 struct snvs_security_sc_conf conf = {0}; local [all...] |
/u-boot/include/renesas/ |
H A D | rzg2l-pfc.h | 66 #define RZG2L_PINMUX_TO_PORT(conf) (((conf) & MUX_PIN_ID_MASK) / RZG2L_PINS_PER_PORT) 67 #define RZG2L_PINMUX_TO_PIN(conf) (((conf) & MUX_PIN_ID_MASK) % RZG2L_PINS_PER_PORT) 68 #define RZG2L_PINMUX_TO_FUNC(conf) (((conf) & MUX_FUNC_MASK) >> 16)
|
/u-boot/arch/mips/ |
H A D | Makefile.postlink | 8 -include include/config/auto.conf
|
/u-boot/include/ |
H A D | ioports.h | 37 unsigned char conf:1; /* if 1, configure this port */ member in struct:__anon1239
|