Home
last modified time | relevance | path

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

12345678910>>...13

/rk3399_rockchip-uboot/drivers/mtd/spi/
H A Dsf_dataflash.c72 uint8_t command[16]; member
124 uint8_t *command; in spi_dataflash_erase() local
134 memset(dataflash->command, 0 , sizeof(dataflash->command)); in spi_dataflash_erase()
135 command = dataflash->command; in spi_dataflash_erase()
169 command[0] = do_block ? OP_ERASE_BLOCK : OP_ERASE_PAGE; in spi_dataflash_erase()
170 command[1] = (uint8_t)(pageaddr >> 16); in spi_dataflash_erase()
171 command[2] = (uint8_t)(pageaddr >> 8); in spi_dataflash_erase()
172 command[3] = 0; in spi_dataflash_erase()
176 command[0], command[1], command[2], command[3], in spi_dataflash_erase()
179 status = spi_write_then_read(spi, command, 4, NULL, NULL, 0); in spi_dataflash_erase()
[all …]
/rk3399_rockchip-uboot/lib/
H A Dtpm.c202 static uint32_t tpm_command_size(const void *command) in tpm_command_size() argument
205 return get_unaligned_be32(command + command_size_offset); in tpm_command_size()
232 static uint32_t tpm_sendrecv_command(const void *command, in tpm_sendrecv_command() argument
250 err = tpm_xfer(dev, command, tpm_command_size(command), in tpm_sendrecv_command()
274 const uint8_t command[12] = { in tpm_startup() local
281 0, command, sizeof(command), in tpm_startup()
290 const uint8_t command[10] = { in tpm_self_test_full() local
293 return tpm_sendrecv_command(command, NULL, NULL); in tpm_self_test_full()
298 const uint8_t command[10] = { in tpm_continue_self_test() local
301 return tpm_sendrecv_command(command, NULL, NULL); in tpm_continue_self_test()
[all …]
/rk3399_rockchip-uboot/drivers/sysreset/
H A Dsysreset-syscon-reboot.c15 struct command { struct
20 static const struct command static_defined_command[] = { argument
27 char *command; in syscon_reboot_request_by_mode() local
34 command = calloc(1, strlen(mode) + sizeof(prefix)); in syscon_reboot_request_by_mode()
35 if (!command) in syscon_reboot_request_by_mode()
38 strcat(command, prefix); in syscon_reboot_request_by_mode()
39 strcat(command, mode); in syscon_reboot_request_by_mode()
41 magic = dev_read_u32_default(dev, command, BOOT_NORMAL); in syscon_reboot_request_by_mode()
54 free(command); in syscon_reboot_request_by_mode()
/rk3399_rockchip-uboot/tools/buildman/
H A Dfunc_test.py16 import command
183 command.test_result = self._HandleCommand
218 return command.RunPipe([[self._buildman_pathname] + list(args)],
231 command.test_result = None
239 command.test_result = None
248 command.test_result = command.CommandResult(return_code=1)
252 command.test_result = command.CommandResult(return_code=0)
260 return command.CommandResult(return_code=0)
262 return command.CommandResult(return_code=0, stdout=commit_shortlog)
266 return command.CommandResult(return_code=0,
[all …]
/rk3399_rockchip-uboot/tools/patman/
H A Dgitutil.py6 import command
65 stdout = command.RunPipe(pipe, capture=True, oneline=True).stdout
79 stdout = command.RunPipe([pipe], capture=True, oneline=True).stdout
102 result = command.RunPipe(pipe, capture=True, capture_stderr=True,
128 remote = command.OutputOneLine('git', '--git-dir', git_dir, 'config',
130 merge = command.OutputOneLine('git', '--git-dir', git_dir, 'config',
173 result = command.RunPipe(pipe, capture=True, capture_stderr=True,
205 stdout = command.RunPipe(pipe, capture=True, oneline=True).stdout
224 result = command.RunPipe([pipe], capture=True, raise_on_error=False,
236 result = command.RunPipe([pipe], capture=True, cwd=output_dir,
[all …]
/rk3399_rockchip-uboot/cmd/mvebu/
H A DKconfig9 For details about bubt command please see the documentation
21 Allow usage of NAND flash as a target for "bubt" command
22 For details about bubt command please see the documentation
30 Allow usage of SPI flash as a target for "bubt" command
31 For details about bubt command please see the documentation
39 Allow usage of eMMC/SD device as a target for "bubt" command
40 For details about bubt command please see the documentation
46 string "Default image name for bubt command"
50 MVEBU "bubt" command if the source file name is omitted
/rk3399_rockchip-uboot/doc/
H A DREADME.rockusb21 The Usage of Rockusb command is:
27 On your U-Boot console, type this command to enter rockusb mode.
28 On your host PC. use lsusb command. you should see a usb device
35 use rkdeveloptool wl command to write lba. BeginSec is the lba on device
40 to flash U-Boot image use below command. U-Boot binary is made by mkimage.
45 There are plenty of Rockusb command. but wl(write lba) and
46 rd(reboot) command. These two command can let people flash
H A DREADME.commands2 Commands are added to U-Boot by creating a new command structure.
3 This is done by first including command.h, then using the U_BOOT_CMD() macro
6 U_BOOT_CMD(name,maxargs,repeatable,command,"usage","help")
11 command: Function pointer (*cmd)(struct cmd_tbl_s *, int, int, char *[]);
24 command array can be iterated over using the linker lists macros.
30 If a new board is defined do not forget to define the command section
H A DREADME.bootmenu7 ANSI terminal bootmenu command
9 The "bootmenu" command uses U-Boot menu interfaces and provides
14 menu entry invokes an U-Boot command (or a list of commands)
17 The "bootmenu" command interprets ANSI escape sequencies, so
41 First (optional) argument of the "bootmenu" command is a delay specifier
44 the argument of the "bootmenu" command is not specified, the default delay
46 the console (or on the screen) and the command of the first menu entry will
52 the bootmenu terminates and the usual U-Boot command prompt is presented
85 To enable the "bootmenu" command add following definitions to the
H A DREADME.sh7752evb25 This board specific command:
28 This board has the following its specific command:
43 *) We have to input the command as a single line
45 *) We have to reset after input the command.
H A DREADME.sh7753evb25 This board specific command:
28 This board has the following its specific command:
43 *) We have to input the command as a single line
45 *) We have to reset after input the command.
/rk3399_rockchip-uboot/arch/arm/mach-imx/
H A DKconfig38 bool "Support the 'bmode' command"
42 This enables the 'bmode' (bootmode) command for forcing
48 will set it back to normal. This command currently
52 bool "Support the 'dek_blob' command"
54 This enables the 'dek_blob' command which is used with the
55 Freescale secure boot mechanism. This command encapsulates and
60 bool "Support the 'hdmidet' command"
62 This enables the 'hdmidet' command which detects if an HDMI monitor
/rk3399_rockchip-uboot/cmd/
H A Dbootmenu.c29 char *command; /* hush command of entry */ member
241 free(iter->command); in bootmenu_destroy()
288 entry->command = malloc(len + 1); in bootmenu_create()
289 if (!entry->command) { in bootmenu_create()
294 memcpy(entry->command, sep + 1, len); in bootmenu_create()
295 entry->command[len] = 0; in bootmenu_create()
327 entry->command = strdup(""); in bootmenu_create()
328 if (!entry->command) { in bootmenu_create()
362 char *command = NULL; in bootmenu_show() local
412 command = strdup(iter->command); in bootmenu_show()
[all …]
H A DKconfig7 Enable U-Boot's command-line functions. This provides a means
10 Various commands and command categorys can be indivdually enabled.
18 This option enables the "hush" shell (from Busybox) as command line
19 interpreter, thus enabling powerful command line syntax like
30 This string is displayed in the command line to the left of the
88 autoboot starts booting, U-Boot gives a command prompt. The
101 U-Boot gives a command prompt. The U-Boot prompt never
149 command. This provides information of which options are enabled on
186 Run the command stored in the environment "bootcmd", i.e.
232 it can be used with the 'bootefi hello' command. This is useful
[all …]
/rk3399_rockchip-uboot/board/renesas/sh7785lcr/
H A DREADME.sh7785lcr49 "pmb" command, this mode can use 512MB DDR-SDRAM.
61 b) after "pmb" command
68 This board specific command:
71 This board has the following its specific command:
81 This is self-check command. This command has the following options:
103 This command outputs MAC address of this board.
112 This command writes MAC address of this board.
120 This command change PMB for DDR-SDRAM all mapping. However you cannot use
121 NOR Flash and USB Host on U-Boot when you run this command.
/rk3399_rockchip-uboot/cmd/fastboot/
H A DKconfig21 bool "Enable FASTBOOT command"
24 This enables the command "fastboot" which enables the Android
71 bool "Enable FASTBOOT FLASH command"
73 The fastboot protocol includes a "flash" command for writing
75 this to enable the "fastboot flash" command.
81 The fastboot "flash" command requires additional information
86 bool "Enable FASTBOOT OEM UNLOCK command"
89 This enables the command "fastboot oem unlock" the fastboot
90 oem unlock command requires tee security storage to store
/rk3399_rockchip-uboot/drivers/spi/
H A Dtegra20_slink.c65 u32 command; /* SLINK_COMMAND_0 register */ member
156 reg = readl(&regs->command); in tegra30_spi_claim_bus()
158 writel(reg, &regs->command); in tegra30_spi_claim_bus()
159 debug("%s: COMMAND = %08x\n", __func__, readl(&regs->command)); in tegra30_spi_claim_bus()
180 setbits_le32(&priv->regs->command, SLINK_CMD_CS_VAL); in spi_cs_activate()
190 clrbits_le32(&priv->regs->command, SLINK_CMD_CS_VAL); in spi_cs_deactivate()
226 debug("%s entry: COMMAND = %08x\n", __func__, readl(&regs->command)); in tegra30_spi_xfer()
253 clrsetbits_le32(&regs->command, SLINK_CMD_BIT_LENGTH_MASK, in tegra30_spi_xfer()
256 setbits_le32(&regs->command, SLINK_CMD_GO); in tegra30_spi_xfer()
331 reg = readl(&regs->command); in tegra30_spi_set_mode()
[all …]
H A Dtegra20_sflash.c59 u32 command; /* SPI_COMMAND_0 register */ member
155 clrsetbits_le32(&regs->command, SPI_CMD_ACTIVE_SCLK_MASK | in tegra20_sflash_claim_bus()
157 debug("%s: COMMAND = %08x\n", __func__, readl(&regs->command)); in tegra20_sflash_claim_bus()
186 setbits_le32(&priv->regs->command, SPI_CMD_CS_VAL); in spi_cs_activate()
196 clrbits_le32(&priv->regs->command, SPI_CMD_CS_VAL); in spi_cs_deactivate()
228 reg = readl(&regs->command); in tegra20_sflash_xfer()
230 writel(reg, &regs->command); in tegra20_sflash_xfer()
231 debug("spi_xfer: COMMAND = %08x\n", readl(&regs->command)); in tegra20_sflash_xfer()
254 clrsetbits_le32(&regs->command, SPI_CMD_BIT_LENGTH_MASK, in tegra20_sflash_xfer()
257 setbits_le32(&regs->command, SPI_CMD_GO); in tegra20_sflash_xfer()
/rk3399_rockchip-uboot/board/renesas/sh7757lcr/
H A DREADME.sh7757lcr26 This board specific command:
29 This board has the following its specific command:
37 If we run this command, SH4 can control the G200.
51 *) We have to input the command as a single line
53 *) We have to reset after input the command.
/rk3399_rockchip-uboot/drivers/crypto/fsl/
H A Ddesc_constr.h135 static inline void append_cmd(u32 *desc, u32 command) in append_cmd() argument
139 *cmd = command; in append_cmd()
157 static inline u32 *write_cmd(u32 *desc, u32 command) in write_cmd() argument
159 *desc = command; in write_cmd()
165 u32 command) in append_cmd_ptr() argument
167 append_cmd(desc, command | len); in append_cmd_ptr()
173 unsigned int len, u32 command) in append_cmd_ptr_extlen() argument
175 append_cmd(desc, command); in append_cmd_ptr_extlen()
176 if (!(command & (SQIN_RTO | SQIN_PRE))) in append_cmd_ptr_extlen()
182 u32 command) in append_cmd_data() argument
[all …]
/rk3399_rockchip-uboot/drivers/gpio/
H A Dpca9698.c31 u8 command = offset | 0x80; /* autoincrement */ in pca9698_read40() local
33 return i2c_read(addr, command, 1, buffer, PCA9698_BUFFER_SIZE); in pca9698_read40()
38 u8 command = offset | 0x80; /* autoincrement */ in pca9698_write40() local
40 return i2c_write(addr, command, 1, buffer, PCA9698_BUFFER_SIZE); in pca9698_write40()
/rk3399_rockchip-uboot/drivers/tpm/
H A DKconfig21 The usual tpm operations and the 'tpm' command can be used to talk
30 The usual tpm operations and the 'tpm' command can be used to talk
54 The usual tpm operations and the 'tpm' command can be used to talk
65 available using the 'tpm' command, too.
72 The usual tpm operations and the 'tpm' command can be used to talk
81 The usual tpm operations and the 'tpm' command can be used to talk
90 The functionality is available via the 'tpm' command as well.
98 The functionality is available via the 'tpm' command as well.
105 The functionality is available via the 'tpm' command as well.
/rk3399_rockchip-uboot/board/Marvell/db-88f6820-gp/
H A DREADME8 command:
14 problems with the "sf update" command. This does not
15 work reliable. So here this command should be used:
/rk3399_rockchip-uboot/doc/driver-model/
H A Dpmic-framework.txt74 For driving the regulator attributes, auto setting function or command line
99 The 'pmic; command also supports the new API. So the pmic command can be enabled
101 The new pmic command allows to:
103 - choose the current device (like the mmc command)
107 This command can use only UCLASS_PMIC devices, since this uclass is designed
135 The 'regulator' command also supports the new API. The command allow:
137 - choose the current device (like the mmc command)
140 For more information, please refer to the command file.
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dtegra_nand.c123 if ((readl(&reg->command) & CMD_GO) || in nand_waitfor_cmd_completion()
162 &info->reg->command); in read_byte()
189 &info->reg->command); in read_buf()
255 static void nand_command(struct mtd_info *mtd, unsigned int command, in nand_command() argument
271 if (command == NAND_CMD_READOOB) { in nand_command()
274 command = NAND_CMD_READ0; in nand_command()
293 switch (command) { in nand_command()
298 &info->reg->command); in nand_command()
304 &info->reg->command); in nand_command()
329 &info->reg->command); in nand_command()
[all …]

12345678910>>...13