Lines Matching defs:instr
2172 const struct nand_op_instr *instr = NULL;
2181 instr = &op->instrs[op_id];
2185 switch (instr->type) {
2188 ns_nand_write_byte(chip, instr->ctx.cmd.opcode);
2192 for (i = 0; i < instr->ctx.addr.naddrs; i++)
2193 ns_nand_write_byte(chip, instr->ctx.addr.addrs[i]);
2196 ns_nand_read_buf(chip, instr->ctx.data.buf.in, instr->ctx.data.len);
2199 ns_nand_write_buf(chip, instr->ctx.data.buf.out, instr->ctx.data.len);