Lines Matching refs:instr
365 const struct nand_op_instr *instr; in vf610_nfc_cmd() local
377 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd()
378 if (!instr) in vf610_nfc_cmd()
381 if (instr && instr->type == NAND_OP_CMD_INSTR) { in vf610_nfc_cmd()
382 cmd2 |= instr->ctx.cmd.opcode << CMD_BYTE1_SHIFT; in vf610_nfc_cmd()
385 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd()
388 if (instr && instr->type == NAND_OP_ADDR_INSTR) { in vf610_nfc_cmd()
393 u8 val = instr->ctx.addr.addrs[i]; in vf610_nfc_cmd()
402 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd()
405 if (instr && instr->type == NAND_OP_DATA_OUT_INSTR) { in vf610_nfc_cmd()
408 force8bit = instr->ctx.data.force_8bit; in vf610_nfc_cmd()
415 instr->ctx.data.buf.out + offset, in vf610_nfc_cmd()
419 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd()
422 if (instr && instr->type == NAND_OP_CMD_INSTR) { in vf610_nfc_cmd()
423 cmd1 |= instr->ctx.cmd.opcode << CMD_BYTE2_SHIFT; in vf610_nfc_cmd()
426 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd()
429 if (instr && instr->type == NAND_OP_WAITRDY_INSTR) { in vf610_nfc_cmd()
432 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd()
435 if (instr && instr->type == NAND_OP_DATA_IN_INSTR) { in vf610_nfc_cmd()
438 force8bit = instr->ctx.data.force_8bit; in vf610_nfc_cmd()
450 if (instr && instr->type == NAND_OP_DATA_IN_INSTR) { in vf610_nfc_cmd()
455 vf610_nfc_rd_from_sram(instr->ctx.data.buf.in + offset, in vf610_nfc_cmd()