Searched refs:curr_cmd (Results 1 – 2 of 2) sorted by relevance
122 static struct arasan_nand_command_format *curr_cmd; variable281 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() argument621 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() argument686 reg_val |= curr_cmd->cmd1 | in arasan_nand_send_wrcmd()[all …]
783 const struct zynq_nand_command_format *curr_cmd = NULL; in zynq_nand_cmd_function() local821 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()