| /rk3399_rockchip-uboot/cmd/ |
| H A D | trace.c | 83 const char *cmd = argc < 2 ? NULL : argv[1]; in do_trace() local 85 if (!cmd) in do_trace() 87 switch (*cmd) { in do_trace()
|
| H A D | sf.c | 562 const char *cmd; in do_spi_flash() local 569 cmd = argv[1]; in do_spi_flash() 573 if (strcmp(cmd, "probe") == 0) { in do_spi_flash() 584 if (strcmp(cmd, "read") == 0 || strcmp(cmd, "write") == 0 || in do_spi_flash() 585 strcmp(cmd, "update") == 0) in do_spi_flash() 587 else if (strcmp(cmd, "erase") == 0) in do_spi_flash() 589 else if (strcmp(cmd, "protect") == 0) in do_spi_flash() 592 else if (!strcmp(cmd, "test")) in do_spi_flash()
|
| H A D | pci.c | 489 char cmd = 's'; in do_pci() local 494 cmd = argv[1][0]; in do_pci() 496 switch (cmd) { in do_pci() 525 if (cmd != 'r' && argv[argc-1][0] == 'l') { in do_pci() 529 if (argc > 2 || (argc > 1 && cmd != 'r' && argv[1][0] != 's')) { in do_pci() 537 if (cmd == 'r' && argc > 2) in do_pci() 539 else if (cmd != 'r' && (argc > 2 || (argc == 2 && argv[1][0] != 's'))) in do_pci() 543 if (cmd != 'r') { in do_pci() 565 if (cmd == 'r') in do_pci()
|
| /rk3399_rockchip-uboot/board/esd/vme8349/ |
| H A D | caddy.h | 33 uint32_t cmd; member 52 struct caddy_cmd cmd[CMD_SIZE]; member
|
| /rk3399_rockchip-uboot/test/py/tests/ |
| H A D | test_fit.py | 357 cmd = base_script % params 364 output = cons.run_command_list(cmd.splitlines()) 388 output = cons.run_command_list(cmd.splitlines()) 400 output = cons.run_command_list(cmd.splitlines()) 412 output = cons.run_command_list(cmd.splitlines())
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | lpc32xx_nand_mlc.c | 37 u32 cmd; member 159 static void lpc32xx_cmd_ctrl(struct mtd_info *mtd, int cmd, in lpc32xx_cmd_ctrl() argument 162 if (cmd == NAND_CMD_NONE) in lpc32xx_cmd_ctrl() 166 writeb(cmd & 0Xff, &lpc32xx_nand_mlc_registers->cmd); in lpc32xx_cmd_ctrl() 168 writeb(cmd & 0Xff, &lpc32xx_nand_mlc_registers->addr); in lpc32xx_cmd_ctrl() 531 writel(NAND_CMD_STATUS, &lpc32xx_nand_mlc_registers->cmd); in lpc32xx_waitfunc() 628 writel(NAND_CMD_READ0, &lpc32xx_nand_mlc_registers->cmd); in read_single_page() 636 writel(NAND_CMD_READSTART, &lpc32xx_nand_mlc_registers->cmd); in read_single_page()
|
| /rk3399_rockchip-uboot/test/rockchip/ |
| H A D | test-rockchip.c | 149 cmd_groups[i]->cmd, in do_rockchip_test() 152 ret = cp->cmd(cmdtp, flag, argc, argv); in do_rockchip_test() 176 for (j = 0, cp = cmd_groups[i]->cmd; in do_rockchip_test() 193 ret = cp->cmd(cmdtp, flag, argc, argv); in do_rockchip_test()
|
| /rk3399_rockchip-uboot/drivers/mmc/ |
| H A D | uniphier-sd.c | 392 static int uniphier_sd_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in uniphier_sd_send_cmd() argument 413 writel(cmd->cmdarg, priv->regbase + UNIPHIER_SD_ARG); in uniphier_sd_send_cmd() 415 tmp = cmd->cmdidx; in uniphier_sd_send_cmd() 437 switch (cmd->resp_type) { in uniphier_sd_send_cmd() 459 cmd->cmdidx, tmp, cmd->cmdarg); in uniphier_sd_send_cmd() 467 if (cmd->resp_type & MMC_RSP_136) { in uniphier_sd_send_cmd() 473 cmd->response[0] = ((rsp_127_104 & 0x00ffffff) << 8) | in uniphier_sd_send_cmd() 475 cmd->response[1] = ((rsp_103_72 & 0x00ffffff) << 8) | in uniphier_sd_send_cmd() 477 cmd->response[2] = ((rsp_71_40 & 0x00ffffff) << 8) | in uniphier_sd_send_cmd() 479 cmd->response[3] = (rsp_39_8 & 0xffffff) << 8; in uniphier_sd_send_cmd() [all …]
|
| /rk3399_rockchip-uboot/post/lib_powerpc/ |
| H A D | srawi.c | 29 ulong cmd; member 73 ASM_11S(test->cmd, reg1, reg0, test->op2), in cpu_post_test_srawi() 90 ASM_11S(test->cmd, reg1, reg0, test->op2) | BIT_C, in cpu_post_test_srawi()
|
| H A D | two.c | 32 ulong cmd; member 93 ASM_11(test->cmd, reg1, reg0), in cpu_post_test_two() 110 ASM_11(test->cmd, reg1, reg0) | BIT_C, in cpu_post_test_two()
|
| H A D | twox.c | 32 ulong cmd; member 93 ASM_11X(test->cmd, reg1, reg0), in cpu_post_test_twox() 110 ASM_11X(test->cmd, reg1, reg0) | BIT_C, in cpu_post_test_twox()
|
| H A D | cmpi.c | 32 ulong cmd; member 95 ASM_1IC(test->cmd, test->cr, 3, test->op2), in cpu_post_test_cmpi()
|
| H A D | cmp.c | 32 ulong cmd; member 95 ASM_2C(test->cmd, test->cr, 3, 4), in cpu_post_test_cmp()
|
| H A D | rlwinm.c | 29 ulong cmd; member 71 ASM_113(test->cmd, reg1, reg0, test->op2, test->mb, test->me), in cpu_post_test_rlwinm() 88 ASM_113(test->cmd, reg1, reg0, test->op2, test->mb, in cpu_post_test_rlwinm()
|
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | dwc2.c | 539 int txlen, struct devrequest *cmd) in dwc_otg_submit_rh_msg_in_status() argument 547 switch (cmd->requesttype & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_in_status() 607 struct devrequest *cmd) in dwc_otg_submit_rh_msg_in_descriptor() argument 613 uint16_t wValue = cpu_to_le16(cmd->value); in dwc_otg_submit_rh_msg_in_descriptor() 614 uint16_t wLength = cpu_to_le16(cmd->length); in dwc_otg_submit_rh_msg_in_descriptor() 616 switch (cmd->requesttype & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_in_descriptor() 690 struct devrequest *cmd) in dwc_otg_submit_rh_msg_in_configuration() argument 695 switch (cmd->requesttype & ~USB_DIR_IN) { in dwc_otg_submit_rh_msg_in_configuration() 714 int txlen, struct devrequest *cmd) in dwc_otg_submit_rh_msg_in() argument 716 switch (cmd->request) { in dwc_otg_submit_rh_msg_in() [all …]
|
| H A D | ehci-fsl.c | 300 u32 cmd; in set_txfifothresh() local 301 cmd = ehci_readl(&ehci->txfilltuning); in set_txfifothresh() 302 cmd &= ~TXFIFO_THRESH_MASK; in set_txfifothresh() 303 cmd |= TXFIFO_THRESH(txfifo_thresh); in set_txfifothresh() 304 ehci_writel(&ehci->txfilltuning, cmd); in set_txfifothresh()
|
| /rk3399_rockchip-uboot/drivers/video/tegra124/ |
| H A D | sor.c | 681 u32 reg_val = readl(&disp_ctrl->cmd.state_access); in tegra_dc_sor_enable_dc() 683 writel(reg_val | WRITE_MUX_ACTIVE, &disp_ctrl->cmd.state_access); in tegra_dc_sor_enable_dc() 688 &disp_ctrl->cmd.disp_cmd); in tegra_dc_sor_enable_dc() 689 writel(reg_val, &disp_ctrl->cmd.state_access); in tegra_dc_sor_enable_dc() 772 writel(0x9f00, &disp_ctrl->cmd.state_ctrl); in tegra_dc_sor_attach() 773 writel(0x9f, &disp_ctrl->cmd.state_ctrl); in tegra_dc_sor_attach() 777 &disp_ctrl->cmd.disp_pow_ctrl); in tegra_dc_sor_attach() 791 writel(GENERAL_ACT_REQ, &disp_ctrl->cmd.state_ctrl); in tegra_dc_sor_attach() 793 writel(GENERAL_ACT_REQ, &disp_ctrl->cmd.state_ctrl); in tegra_dc_sor_attach() 806 reg_val = readl(&disp_ctrl->cmd.state_access); in tegra_dc_sor_attach() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-keystone/ |
| H A D | mon.c | 87 static int k2_hs_bm_auth(int cmd, void *arg1) in k2_hs_bm_auth() argument 99 : "r" (cmd), "r" (arg1) in k2_hs_bm_auth()
|
| /rk3399_rockchip-uboot/board/Synology/ds414/ |
| H A D | cmd_syno.c | 201 const char *cmd; in do_syno() local 207 cmd = argv[1]; in do_syno() 211 if (!strcmp(cmd, "populate_env")) in do_syno() 213 else if (!strcmp(cmd, "clk_gate")) in do_syno()
|
| /rk3399_rockchip-uboot/drivers/mtd/onenand/ |
| H A D | samsung.c | 70 static int s3c_read_cmd(unsigned int cmd) in s3c_read_cmd() argument 72 return readl(onenand->ahb_addr + cmd); in s3c_read_cmd() 75 static void s3c_write_cmd(int value, unsigned int cmd) in s3c_write_cmd() argument 77 writel(value, onenand->ahb_addr + cmd); in s3c_write_cmd() 271 static int s3c_onenand_command(struct mtd_info *mtd, int cmd, in s3c_onenand_command() argument 287 switch (cmd) { in s3c_onenand_command() 312 switch (cmd) { in s3c_onenand_command() 466 size_t len, int cmd) in s3c_onenand_do_lock_cmd() argument 476 if (cmd == ONENAND_CMD_LOCK) { in s3c_onenand_do_lock_cmd()
|
| /rk3399_rockchip-uboot/board/socrates/ |
| H A D | nand.c | 120 static void sc_nand_hwcontrol(struct mtd_info *mtdinfo, int cmd, unsigned int ctrl) in sc_nand_hwcontrol() argument 146 if (cmd != NAND_CMD_NONE) in sc_nand_hwcontrol() 147 sc_nand_write_byte(mtdinfo, cmd); in sc_nand_hwcontrol()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | scsi.h | 14 unsigned char cmd[16]; /* command */ member 201 int (*exec)(struct udevice *dev, struct scsi_cmd *cmd); 223 int scsi_exec(struct udevice *dev, struct scsi_cmd *cmd);
|
| /rk3399_rockchip-uboot/drivers/usb/cdns3/ |
| H A D | drd.h | 22 __le32 cmd; member 43 __le32 cmd; member 64 __le32 cmd; member
|
| /rk3399_rockchip-uboot/board/varisys/common/ |
| H A D | sys_eeprom.c | 310 char cmd; in do_mac() local 317 cmd = argv[1][0]; in do_mac() 319 if (cmd == 'r') { in do_mac() 324 if (cmd == 'i') { in do_mac() 337 switch (cmd) { in do_mac() 350 switch (cmd) { in do_mac()
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | rockchip_sfc.c | 481 u32 ctrl = 0, cmd = 0; in rockchip_sfc_xfer_setup() local 484 cmd = op->cmd.opcode; in rockchip_sfc_xfer_setup() 485 ctrl |= ((op->cmd.buswidth >> 1) << SFC_CTRL_CMD_BITS_SHIFT); in rockchip_sfc_xfer_setup() 490 cmd |= SFC_CMD_ADDR_32BITS << SFC_CMD_ADDR_SHIFT; in rockchip_sfc_xfer_setup() 492 cmd |= SFC_CMD_ADDR_24BITS << SFC_CMD_ADDR_SHIFT; in rockchip_sfc_xfer_setup() 494 cmd |= SFC_CMD_ADDR_XBITS << SFC_CMD_ADDR_SHIFT; in rockchip_sfc_xfer_setup() 504 cmd |= op->dummy.nbytes * 2 << SFC_CMD_DUMMY_SHIFT; in rockchip_sfc_xfer_setup() 506 cmd |= op->dummy.nbytes * 4 << SFC_CMD_DUMMY_SHIFT; in rockchip_sfc_xfer_setup() 508 cmd |= op->dummy.nbytes * 8 << SFC_CMD_DUMMY_SHIFT; in rockchip_sfc_xfer_setup() 515 cmd |= len << SFC_CMD_TRAN_BYTES_SHIFT; in rockchip_sfc_xfer_setup() [all …]
|