Lines Matching refs:instr
601 const struct nand_op_instr *instr = NULL;
615 instr = &subop->instrs[op_id];
617 switch (instr->type) {
620 nfc_op->cmd_reg |= CMD_1(instr->ctx.cmd.opcode);
622 nfc_op->cmd_reg |= CMD_2(instr->ctx.cmd.opcode);
630 addrs = &instr->ctx.addr.addrs[offset];
646 buf = instr->ctx.data.buf.in;
672 nfc_op->rdy_timeout_ms = instr->ctx.waitrdy.timeout_ms;
906 const struct nand_op_instr *instr;
917 instr = &op->instrs[op_id];
919 switch (instr->type) {
921 if (instr->ctx.addr.naddrs > ANFC_MAX_ADDR_CYC)
927 if (instr->ctx.data.len > ANFC_MAX_CHUNK_SIZE)
930 if (anfc_pkt_len_config(instr->ctx.data.len, NULL, NULL))