Lines Matching refs:instr
360 const struct nand_op_instr *instr; in vf610_nfc_cmd() local
372 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd()
373 if (!instr) in vf610_nfc_cmd()
376 if (instr && instr->type == NAND_OP_CMD_INSTR) { in vf610_nfc_cmd()
377 cmd2 |= instr->ctx.cmd.opcode << CMD_BYTE1_SHIFT; in vf610_nfc_cmd()
380 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd()
383 if (instr && instr->type == NAND_OP_ADDR_INSTR) { in vf610_nfc_cmd()
388 u8 val = instr->ctx.addr.addrs[i]; in vf610_nfc_cmd()
397 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd()
400 if (instr && instr->type == NAND_OP_DATA_OUT_INSTR) { in vf610_nfc_cmd()
403 force8bit = instr->ctx.data.force_8bit; in vf610_nfc_cmd()
410 instr->ctx.data.buf.out + offset, in vf610_nfc_cmd()
414 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd()
417 if (instr && instr->type == NAND_OP_CMD_INSTR) { in vf610_nfc_cmd()
418 cmd1 |= instr->ctx.cmd.opcode << CMD_BYTE2_SHIFT; in vf610_nfc_cmd()
421 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd()
424 if (instr && instr->type == NAND_OP_WAITRDY_INSTR) { in vf610_nfc_cmd()
427 instr = vf610_get_next_instr(subop, &op_id); in vf610_nfc_cmd()
430 if (instr && instr->type == NAND_OP_DATA_IN_INSTR) { in vf610_nfc_cmd()
433 force8bit = instr->ctx.data.force_8bit; in vf610_nfc_cmd()
445 if (instr && instr->type == NAND_OP_DATA_IN_INSTR) { in vf610_nfc_cmd()
450 vf610_nfc_rd_from_sram(instr->ctx.data.buf.in + offset, in vf610_nfc_cmd()