Lines Matching defs:instr
2160 const struct nand_op_instr *instr = NULL;
2171 instr = &op->instrs[op_id];
2172 if (instr->type == NAND_OP_CMD_INSTR &&
2173 (instr->ctx.cmd.opcode == NAND_CMD_READCACHEEND ||
2174 instr->ctx.cmd.opcode == NAND_CMD_READCACHESEQ))
2184 instr = &op->instrs[op_id];
2188 switch (instr->type) {
2191 ns_nand_write_byte(chip, instr->ctx.cmd.opcode);
2195 for (i = 0; i < instr->ctx.addr.naddrs; i++)
2196 ns_nand_write_byte(chip, instr->ctx.addr.addrs[i]);
2199 ns_nand_read_buf(chip, instr->ctx.data.buf.in, instr->ctx.data.len);
2202 ns_nand_write_buf(chip, instr->ctx.data.buf.out, instr->ctx.data.len);