Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 25 of 78) sorted by relevance

1234

/u-boot/include/
A Dhwconfig.h19 extern int hwconfig_f(const char *opt, char *buf);
25 extern int hwconfig_subarg_cmp_f(const char *opt, const char *subopt,
29 static inline int hwconfig_f(const char *opt, char *buf) in hwconfig_f() argument
67 static inline int hwconfig(const char *opt) in hwconfig() argument
69 return hwconfig_f(opt, NULL); in hwconfig()
74 return hwconfig_arg_f(opt, arglen, NULL); in hwconfig_arg()
79 return hwconfig_arg_cmp_f(opt, arg, NULL); in hwconfig_arg_cmp()
82 static inline int hwconfig_sub(const char *opt, const char *subopt) in hwconfig_sub() argument
84 return hwconfig_sub_f(opt, subopt, NULL); in hwconfig_sub()
90 return hwconfig_subarg_f(opt, subopt, subarglen, NULL); in hwconfig_subarg()
[all …]
A Dgetopt.h30 int opt; member
/u-boot/common/
A Dhwconfig.c32 const char *opt, char *stopchs, char eqch, in hwconfig_parse()
35 size_t optlen = strlen(opt); in hwconfig_parse()
41 str = strstr(opts, opt); in hwconfig_parse()
91 opt, ";", ':', arglen); in __hwconfig()
97 opt, ";", ':', arglen); in __hwconfig()
102 opt, ";", ':', arglen); in __hwconfig()
125 int hwconfig_f(const char *opt, char *buf) in hwconfig_f() argument
127 return !!__hwconfig(opt, NULL, buf); in hwconfig_f()
145 return __hwconfig(opt, arglen, buf); in hwconfig_arg_f()
191 arg = __hwconfig(opt, &arglen, buf); in hwconfig_sub_f()
[all …]
/u-boot/test/py/tests/test_fs/test_squashfs/
A Dtest_sqfs_load.py18 for opt in comp_opts:
21 opt.gen_image(build_dir)
23 opt.clean_source(build_dir)
27 path = os.path.join(build_dir, "sqfs-" + opt.name)
33 for (f, s) in zip(opt.files, opt.sizes):
39 opt.cleanup(build_dir)
43 assert str(opt.sizes[0]) in output
46 opt.cleanup(build_dir)
A Dtest_sqfs_ls.py16 for opt in comp_opts:
18 opt.gen_image(build_dir)
20 opt.clean_source(build_dir)
23 path = os.path.join(build_dir, "sqfs-" + opt.name)
29 assert str(len(opt.files) + 1) + " file(s), 0 dir(s)" in output
34 opt.cleanup(build_dir)
36 opt.cleanup(build_dir)
A Dsqfs_common.py30 def add_opt(self, opt): argument
31 self.mksquashfs_opts += " " + opt
/u-boot/test/lib/
A Dgetopt.c20 int opt; in do_test_getopt() local
24 opt = getopt_silent(gs, args, argv, optstring); in do_test_getopt()
25 if (expected[i] != opt) { in do_test_getopt()
33 expected[i], expected[i], i, opt, opt); in do_test_getopt()
38 opt = getopt_silent(gs, args, argv, optstring); in do_test_getopt()
39 if (opt != -1) { in do_test_getopt()
42 "Expected -1, got '%c' (%d)", opt, opt); in do_test_getopt()
76 ut_asserteq('a', gs.opt); in lib_test_getopt()
79 ut_asserteq('a', gs.opt); in lib_test_getopt()
84 ut_asserteq('d', gs.opt); in lib_test_getopt()
/u-boot/lib/zstd/
A Dzstd_opt.h530 opt[cur].rep[2] = opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_generic()
531 opt[cur].rep[1] = opt[cur - mlen].rep[0]; in ZSTD_compressBlock_opt_generic()
532 opt[cur].rep[0] = opt[cur].off - ZSTD_REP_MOVE_OPT; in ZSTD_compressBlock_opt_generic()
534 opt[cur].rep[2] = (opt[cur].off > 1) ? opt[cur - mlen].rep[1] : opt[cur - mlen].rep[2]; in ZSTD_compressBlock_opt_generic()
535 opt[cur].rep[1] = (opt[cur].off > 0) ? opt[cur - mlen].rep[0] : opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_generic()
537 …((opt[cur].off == ZSTD_REP_MOVE_OPT) && (mlen != 1)) ? (opt[cur - mlen].rep[0] - 1) : (opt[cur - m… in ZSTD_compressBlock_opt_generic()
838 opt[cur].rep[2] = opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_extDict_generic()
839 opt[cur].rep[1] = opt[cur - mlen].rep[0]; in ZSTD_compressBlock_opt_extDict_generic()
842 opt[cur].rep[2] = (opt[cur].off > 1) ? opt[cur - mlen].rep[1] : opt[cur - mlen].rep[2]; in ZSTD_compressBlock_opt_extDict_generic()
843 opt[cur].rep[1] = (opt[cur].off > 0) ? opt[cur - mlen].rep[0] : opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_extDict_generic()
[all …]
/u-boot/lib/efi_loader/
A Defi_image_loader.c303 &opt->Subsystem, in efi_image_parse()
304 efi + opt->SizeOfHeaders, 0); in efi_image_parse()
308 &opt->Subsystem, in efi_image_parse()
312 efi + opt->SizeOfHeaders, 0); in efi_image_parse()
318 bytes_hashed = opt->SizeOfHeaders; in efi_image_parse()
319 align = opt->FileAlignment; in efi_image_parse()
327 &opt->Subsystem, in efi_image_parse()
341 bytes_hashed = opt->SizeOfHeaders; in efi_image_parse()
342 align = opt->FileAlignment; in efi_image_parse()
795 image_base = opt->ImageBase; in efi_load_pe()
[all …]
/u-boot/drivers/dma/
A Dti-edma3.c95 u32 opt; in edma3_set_dest() local
100 opt = __raw_readl(&rg->opt); in edma3_set_dest()
102 opt = (opt & EDMA3_SLOPT_FIFO_WIDTH_MASK) | in edma3_set_dest()
108 __raw_writel(opt, &rg->opt); in edma3_set_dest()
166 u32 opt; in edma3_set_src() local
171 opt = __raw_readl(&rg->opt); in edma3_set_src()
173 opt = (opt & EDMA3_SLOPT_FIFO_WIDTH_MASK) | in edma3_set_src()
179 __raw_writel(opt, &rg->opt); in edma3_set_src()
256 u32 opt; in edma3_set_transfer_params() local
267 opt = __raw_readl(&rg->opt); in edma3_set_transfer_params()
[all …]
/u-boot/board/phytec/phycore_rk3288/
A Dphycore-rk3288.c43 struct rk3288_som opt; in rk3288_board_late_init() local
63 ret = i2c_eeprom_read(dev, 0, (uint8_t *)&opt, in rk3288_board_late_init()
70 if (opt.api_version != 0 || !valid_rk3288_som(&opt)) { in rk3288_board_late_init()
75 if (is_valid_ethaddr(opt.mac)) in rk3288_board_late_init()
76 eth_env_set_enetaddr("ethaddr", opt.mac); in rk3288_board_late_init()
/u-boot/drivers/phy/marvell/
A Dcomphy_mux.c24 int lane, opt, valid; in comphy_mux_check_config() local
35 for (opt = 0, valid = 0; opt < mux_data->max_lane_values; in comphy_mux_check_config()
36 opt++, mux_opt++) { in comphy_mux_check_config()
61 int opt; in comphy_mux_get_mux_value() local
67 for (opt = 0 ; opt < mux_data->max_lane_values; opt++, mux_opt++) { in comphy_mux_get_mux_value()
/u-boot/lib/efi_selftest/
A Defi_selftest_snp.c64 u8 opt[128]; member
147 p.opt[1] = 0x82; in send_dhcp_discover()
148 p.opt[2] = 0x53; in send_dhcp_discover()
149 p.opt[3] = 0x63; in send_dhcp_discover()
150 p.opt[4] = DHCP_MESSAGE_TYPE; in send_dhcp_discover()
151 p.opt[5] = 0x01; /* length */ in send_dhcp_discover()
152 p.opt[6] = DHCPDISCOVER; in send_dhcp_discover()
154 p.opt[8] = 0x02; /* length */ in send_dhcp_discover()
155 p.opt[9] = 0x02; /* 576 bytes */ in send_dhcp_discover()
156 p.opt[10] = 0x40; in send_dhcp_discover()
[all …]
/u-boot/board/synopsys/axs10x/
A Dheaderize-axs.py79 for opt, arg in opts:
80 if opt in ('-h', "--help"): usage(0)
81 if opt in ('-t', "--header-type"): header_type = arg
82 if opt in ('-a', "--arc-id"): arc_id = int(arg, 16)
83 if opt in ('-s', "--spi-flash-offset"): spi_flash_offset = int(arg, 16)
84 if opt in ('-i', "--image"): uboot_bin_filename = arg
85 if opt in ('-e', "--elf"): uboot_elf_filename = arg
/u-boot/cmd/
A Dlog.c93 int opt; in do_log_filter_list() local
100 while ((opt = getopt(&gs, argc, argv, "d:")) > 0) { in do_log_filter_list()
101 switch (opt) { in do_log_filter_list()
156 int opt, err; in do_log_filter_add() local
164 while ((opt = getopt(&gs, argc, argv, "Ac:d:Df:l:L:p")) > 0) { in do_log_filter_add()
165 switch (opt) { in do_log_filter_add()
248 int opt, err; in do_log_filter_remove() local
254 while ((opt = getopt(&gs, argc, argv, "ad:")) > 0) { in do_log_filter_remove()
255 switch (opt) { in do_log_filter_remove()
A Dadtimg.c74 static int adtimg_getopt_u32(char * const opt, char * const name, u32 *optval) in adtimg_getopt_u32() argument
79 if (!opt || !name || !optval) in adtimg_getopt_u32()
82 str = strchr(opt, '='); in adtimg_getopt_u32()
/u-boot/board/synopsys/hsdk/
A Dheaderize-hsdk.py72 for opt, arg in opts:
73 if opt in ('-h', "--help"): usage(0)
74 if opt in ('-a', "--arc-id"): arc_id = int(arg, 16)
75 if opt in ('-i', "--image"): uboot_bin_filename = arg
76 if opt in ('-e', "--elf"): uboot_elf_filename = arg
/u-boot/arch/arm/mach-rockchip/
A Dmake_fit_atf.py220 for opt, val in opts:
221 if opt == "-o":
223 elif opt == "-u":
225 elif opt == "-b":
227 elif opt == "-t":
229 elif opt == "-h":
/u-boot/arch/sandbox/cpu/
A Dstart.c100 struct sandbox_cmdline_option *opt = sorted_opt[i]; in sandbox_early_getopt_check() local
103 if (opt->flag_short >= 0x100) in sandbox_early_getopt_check()
106 printf(" -%c, ", opt->flag_short); in sandbox_early_getopt_check()
109 if (opt->has_arg) in sandbox_early_getopt_check()
110 printf("--%-*s <arg> ", max_arg_len, opt->flag); in sandbox_early_getopt_check()
112 printf("--%-*s", max_noarg_len, opt->flag); in sandbox_early_getopt_check()
115 printf(" %s\n", opt->help); in sandbox_early_getopt_check()
/u-boot/tools/
A Ddumpimage.c68 int opt; in main() local
77 while ((opt = getopt(argc, argv, "hlo:T:p:V")) != -1) { in main()
78 switch (opt) { in main()
/u-boot/lib/
A Dgetopt.c63 gs->opt = curopt; in __getopt()
119 gs->opt = curopt; in __getopt()
/u-boot/arch/arm/include/asm/ti-common/
A Dti-edma3.h63 u32 opt; member
81 u32 opt; member
/u-boot/tools/gdb/
A DMakefile28 BFD_ROOT_DIR = /opt/powerpc
/u-boot/arch/sandbox/include/asm/
A Dgetopt.h31 int (*callback)(struct sandbox_state *state, const char *opt);
/u-boot/scripts/dtc/
A Ddtc.c175 int opt; in main() local
186 while ((opt = util_getopt_long()) != EOF) { in main()
187 switch (opt) { in main()

Completed in 30 milliseconds

1234