Lines Matching refs:subop
532 const struct nand_subop *subop,
545 for (op_id = 0; op_id < subop->ninstrs; op_id++) {
550 instr = &subop->instrs[op_id];
563 offset = nand_subop_get_addr_start_off(subop, op_id);
564 naddrs = nand_subop_get_num_addr_cyc(subop, op_id);
580 offset = nand_subop_get_data_start_off(subop, op_id);
583 nfc_op->len = nand_subop_get_data_len(subop, op_id);
659 const struct nand_subop *subop,
666 ret = anfc_parse_instructions(chip, subop, &nfc_op);
683 const struct nand_subop *subop)
685 return anfc_misc_data_type_exec(chip, subop, PROG_RDPARAM);
689 const struct nand_subop *subop)
691 return anfc_misc_data_type_exec(chip, subop, PROG_PGRD);
695 const struct nand_subop *subop)
697 return anfc_misc_data_type_exec(chip, subop, PROG_SET_FEATURE);
701 const struct nand_subop *subop)
703 return anfc_misc_data_type_exec(chip, subop, PROG_PGPROG);
707 const struct nand_subop *subop,
714 ret = anfc_parse_instructions(chip, subop, &nfc_op);
732 const struct nand_subop *subop)
739 if (subop->instrs[0].ctx.cmd.opcode != NAND_CMD_STATUS)
742 ret = anfc_misc_zerolen_type_exec(chip, subop, PROG_STATUS);
747 memcpy(subop->instrs[1].ctx.data.buf.in, &tmp, 1);
753 const struct nand_subop *subop)
755 return anfc_misc_zerolen_type_exec(chip, subop, PROG_RST);
759 const struct nand_subop *subop)
761 return anfc_misc_zerolen_type_exec(chip, subop, PROG_ERASE);
765 const struct nand_subop *subop)
771 ret = anfc_parse_instructions(chip, subop, &nfc_op);