| /rk3399_rockchip-uboot/drivers/ata/ |
| H A D | ahci.c | 198 u32 tmp, cap_save, cmd; in ahci_host_init() local 277 cmd = readl(port_mmio + PORT_CMD); in ahci_host_init() 278 cmd |= PORT_CMD_SPIN_UP; in ahci_host_init() 279 writel_with_flush(cmd, port_mmio + PORT_CMD); in ahci_host_init() 784 if (pccb->cmd[0] == SCSI_READ16) { in ata_scsiop_read_write() 785 memcpy(&lba, pccb->cmd + 2, 8); in ata_scsiop_read_write() 789 memcpy(&temp, pccb->cmd + 2, 4); in ata_scsiop_read_write() 804 if (pccb->cmd[0] == SCSI_READ16) in ata_scsiop_read_write() 805 blocks = (((u16)pccb->cmd[13]) << 8) | ((u16) pccb->cmd[14]); in ata_scsiop_read_write() 807 blocks = (((u16)pccb->cmd[7]) << 8) | ((u16) pccb->cmd[8]); in ata_scsiop_read_write() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-omap2/am33xx/ |
| H A D | ddr.c | 333 void config_cmd_ctrl(const struct cmd_control *cmd, int nr) in config_cmd_ctrl() argument 335 if (!cmd) in config_cmd_ctrl() 338 writel(cmd->cmd0csratio, &ddr_cmd_reg[nr]->cm0csratio); in config_cmd_ctrl() 339 writel(cmd->cmd0iclkout, &ddr_cmd_reg[nr]->cm0iclkout); in config_cmd_ctrl() 341 writel(cmd->cmd1csratio, &ddr_cmd_reg[nr]->cm1csratio); in config_cmd_ctrl() 342 writel(cmd->cmd1iclkout, &ddr_cmd_reg[nr]->cm1iclkout); in config_cmd_ctrl() 344 writel(cmd->cmd2csratio, &ddr_cmd_reg[nr]->cm2csratio); in config_cmd_ctrl() 345 writel(cmd->cmd2iclkout, &ddr_cmd_reg[nr]->cm2iclkout); in config_cmd_ctrl()
|
| /rk3399_rockchip-uboot/test/stdint/ |
| H A D | test-includes.sh | 39 cmd="${gcc} -c -D__KERNEL__ ${flags} \ 46 $cmd
|
| /rk3399_rockchip-uboot/post/lib_powerpc/ |
| H A D | threex.c | 33 ulong cmd; member 141 ASM_12X(test->cmd, reg2, reg1, reg0), in cpu_post_test_threex() 162 ASM_12X(test->cmd, reg2, reg1, reg0) | BIT_C, in cpu_post_test_threex()
|
| H A D | rlwnm.c | 30 ulong cmd; member 76 ASM_122(test->cmd, reg2, reg1, reg0, test->mb, test->me), in cpu_post_test_rlwnm() 97 ASM_122(test->cmd, reg2, reg1, reg0, test->mb, test->me) | in cpu_post_test_rlwnm()
|
| H A D | rlwimi.c | 30 ulong cmd; member 76 ASM_113(test->cmd, reg1, reg0, test->op2, test->mb, test->me), in cpu_post_test_rlwimi() 95 ASM_113(test->cmd, reg1, reg0, test->op2, test->mb, test->me) | in cpu_post_test_rlwimi()
|
| H A D | three.c | 33 ulong cmd; member 171 ASM_12(test->cmd, reg2, reg1, reg0), in cpu_post_test_three() 192 ASM_12(test->cmd, reg2, reg1, reg0) | BIT_C, in cpu_post_test_three()
|
| H A D | threei.c | 31 ulong cmd; member 87 ASM_11IX(test->cmd, reg1, reg0, test->op2), in cpu_post_test_threei()
|
| H A D | andi.c | 29 ulong cmd; member 73 ASM_11IX(test->cmd, reg1, reg0, test->op2), in cpu_post_test_andi()
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | spi-mem-nodm.c | 28 op_len = sizeof(op->cmd.opcode) + op->addr.nbytes + op->dummy.nbytes; in spi_mem_exec_op() 35 op_buf[pos++] = op->cmd.opcode; in spi_mem_exec_op() 90 len = sizeof(op->cmd.opcode) + op->addr.nbytes + op->dummy.nbytes; in spi_mem_adjust_op_size()
|
| H A D | bcm63xx_spi.c | 242 uint16_t val, cmd; in bcm63xx_spi_xfer() local 279 cmd = SPI_CMD_OP_START; in bcm63xx_spi_xfer() 280 cmd |= (plat->cs << SPI_CMD_SLAVE_SHIFT) & SPI_CMD_SLAVE_MASK; in bcm63xx_spi_xfer() 281 cmd |= (priv->tx_bytes << SPI_CMD_PREPEND_SHIFT); in bcm63xx_spi_xfer() 283 cmd |= SPI_CMD_3WIRE_MASK; in bcm63xx_spi_xfer() 284 writew_be(cmd, priv->base + regs[SPI_CMD]); in bcm63xx_spi_xfer()
|
| H A D | spi-mem.c | 143 if (spi_check_buswidth_req(slave, op->cmd.buswidth, true)) in spi_mem_default_supports_op() 265 tmpbufsize = sizeof(op->cmd.opcode) + op->addr.nbytes + in spi_mem_exec_op() 279 tmpbuf[0] = op->cmd.opcode; in spi_mem_exec_op() 281 xfers[xferpos].len = sizeof(op->cmd.opcode); in spi_mem_exec_op() 282 xfers[xferpos].tx_nbits = op->cmd.buswidth; in spi_mem_exec_op() 345 op_len = sizeof(op->cmd.opcode) + op->addr.nbytes + op->dummy.nbytes; in spi_mem_exec_op() 358 op_buf[pos++] = op->cmd.opcode; in spi_mem_exec_op() 438 len = sizeof(op->cmd.opcode) + op->addr.nbytes + in spi_mem_adjust_op_size()
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | Makefile.build | 197 $(call cmd,cc_symtypes_c) 267 $(call echo-cmd,checksrc) $(cmd_checksrc) \ 268 $(call echo-cmd,cc_o_c) $(cmd_cc_o_c); \ 270 $(call echo-cmd,record_mcount) \ 275 mv -f $(dot-target).tmp $(dot-target).cmd 280 $(call cmd,force_checksrc) 286 $(call cmd,force_checksrc) 339 $(call cmd,asn1_compiler) 440 cmd_files := $(wildcard $(foreach f,$(targets),$(dir $(f)).$(notdir $(f)).cmd))
|
| /rk3399_rockchip-uboot/drivers/input/ |
| H A D | i8042.c | 107 static int kbd_cmd_read(int cmd) in kbd_cmd_read() argument 109 if (kbd_write(I8042_CMD_REG, cmd)) in kbd_cmd_read() 115 static int kbd_cmd_write(int cmd, int data) in kbd_cmd_write() argument 117 if (kbd_write(I8042_CMD_REG, cmd)) in kbd_cmd_write()
|
| /rk3399_rockchip-uboot/drivers/video/ |
| H A D | mxsfb.c | 233 desc.cmd.data = MXS_DMA_DESC_COMMAND_NO_DMAXFER | MXS_DMA_DESC_CHAIN | in video_hw_init() 236 desc.cmd.pio_words[0] = readl(®s->hw_lcdif_ctrl) | LCDIF_CTRL_RUN; in video_hw_init() 237 desc.cmd.next = (uint32_t)&desc.cmd; in video_hw_init()
|
| /rk3399_rockchip-uboot/drivers/bios_emulator/x86emu/ |
| H A D | debug.c | 232 int cmd; in x86emu_single_step() local 256 cmd = x86emu_parse_line(s, ps, &ntok); in x86emu_single_step() 257 switch (cmd) { in x86emu_single_step() 332 int cmd; in x86emu_parse_line() local 343 cmd = *s; in x86emu_parse_line() 352 return cmd; in x86emu_parse_line()
|
| /rk3399_rockchip-uboot/board/freescale/common/ |
| H A D | sys_eeprom.c | 326 char cmd; in do_mac() local 333 cmd = argv[1][0]; in do_mac() 335 if (cmd == 'r') { in do_mac() 340 if (cmd == 'i') { in do_mac() 357 switch (cmd) { in do_mac() 370 switch (cmd) { in do_mac()
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | imximage.c | 175 int32_t cmd) in set_dcd_param_v2() argument 189 switch (cmd) { in set_dcd_param_v2() 595 static void parse_cfg_cmd(struct imx_header *imxhdr, int32_t cmd, char *token, in parse_cfg_cmd() argument 601 switch (cmd) { in parse_cfg_cmd() 654 (*set_dcd_param)(imxhdr, dcd_len, cmd); in parse_cfg_cmd() 677 static void parse_cfg_fld(struct imx_header *imxhdr, int32_t *cmd, in parse_cfg_fld() argument 684 *cmd = get_table_entry_id(imximage_cmds, in parse_cfg_fld() 686 if (*cmd < 0) { in parse_cfg_fld() 693 parse_cfg_cmd(imxhdr, *cmd, token, name, lineno, fld, *dcd_len); in parse_cfg_fld() 697 switch(*cmd) { in parse_cfg_fld() [all …]
|
| /rk3399_rockchip-uboot/arch/sh/cpu/sh4/ |
| H A D | cache.c | 38 static int cache_control(unsigned int cmd) in cache_control() argument 48 if (cmd == CACHE_DISABLE) in cache_control()
|
| /rk3399_rockchip-uboot/test/ |
| H A D | cmd_ut.c | 38 retval = cmd_ut_sub[i].cmd(cmdtp, flag, 1, &cmd_ut_sub[i].name); in do_ut_all() 60 return cp->cmd(cmdtp, flag, argc, argv); in do_ut()
|
| /rk3399_rockchip-uboot/include/fsl-mc/ |
| H A D | fsl_mc_cmd.h | 106 struct mc_command *cmd) in mc_write_command() argument 112 writeq(cmd->params[i], &portal->params[i]); in mc_write_command() 115 writeq(cmd->header, &portal->header); in mc_write_command()
|
| /rk3399_rockchip-uboot/arch/arm/mach-sunxi/ |
| H A D | rsb.c | 140 writel(RSB_CMD_SET_RTSADDR, &rsb->cmd); in rsb_set_device_address() 153 writel(RSB_CMD_BYTE_WRITE, &rsb->cmd); in rsb_write() 166 writel(RSB_CMD_BYTE_READ, &rsb->cmd); in rsb_read()
|
| /rk3399_rockchip-uboot/drivers/misc/ |
| H A D | cros_ec_spi.c | 82 int cros_ec_spi_command(struct udevice *udev, uint8_t cmd, int cmd_version, in cros_ec_spi_command() argument 127 out[1] = cmd; in cros_ec_spi_command() 140 cros_ec_dump_data("out", cmd, out, len); in cros_ec_spi_command()
|
| /rk3399_rockchip-uboot/arch/sandbox/cpu/ |
| H A D | start.c | 87 if (state->cmd || state->run_distro_boot) { in sandbox_main_loop_init() 93 if (state->cmd) in sandbox_main_loop_init() 94 retval = run_command_list(state->cmd, -1, 0); in sandbox_main_loop_init() 119 state->cmd = arg; in sandbox_cmdline_cb_command()
|
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | ax88796.c | 47 static void ax88796_eep_cmd(u8 cmd) in ax88796_eep_cmd() argument 50 switch(cmd){ in ax88796_eep_cmd()
|