Lines Matching refs:instr
536 const struct nand_op_instr *instr = NULL;
550 instr = &subop->instrs[op_id];
552 switch (instr->type) {
555 nfc_op->cmd_reg |= CMD_1(instr->ctx.cmd.opcode);
557 nfc_op->cmd_reg |= CMD_2(instr->ctx.cmd.opcode);
565 addrs = &instr->ctx.addr.addrs[offset];
581 buf = instr->ctx.data.buf.in;
607 nfc_op->rdy_timeout_ms = instr->ctx.waitrdy.timeout_ms;
825 const struct nand_op_instr *instr;
836 instr = &op->instrs[op_id];
838 switch (instr->type) {
840 if (instr->ctx.addr.naddrs > ANFC_MAX_ADDR_CYC)
846 if (instr->ctx.data.len > ANFC_MAX_CHUNK_SIZE)
849 if (anfc_pkt_len_config(instr->ctx.data.len, 0, 0))