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