Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/tools/env/
H A Dfw_env.h44 int fw_printenv(int argc, char *argv[], int value_only, struct env_opts *opts);
64 int fw_env_set(int argc, char *argv[], struct env_opts *opts);
101 int fw_parse_script(char *fname, struct env_opts *opts);
112 int fw_env_open(struct env_opts *opts);
148 int fw_env_flush(struct env_opts *opts);
158 int fw_env_close(struct env_opts *opts);
H A Dfw_env.c126 static int parse_config(struct env_opts *opts);
252 int fw_printenv(int argc, char *argv[], int value_only, struct env_opts *opts) in fw_printenv() argument
262 if (!opts) in fw_printenv()
263 opts = &default_opts; in fw_printenv()
265 if (fw_env_open(opts)) in fw_printenv()
281 fw_env_close(opts); in fw_printenv()
304 fw_env_close(opts); in fw_printenv()
309 int fw_env_flush(struct env_opts *opts) in fw_env_flush() argument
313 if (!opts) in fw_env_flush()
314 opts = &default_opts; in fw_env_flush()
[all …]
/rk3399_rockchip-uboot/drivers/dfu/
H A Ddfu_nand.c53 nand_erase_options_t opts; in nand_block_op() local
55 memset(&opts, 0, sizeof(opts)); in nand_block_op()
56 opts.offset = start; in nand_block_op()
57 opts.length = count; in nand_block_op()
58 opts.spread = 1; in nand_block_op()
59 opts.quiet = 1; in nand_block_op()
60 opts.lim = lim; in nand_block_op()
62 ret = nand_erase_opts(mtd, &opts); in nand_block_op()
149 nand_erase_options_t opts; in dfu_flush_medium_nand() local
158 memset(&opts, 0, sizeof(opts)); in dfu_flush_medium_nand()
[all …]
/rk3399_rockchip-uboot/include/
H A Dgeneric-phy.h142 int (*configure)(struct phy *phy, union phy_configure_opts *opts);
161 union phy_configure_opts *opts);
226 int generic_phy_configure(struct phy *phy, union phy_configure_opts *opts);
235 union phy_configure_opts *opts);
336 union phy_configure_opts *opts) in generic_phy_configure() argument
343 union phy_configure_opts *opts) in generic_phy_validate() argument
H A Dnand.h110 const nand_erase_options_t *opts);
H A Dahci.h123 u32 opts; member
/rk3399_rockchip-uboot/common/
H A Dfb_nand.c70 nand_erase_options_t opts; in _fb_nand_erase() local
73 memset(&opts, 0, sizeof(opts)); in _fb_nand_erase()
74 opts.offset = part->offset; in _fb_nand_erase()
75 opts.length = part->size; in _fb_nand_erase()
76 opts.quiet = 1; in _fb_nand_erase()
81 ret = nand_erase_opts(mtd, &opts); in _fb_nand_erase()
H A Dhwconfig.c29 static const char *hwconfig_parse(const char *opts, size_t maxlen, in hwconfig_parse() argument
35 const char *start = opts; in hwconfig_parse()
39 str = strstr(opts, opt); in hwconfig_parse()
44 if (str && (str == opts || strpbrk(str - 1, stopchs) == str - 1) && in hwconfig_parse()
63 opts = end; in hwconfig_parse()
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dnand_util.c53 const nand_erase_options_t *opts) in nand_erase_opts() argument
64 if ((opts->offset & (mtd->erasesize - 1)) != 0) { in nand_erase_opts()
74 erase.addr = opts->offset; in nand_erase_opts()
75 erase_length = lldiv(opts->length + mtd->erasesize - 1, in nand_erase_opts()
86 if (opts->scrub) { in nand_erase_opts()
87 erase.scrub = opts->scrub; in nand_erase_opts()
105 if (opts->lim && (erase.addr >= (opts->offset + opts->lim))) { in nand_erase_opts()
109 if (!opts->scrub) { in nand_erase_opts()
112 if (!opts->quiet) in nand_erase_opts()
118 if (!opts->spread) in nand_erase_opts()
[all …]
/rk3399_rockchip-uboot/cmd/
H A Dnand.c477 nand_erase_options_t opts; in do_nand() local
528 memset(&opts, 0, sizeof(opts)); in do_nand()
529 opts.offset = off; in do_nand()
530 opts.length = size; in do_nand()
531 opts.jffs2 = clean; in do_nand()
532 opts.quiet = quiet; in do_nand()
533 opts.spread = spread; in do_nand()
537 opts.scrub = 1; in do_nand()
541 opts.scrub = 1; in do_nand()
548 ret = nand_erase_opts(mtd, &opts); in do_nand()
/rk3399_rockchip-uboot/drivers/phy/
H A Dphy-rockchip-naneng-edp.c293 union phy_configure_opts *opts) in rockchip_edp_phy_configure() argument
298 ret = rockchip_edp_phy_verify_config(edpphy, &opts->dp); in rockchip_edp_phy_configure()
304 if (opts->dp.set_rate) { in rockchip_edp_phy_configure()
305 ret = rockchip_edp_phy_set_rate(edpphy, &opts->dp); in rockchip_edp_phy_configure()
313 if (opts->dp.set_voltages) { in rockchip_edp_phy_configure()
314 ret = rockchip_edp_phy_set_voltages(edpphy, &opts->dp); in rockchip_edp_phy_configure()
H A Dphy-uclass.c316 int generic_phy_configure(struct phy *phy, union phy_configure_opts *opts) in generic_phy_configure() argument
324 return ops->configure ? ops->configure(phy, opts) : 0; in generic_phy_configure()
328 union phy_configure_opts *opts) in generic_phy_validate() argument
336 return ops->validate ? ops->validate(phy, mode, submode, opts) : 0; in generic_phy_validate()
H A Dphy-rockchip-snps-pcie3.c276 static int rockchip_p3phy_configure(struct phy *phy, union phy_configure_opts *opts) in rockchip_p3phy_configure() argument
280 priv->is_bifurcation = opts->pcie.is_bifurcation; in rockchip_p3phy_configure()
H A Dphy-rockchip-usbdp.c1145 union phy_configure_opts *opts) in rockchip_dpphy_configure() argument
1151 ret = rockchip_dpphy_verify_config(udphy, &opts->dp); in rockchip_dpphy_configure()
1155 if (opts->dp.set_rate) { in rockchip_dpphy_configure()
1156 ret = dp_phy_set_rate(udphy, &opts->dp); in rockchip_dpphy_configure()
1164 if (opts->dp.set_voltages) { in rockchip_dpphy_configure()
1165 ret = dp_phy_set_voltages(udphy, &opts->dp); in rockchip_dpphy_configure()
H A Dphy-rockchip-samsung-hdptx.c1030 union phy_configure_opts *opts) in rockchip_hdptx_phy_configure() argument
1039 ret = rockchip_hdptx_phy_verify_config(hdptx, &opts->dp); in rockchip_hdptx_phy_configure()
1045 if (opts->dp.set_rate) { in rockchip_hdptx_phy_configure()
1046 ret = rockchip_hdptx_phy_set_rate(hdptx, &opts->dp); in rockchip_hdptx_phy_configure()
1053 if (opts->dp.set_voltages) { in rockchip_hdptx_phy_configure()
1054 ret = rockchip_hdptx_phy_set_voltages(hdptx, &opts->dp); in rockchip_hdptx_phy_configure()
/rk3399_rockchip-uboot/board/samsung/common/bootscripts/
H A Dbootzimg.cmd2 …{console} root=/dev/mmcblk${mmcrootdev}p${mmcrootpart} rootfstype=${rootfstype} rootwait ${opts}\";
H A Dautoboot.cmd15 … ${console} root=/dev/mmcblk${mmcrootdev}p${mmcrootpart} rootfstype=${rootfstype} rootwait ${opts}"
/rk3399_rockchip-uboot/doc/
H 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
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A Dmake_fit_atf.py218 opts, args = getopt.getopt(sys.argv[1:], "o:u:b:h")
219 for opt, val in opts:
/rk3399_rockchip-uboot/drivers/ata/
H A Ddwc_ahsata.c352 static void ahci_fill_cmd_slot(struct ahci_ioports *pp, u32 cmd_slot, u32 opts) in ahci_fill_cmd_slot() argument
358 cmd_hdr->opts = cpu_to_le32(opts); in ahci_fill_cmd_slot()
375 u32 opts; in ahci_exec_ata_cmd() local
394 opts = (sizeof(struct sata_fis_h2d) >> 2) | (sg_count << 16); in ahci_exec_ata_cmd()
396 opts |= 0x40; in ahci_exec_ata_cmd()
399 ahci_fill_cmd_slot(pp, cmd_slot, opts); in ahci_exec_ata_cmd()
H A Dahci.c549 static void ahci_fill_cmd_slot(struct ahci_ioports *pp, u32 opts) in ahci_fill_cmd_slot() argument
551 pp->cmd_slot->opts = cpu_to_le32(opts); in ahci_fill_cmd_slot()
656 u32 opts; in ahci_device_data_io() local
676 opts = (fis_len >> 2) | (sg_count << 16) | (is_write << 6); in ahci_device_data_io()
677 ahci_fill_cmd_slot(pp, opts); in ahci_device_data_io()
/rk3399_rockchip-uboot/include/dm/
H A Dof_access.h215 const char **opts);
/rk3399_rockchip-uboot/include/linux/mtd/
H A Drawnand.h990 #define LEGACY_ID_NAND(nm, devid, chipsz, erasesz, opts) \ argument
992 .chipsize = (chipsz), .erasesize = (erasesz), .options = (opts) }
1004 #define EXTENDED_ID_NAND(nm, devid, chipsz, opts) \ argument
1006 .options = (opts) }
/rk3399_rockchip-uboot/drivers/core/
H A Dof_access.c344 const char **opts) in of_find_node_opts_by_path() argument
350 if (opts) in of_find_node_opts_by_path()
351 *opts = separator ? separator + 1 : NULL; in of_find_node_opts_by_path()
/rk3399_rockchip-uboot/drivers/ddr/fsl/
H A Dinteractive.c1812 DATA_OPTIONS(opts, STEP_GATHER_OPTS, 0), in fsl_ddr_parse_interactive_cmd()