Lines Matching refs:instr
634 const struct nand_op_instr *instr = NULL; in fsmc_exec_op() local
645 instr = &op->instrs[op_id]; in fsmc_exec_op()
647 nand_op_trace(" ", instr); in fsmc_exec_op()
649 switch (instr->type) { in fsmc_exec_op()
651 writeb_relaxed(instr->ctx.cmd.opcode, host->cmd_va); in fsmc_exec_op()
655 for (i = 0; i < instr->ctx.addr.naddrs; i++) in fsmc_exec_op()
656 writeb_relaxed(instr->ctx.addr.addrs[i], in fsmc_exec_op()
662 fsmc_read_buf_dma(host, instr->ctx.data.buf.in, in fsmc_exec_op()
663 instr->ctx.data.len); in fsmc_exec_op()
665 fsmc_read_buf(host, instr->ctx.data.buf.in, in fsmc_exec_op()
666 instr->ctx.data.len); in fsmc_exec_op()
672 instr->ctx.data.buf.out, in fsmc_exec_op()
673 instr->ctx.data.len); in fsmc_exec_op()
675 fsmc_write_buf(host, instr->ctx.data.buf.out, in fsmc_exec_op()
676 instr->ctx.data.len); in fsmc_exec_op()
681 instr->ctx.waitrdy.timeout_ms); in fsmc_exec_op()
685 if (instr->delay_ns) in fsmc_exec_op()
686 ndelay(instr->delay_ns); in fsmc_exec_op()