Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 23 of 23) sorted by relevance

/u-boot/tools/env/
A Dfw_env.h38 int fw_printenv(int argc, char *argv[], int value_only, struct env_opts *opts);
58 int fw_env_set(int argc, char *argv[], struct env_opts *opts);
95 int fw_parse_script(char *fname, struct env_opts *opts);
106 int fw_env_open(struct env_opts *opts);
142 int fw_env_flush(struct env_opts *opts);
152 int fw_env_close(struct env_opts *opts);
A Dfw_env.c458 if (!opts) in fw_printenv()
477 fw_env_close(opts); in fw_printenv()
500 fw_env_close(opts); in fw_printenv()
507 if (!opts) in fw_env_flush()
669 if (!opts) in fw_env_set()
688 fw_env_close(opts); in fw_env_set()
719 fw_env_close(opts); in fw_env_set()
752 if (!opts) in fw_parse_script()
843 fw_env_close(opts); in fw_parse_script()
1424 if (!opts) in fw_env_open()
[all …]
/u-boot/drivers/dfu/
A Ddfu_nand.c53 nand_erase_options_t opts; in nand_block_op() local
56 memset(&opts, 0, sizeof(opts)); in nand_block_op()
57 opts.offset = start; in nand_block_op()
58 opts.length = count; in nand_block_op()
59 opts.spread = 1; in nand_block_op()
60 opts.quiet = 1; in nand_block_op()
61 opts.lim = lim; in nand_block_op()
63 ret = nand_erase_opts(mtd, &opts); in nand_block_op()
154 nand_erase_options_t opts; in dfu_flush_medium_nand() local
163 memset(&opts, 0, sizeof(opts)); in dfu_flush_medium_nand()
[all …]
/u-boot/drivers/fastboot/
A Dfb_nand.c71 nand_erase_options_t opts; in _fb_nand_erase() local
74 memset(&opts, 0, sizeof(opts)); in _fb_nand_erase()
75 opts.offset = part->offset; in _fb_nand_erase()
76 opts.length = part->size; in _fb_nand_erase()
77 opts.quiet = 1; in _fb_nand_erase()
82 ret = nand_erase_opts(mtd, &opts); in _fb_nand_erase()
/u-boot/drivers/mtd/nand/raw/
A Dnand_util.c55 const nand_erase_options_t *opts) in nand_erase_opts() argument
76 erase.addr = opts->offset; in nand_erase_opts()
88 if (opts->scrub) { in nand_erase_opts()
89 erase.scrub = opts->scrub; in nand_erase_opts()
107 if (opts->lim && (erase.addr >= (opts->offset + opts->lim))) { in nand_erase_opts()
111 if (!opts->scrub) { in nand_erase_opts()
114 if (!opts->quiet) in nand_erase_opts()
120 if (!opts->spread) in nand_erase_opts()
159 if (!opts->quiet) { in nand_erase_opts()
176 if (opts->jffs2 && result == 0) in nand_erase_opts()
[all …]
/u-boot/common/
A Dhwconfig.c31 static const char *hwconfig_parse(const char *opts, size_t maxlen, in hwconfig_parse() argument
37 const char *start = opts; in hwconfig_parse()
41 str = strstr(opts, opt); in hwconfig_parse()
46 if (str && (str == opts || strpbrk(str - 1, stopchs) == str - 1) && in hwconfig_parse()
65 opts = end; in hwconfig_parse()
/u-boot/cmd/
A Dnand.c465 nand_erase_options_t opts; in do_nand() local
516 memset(&opts, 0, sizeof(opts)); in do_nand()
517 opts.offset = off; in do_nand()
518 opts.length = size; in do_nand()
519 opts.jffs2 = clean; in do_nand()
520 opts.quiet = quiet; in do_nand()
521 opts.spread = spread; in do_nand()
525 opts.scrub = 1; in do_nand()
529 opts.scrub = 1; in do_nand()
536 ret = nand_erase_opts(mtd, &opts); in do_nand()
/u-boot/test/py/tests/test_fs/test_squashfs/
A Dsqfs_common.py44 opts = self.mksquashfs_opts
46 subprocess.run(["mksquashfs " + i_o + opts], shell = True, check = True)
/u-boot/board/samsung/common/bootscripts/
A Dbootzimg.cmd2 …{console} root=/dev/mmcblk${mmcrootdev}p${mmcrootpart} rootfstype=${rootfstype} rootwait ${opts}\";
A Dautoboot.cmd15 … ${console} root=/dev/mmcblk${mmcrootdev}p${mmcrootpart} rootfstype=${rootfstype} rootwait ${opts}"
/u-boot/arch/arm/mach-imx/
A Dcmd_nandbcb.c960 nand_erase_options_t opts; in nandbcb_init() local
972 memset(&opts, 0, sizeof(opts)); in nandbcb_init()
973 opts.offset = off; in nandbcb_init()
974 opts.length = maxsize - 1; in nandbcb_init()
975 ret = nand_erase_opts(mtd, &opts); in nandbcb_init()
1063 nand_erase_options_t opts; in do_nandbcb_bcbonly() local
1104 memset(&opts, 0, sizeof(opts)); in do_nandbcb_bcbonly()
1105 opts.offset = off; in do_nandbcb_bcbonly()
1106 opts.length = g_boot_search_stride * 2; in do_nandbcb_bcbonly()
1107 ret = nand_erase_opts(mtd, &opts); in do_nandbcb_bcbonly()
/u-boot/board/synopsys/axs10x/
A Dheaderize-axs.py49 opts, args = getopt.getopt(sys.argv[1:],
79 for opt, arg in opts:
/u-boot/board/synopsys/hsdk/
A Dheaderize-hsdk.py45 opts, args = getopt.getopt(sys.argv[1:],
72 for opt, arg in opts:
/u-boot/doc/
A DREADME.fsl-ddr302 Note, check "next_step" to show the flow. For example, after edit opts, the
310 print [c<n>] [d<n>] [spd] [dimmparms] [commonparms] [opts] [addresses] [regs]
316 opts - options
320 edit <c#> <d#> <spd|dimmparms|commonparms|opts|addresses|regs> <element> <value>
326 opts - options
333 copy <src c#> <src d#> <spd|dimmparms|commonparms|opts|addresses|regs> <dst c#> <dst d#>
335 DIMM numbers ignored for commonparms, opts, and regs
360 print [c<n>] [d<n>] [spd] [dimmparms] [commonparms] [opts] [addresses] [regs]
403 FSL DDR>edit c0 opts ECC_mode 0
/u-boot/drivers/ata/
A Ddwc_ahsata.c358 static void ahci_fill_cmd_slot(struct ahci_ioports *pp, u32 cmd_slot, u32 opts) in ahci_fill_cmd_slot() argument
364 cmd_hdr->opts = cpu_to_le32(opts); in ahci_fill_cmd_slot()
381 u32 opts; in ahci_exec_ata_cmd() local
400 opts = (sizeof(struct sata_fis_h2d) >> 2) | (sg_count << 16); in ahci_exec_ata_cmd()
402 opts |= 0x40; in ahci_exec_ata_cmd()
405 ahci_fill_cmd_slot(pp, cmd_slot, opts); in ahci_exec_ata_cmd()
A Dahci.c534 static void ahci_fill_cmd_slot(struct ahci_ioports *pp, u32 opts) in ahci_fill_cmd_slot() argument
536 pp->cmd_slot->opts = cpu_to_le32(opts); in ahci_fill_cmd_slot()
641 u32 opts; in ahci_device_data_io() local
661 opts = (fis_len >> 2) | (sg_count << 16) | (is_write << 6); in ahci_device_data_io()
662 ahci_fill_cmd_slot(pp, opts); in ahci_device_data_io()
/u-boot/arch/arm/mach-rockchip/
A Dmake_fit_atf.py219 opts, args = getopt.getopt(sys.argv[1:], "o:u:b:t:h")
220 for opt, val in opts:
/u-boot/include/dm/
A Dof_access.h214 const char **opts);
/u-boot/include/
A Dnand.h109 const nand_erase_options_t *opts);
A Dahci.h122 u32 opts; member
/u-boot/include/linux/mtd/
A Drawnand.h1030 #define LEGACY_ID_NAND(nm, devid, chipsz, erasesz, opts) \ argument
1032 .chipsize = (chipsz), .erasesize = (erasesz), .options = (opts) }
1044 #define EXTENDED_ID_NAND(nm, devid, chipsz, opts) \ argument
1046 .options = (opts) }
/u-boot/drivers/core/
A Dof_access.c347 const char **opts) in of_find_node_opts_by_path() argument
353 if (opts) in of_find_node_opts_by_path()
354 *opts = separator ? separator + 1 : NULL; in of_find_node_opts_by_path()
/u-boot/drivers/ddr/fsl/
A Dinteractive.c1830 DATA_OPTIONS(opts, STEP_GATHER_OPTS, 0), in fsl_ddr_parse_interactive_cmd()

Completed in 36 milliseconds