Home
last modified time | relevance | path

Searched refs:curr_cmd (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/mtd/nand/
Darasan_nfc.c122 static struct arasan_nand_command_format *curr_cmd; variable
281 switch (curr_cmd->addr_cycles) { in arasan_nand_get_addrcycle()
354 writel(curr_cmd->pgm, &arasan_nand_base->pgm_reg); in arasan_nand_read_page()
522 writel(curr_cmd->pgm, &arasan_nand_base->pgm_reg); in arasan_nand_write_page_hwecc()
611 static int arasan_nand_reset(struct arasan_nand_command_format *curr_cmd) in arasan_nand_reset() argument
621 cmd_reg |= curr_cmd->cmd1 | in arasan_nand_reset()
622 (curr_cmd->cmd2 << ARASAN_NAND_CMD_CMD2_SHIFT); in arasan_nand_reset()
624 writel(curr_cmd->pgm, &arasan_nand_base->pgm_reg); in arasan_nand_reset()
676 static int arasan_nand_send_wrcmd(struct arasan_nand_command_format *curr_cmd, in arasan_nand_send_wrcmd() argument
686 reg_val |= curr_cmd->cmd1 | in arasan_nand_send_wrcmd()
[all …]
Dzynq_nand.c783 const struct zynq_nand_command_format *curr_cmd = NULL; in zynq_nand_cmd_function() local
821 curr_cmd = &zynq_nand_commands[index]; in zynq_nand_cmd_function()
827 if (curr_cmd->end_cmd_valid == ZYNQ_NAND_CMD_PHASE) in zynq_nand_cmd_function()
830 if (curr_cmd->end_cmd == NAND_CMD_NONE) in zynq_nand_cmd_function()
833 end_cmd = curr_cmd->end_cmd; in zynq_nand_cmd_function()
842 addr_cycles = curr_cmd->addr_cycles; in zynq_nand_cmd_function()
850 (curr_cmd->start_cmd << START_CMD_SHIFT); in zynq_nand_cmd_function()
898 if (curr_cmd->end_cmd_valid) { in zynq_nand_cmd_function()
899 xnand->end_cmd = curr_cmd->end_cmd; in zynq_nand_cmd_function()