/u-boot/scripts/kconfig/tests/choice/ |
A D | __init__.py | 13 def test_oldask0(conf): argument 14 assert conf.oldaskconfig() == 0 18 def test_oldask1(conf): argument 23 def test_allyes(conf): argument 24 assert conf.allyesconfig() == 0 28 def test_allmod(conf): argument 29 assert conf.allmodconfig() == 0 33 def test_allno(conf): argument 34 assert conf.allnoconfig() == 0 38 def test_alldef(conf): argument [all …]
|
/u-boot/drivers/mtd/nand/raw/ |
A D | sunxi_nand_spl.c | 266 if (offs % conf->page_size || len % conf->ecc_size || in nand_read_page() 271 if (conf->randomize) in nand_read_page() 332 int nsectors = conf->page_size / conf->ecc_size; in nand_max_ecc_strength() 381 for (conf->ecc_size = 1024; conf->ecc_size >= min_ecc_size; in nand_detect_ecc_config() 402 ret = nand_read_page(conf, offs, dest, conf->ecc_size); in nand_detect_ecc_config() 444 if (conf->valid) in nand_detect_config() 460 for (conf->page_size = 2048; conf->page_size <= max_page_size; in nand_detect_config() 466 conf->valid = true; in nand_detect_config() 482 if (conf->randomize) in nand_read_buffer() 489 ret = nand_read_page(conf, offs, dest, conf->page_size); in nand_read_buffer() [all …]
|
/u-boot/drivers/pinctrl/ |
A D | pinctrl-at91-pio4.c | 44 u32 param, arg, conf = 0; in atmel_pinctrl_get_pinconf() local 58 conf &= (~ATMEL_PIO_PUEN_MASK); in atmel_pinctrl_get_pinconf() 59 conf &= (~ATMEL_PIO_PDEN_MASK); in atmel_pinctrl_get_pinconf() 62 conf |= ATMEL_PIO_PUEN_MASK; in atmel_pinctrl_get_pinconf() 65 conf |= ATMEL_PIO_PDEN_MASK; in atmel_pinctrl_get_pinconf() 69 conf &= (~ATMEL_PIO_OPD_MASK); in atmel_pinctrl_get_pinconf() 71 conf |= ATMEL_PIO_OPD_MASK; in atmel_pinctrl_get_pinconf() 84 conf |= ATMEL_PIO_IFEN_MASK; in atmel_pinctrl_get_pinconf() 85 conf |= ATMEL_PIO_IFSCEN_MASK; in atmel_pinctrl_get_pinconf() 101 return conf; in atmel_pinctrl_get_pinconf() [all …]
|
/u-boot/scripts/kconfig/ |
A D | streamline_config.pl | 106 my $file = $conf->{"file"}; 111 `$conf->{"test"} $conf->{"file"} 2>/dev/null`; 115 my $exec = $conf->{"exec"}; 233 my $conf = $1; 401 foreach my $conf (@arr) { 405 my $c=$conf; 458 if (!defined($orig_configs{$conf}) || $orig_configs{$conf} eq "y") { 467 $configs{$conf} = 1; 505 if (defined($orig_configs{$conf}) && $orig_configs{$conf} ne "m") { 517 $next_config = $conf; [all …]
|
A D | Makefile | 37 config: $(obj)/conf 74 $(simple-targets): $(obj)/conf 93 savedefconfig: $(obj)/conf 96 defconfig: $(obj)/conf 109 %_defconfig: $(obj)/conf 118 %.config: $(obj)/conf 137 testconfig: $(obj)/conf 173 conf-objs := conf.o zconf.tab.o 175 hostprogs-y := conf 237 $(obj)/.%conf-cfg: $(src)/%conf-cfg.sh FORCE [all …]
|
/u-boot/arch/x86/cpu/broadwell/ |
A D | pinctrl_broadwell.c | 67 memset(conf, '\0', sizeof(*conf)); in broadwell_pinctrl_read_configs() 68 conf->node = node; in broadwell_pinctrl_read_configs() 69 conf->phandle = phandle; in broadwell_pinctrl_read_configs() 72 conf->dir_input = true; in broadwell_pinctrl_read_configs() 75 conf->trigger_level = true; in broadwell_pinctrl_read_configs() 77 conf->output_high = true; in broadwell_pinctrl_read_configs() 81 conf->owner_gpio = true; in broadwell_pinctrl_read_configs() 83 conf->route_smi = true; in broadwell_pinctrl_read_configs() 92 conf++; in broadwell_pinctrl_read_configs() 213 struct pin_info conf[12]; in broadwell_pinctrl_probe() local [all …]
|
/u-boot/scripts/kconfig/tests/rand_nested_choice/ |
A D | __init__.py | 11 def test(conf): argument 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/arch/arm/mach-rockchip/ |
A D | spl-boot-order.c | 115 const char *conf; in board_boot_order() local 125 (conf = fdt_stringlist_get(blob, chosen_node, in board_boot_order() 131 if (strncmp(conf, "same-as-spl", 11) == 0) { in board_boot_order() 132 conf = board_spl_was_booted_from(); in board_boot_order() 133 if (!conf) in board_boot_order() 138 alias = fdt_get_alias(blob, conf); in board_boot_order() 140 conf = alias; in board_boot_order() 143 node = fdt_path_offset(blob, conf); in board_boot_order() 145 debug("%s: could not find %s in FDT\n", __func__, conf); in board_boot_order()
|
/u-boot/scripts/kconfig/tests/choice_value_with_m_dep/ |
A D | __init__.py | 12 def test(conf): argument 13 assert conf.oldaskconfig('config', 'y') == 0 14 assert conf.config_contains('expected_config') 15 assert conf.stdout_contains('expected_stdout')
|
/u-boot/arch/arm/dts/ |
A D | fsl-ls1028a-kontron-sl28-u-boot.dtsi | 100 conf-1 { 106 conf-2 { 112 conf-3 { 118 conf-4 { 156 conf-1 { 161 conf-2 { 166 conf-3 { 171 conf-4 { 176 conf-5 { 205 conf-1 { [all …]
|
A D | zynq-zc702.dts | 207 conf { 213 conf-rx { 218 conf-tx { 230 conf { 236 conf-rx { 269 conf { 294 conf { 308 conf { 321 conf { 361 conf { [all …]
|
A D | zynq-zc706.dts | 151 conf { 157 conf-rx { 163 conf-tx { 188 conf { 211 conf { 225 conf { 237 conf-cd { 250 conf-wp { 265 conf { 271 conf-rx { [all …]
|
/u-boot/common/ |
A D | common_fit.c | 33 int conf, node, len; in fit_find_config_node() local 38 conf = fdt_path_offset(fdt, FIT_CONFS_PATH); in fit_find_config_node() 39 if (conf < 0) { in fit_find_config_node() 41 conf); in fit_find_config_node() 45 dflt_conf_name = fdt_getprop(fdt, conf, "default", &len); in fit_find_config_node() 47 for (node = fdt_first_subnode(fdt, conf); in fit_find_config_node()
|
/u-boot/board/tqc/tqm834x/ |
A D | tqm834x.c | 265 } conf[] = { in get_ddr_bank_size() local 282 for(i = 0; conf[i].size != 0; ++i) { in get_ddr_bank_size() 285 set_cs_config(cs, CSCONFIG_EN | conf[i].col | conf[i].row); in get_ddr_bank_size() 290 if((size == conf[i].size) && (i == detected + 1)) in get_ddr_bank_size() 294 conf[i].row, in get_ddr_bank_size() 295 conf[i].col, in get_ddr_bank_size() 296 conf[i].size >> 20, in get_ddr_bank_size() 309 conf[detected].row, conf[detected].col, conf[detected].size >> 20, base); in get_ddr_bank_size() 313 conf[detected].col); in get_ddr_bank_size() 315 set_cs_bounds(cs, (long)base, conf[detected].size); in get_ddr_bank_size() [all …]
|
/u-boot/arch/arm/mach-imx/imx8/ |
A D | snvs_security_sc.c | 636 struct snvs_security_sc_conf conf = {0}; in do_snvs_cfg() local 641 conf.hp.lock = simple_strtoul(argv[++idx], NULL, 16); in do_snvs_cfg() 660 err = apply_snvs_config(&conf); in do_snvs_cfg() 688 struct snvs_dgo_conf conf = {0}; in do_snvs_dgo_cfg() local 700 err = apply_snvs_dgo_config(&conf); in do_snvs_dgo_cfg() 724 struct tamper_pin_cfg conf = {0}; in do_tamper_pin_cfg() local 729 conf.pad = simple_strtoul(argv[++idx], NULL, 10); in do_tamper_pin_cfg() 732 err = apply_tamper_pin_list_config(&conf, 1); in do_tamper_pin_cfg() 759 struct snvs_security_sc_conf conf = {0}; in do_snvs_clear_status() local 768 &conf.lp.status, NULL, NULL, NULL, in do_snvs_clear_status() [all …]
|
/u-boot/scripts/kconfig/tests/auto_submenu/ |
A D | __init__.py | 10 def test(conf): argument 11 assert conf.oldaskconfig() == 0 12 assert conf.stdout_contains('expected_stdout')
|
/u-boot/scripts/kconfig/tests/err_recursive_dep/ |
A D | __init__.py | 8 def test(conf): argument 9 assert conf.oldaskconfig() == 1 10 assert conf.stderr_contains('expected_stderr')
|
/u-boot/scripts/kconfig/tests/err_recursive_inc/ |
A D | __init__.py | 8 def test(conf): argument 9 assert conf.oldaskconfig() != 0 10 assert conf.stderr_contains('expected_stderr')
|
/u-boot/scripts/kconfig/tests/inter_choice/ |
A D | __init__.py | 12 def test(conf): argument 13 assert conf.defconfig('defconfig') == 0 14 assert conf.config_contains('expected_config')
|
/u-boot/scripts/kconfig/tests/new_choice_with_dep/ |
A D | __init__.py | 12 def test(conf): argument 13 assert conf.oldconfig('config', 'y') == 0 14 assert conf.stdout_contains('expected_stdout')
|
/u-boot/scripts/kconfig/tests/no_write_if_dep_unmet/ |
A D | __init__.py | 17 def test(conf): argument 18 assert conf.oldaskconfig('config', 'n') == 0 19 assert conf.config_matches('expected_config')
|
/u-boot/drivers/pinctrl/nxp/ |
A D | pinctrl-mxs.c | 26 static unsigned long mxs_dt_node_to_map(struct udevice *conf) in mxs_dt_node_to_map() argument 32 ret = dev_read_u32(conf, "fsl,drive-strength", &val); in mxs_dt_node_to_map() 36 ret = dev_read_u32(conf, "fsl,voltage", &val); in mxs_dt_node_to_map() 40 ret = dev_read_u32(conf, "fsl,pull-up", &val); in mxs_dt_node_to_map() 63 static int mxs_pinctrl_set_state(struct udevice *dev, struct udevice *conf) in mxs_pinctrl_set_state() argument 70 debug("\n%s: set state: %s\n", __func__, conf->name); in mxs_pinctrl_set_state() 72 size = dev_read_size(conf, "fsl,pinmux-ids"); in mxs_pinctrl_set_state() 78 conf->name); in mxs_pinctrl_set_state() 88 ret = dev_read_u32_array(conf, "fsl,pinmux-ids", pin_data, npins); in mxs_pinctrl_set_state() 95 config = mxs_dt_node_to_map(conf); in mxs_pinctrl_set_state()
|
/u-boot/arch/arm/mach-aspeed/ast2600/ |
A D | board_common.c | 71 uint32_t conf; in board_add_ram_info() local 89 conf = readl(MCR_CONF); in board_add_ram_info() 91 ecc = conf & MCR_CONF_ECC_EN; in board_add_ram_info() 92 act_size = 0x100 << ((conf & MCR_CONF_MEMSZ_MASK) >> MCR_CONF_MEMSZ_SHIFT); in board_add_ram_info() 93 vga_rsvd = 0x8 << ((conf & MCR_CONF_VGA_MEMSZ_MASK) >> MCR_CONF_VGA_MEMSZ_SHIFT); in board_add_ram_info()
|
/u-boot/drivers/rtc/ |
A D | rv3029.c | 386 u8 conf; /* trickle config bits */ in rv3029_trickle_config() member 390 .conf = RV3029_TRICKLE_1K | RV3029_TRICKLE_5K | in rv3029_trickle_config() 394 .conf = RV3029_TRICKLE_1K | RV3029_TRICKLE_5K | in rv3029_trickle_config() 398 .conf = RV3029_TRICKLE_1K | RV3029_TRICKLE_5K | in rv3029_trickle_config() 402 .conf = RV3029_TRICKLE_1K | RV3029_TRICKLE_5K, in rv3029_trickle_config() 409 .conf = RV3029_TRICKLE_1K | RV3029_TRICKLE_20K, in rv3029_trickle_config() 412 .conf = RV3029_TRICKLE_1K | RV3029_TRICKLE_80K, in rv3029_trickle_config() 415 .conf = RV3029_TRICKLE_1K, in rv3029_trickle_config() 428 .conf = RV3029_TRICKLE_5K, in rv3029_trickle_config() 434 .conf = RV3029_TRICKLE_20K, in rv3029_trickle_config() [all …]
|
/u-boot/drivers/sound/ |
A D | ivybridge_sound.c | 30 int conf; in bd82x6x_azalia_probe() local 49 conf = pch_ioctl(pch, PCH_REQ_HDA_CONFIG, NULL, 0); in bd82x6x_azalia_probe() 50 log_debug("conf = %x\n", conf); in bd82x6x_azalia_probe() 51 if (conf >= 0) { in bd82x6x_azalia_probe() 54 conf); in bd82x6x_azalia_probe()
|