Lines Matching refs:subop

596 				   const struct nand_subop *subop,
610 for (op_id = 0; op_id < subop->ninstrs; op_id++) {
615 instr = &subop->instrs[op_id];
628 offset = nand_subop_get_addr_start_off(subop, op_id);
629 naddrs = nand_subop_get_num_addr_cyc(subop, op_id);
645 offset = nand_subop_get_data_start_off(subop, op_id);
648 nfc_op->len = nand_subop_get_data_len(subop, op_id);
724 const struct nand_subop *subop,
731 ret = anfc_parse_instructions(chip, subop, &nfc_op);
748 const struct nand_subop *subop)
750 return anfc_misc_data_type_exec(chip, subop, PROG_RDPARAM);
754 const struct nand_subop *subop)
768 if (subop->instrs[0].ctx.cmd.opcode == NAND_CMD_RNDOUT &&
769 subop->instrs[2].ctx.cmd.opcode == NAND_CMD_RNDOUTSTART)
772 return anfc_misc_data_type_exec(chip, subop, prog_reg);
776 const struct nand_subop *subop)
778 return anfc_misc_data_type_exec(chip, subop, PROG_SET_FEATURE);
782 const struct nand_subop *subop)
784 return anfc_misc_data_type_exec(chip, subop, PROG_PGPROG);
788 const struct nand_subop *subop,
795 ret = anfc_parse_instructions(chip, subop, &nfc_op);
813 const struct nand_subop *subop)
820 if (subop->instrs[0].ctx.cmd.opcode != NAND_CMD_STATUS)
823 ret = anfc_misc_zerolen_type_exec(chip, subop, PROG_STATUS);
828 memcpy(subop->instrs[1].ctx.data.buf.in, &tmp, 1);
834 const struct nand_subop *subop)
836 return anfc_misc_zerolen_type_exec(chip, subop, PROG_RST);
840 const struct nand_subop *subop)
842 return anfc_misc_zerolen_type_exec(chip, subop, PROG_ERASE);
846 const struct nand_subop *subop)
852 ret = anfc_parse_instructions(chip, subop, &nfc_op);