Lines Matching refs:instr
2411 const struct nand_op_instr *instr = &op->instrs[i];
2422 last_op = ((i == (op->ninstrs - 1)) && (instr->type != NAND_OP_WAITRDY_INSTR)) ||
2425 switch (instr->type) {
2427 brcmnand_low_level_op(host, LL_OP_CMD, instr->ctx.cmd.opcode, last_op);
2431 for (i = 0; i < instr->ctx.addr.naddrs; i++)
2432 brcmnand_low_level_op(host, LL_OP_ADDR, instr->ctx.addr.addrs[i],
2433 last_op && (i == (instr->ctx.addr.naddrs - 1)));
2437 in = instr->ctx.data.buf.in;
2438 for (i = 0; i < instr->ctx.data.len; i++) {
2440 last_op && (i == (instr->ctx.data.len - 1)));
2446 out = instr->ctx.data.buf.out;
2447 for (i = 0; i < instr->ctx.data.len; i++)
2449 last_op && (i == (instr->ctx.data.len - 1)));
2458 instr->type);