Lines Matching refs:subop
465 const struct nand_subop *subop, in anfc_parse_instructions() argument
478 for (op_id = 0; op_id < subop->ninstrs; op_id++) { in anfc_parse_instructions()
483 instr = &subop->instrs[op_id]; in anfc_parse_instructions()
496 offset = nand_subop_get_addr_start_off(subop, op_id); in anfc_parse_instructions()
497 naddrs = nand_subop_get_num_addr_cyc(subop, op_id); in anfc_parse_instructions()
513 offset = nand_subop_get_data_start_off(subop, op_id); in anfc_parse_instructions()
516 nfc_op->len = nand_subop_get_data_len(subop, op_id); in anfc_parse_instructions()
592 const struct nand_subop *subop, in anfc_misc_data_type_exec() argument
599 ret = anfc_parse_instructions(chip, subop, &nfc_op); in anfc_misc_data_type_exec()
616 const struct nand_subop *subop) in anfc_param_read_type_exec() argument
618 return anfc_misc_data_type_exec(chip, subop, PROG_RDPARAM); in anfc_param_read_type_exec()
622 const struct nand_subop *subop) in anfc_data_read_type_exec() argument
624 return anfc_misc_data_type_exec(chip, subop, PROG_PGRD); in anfc_data_read_type_exec()
628 const struct nand_subop *subop) in anfc_param_write_type_exec() argument
630 return anfc_misc_data_type_exec(chip, subop, PROG_SET_FEATURE); in anfc_param_write_type_exec()
634 const struct nand_subop *subop) in anfc_data_write_type_exec() argument
636 return anfc_misc_data_type_exec(chip, subop, PROG_PGPROG); in anfc_data_write_type_exec()
640 const struct nand_subop *subop, in anfc_misc_zerolen_type_exec() argument
647 ret = anfc_parse_instructions(chip, subop, &nfc_op); in anfc_misc_zerolen_type_exec()
665 const struct nand_subop *subop) in anfc_status_type_exec() argument
672 if (subop->instrs[0].ctx.cmd.opcode != NAND_CMD_STATUS) in anfc_status_type_exec()
675 ret = anfc_misc_zerolen_type_exec(chip, subop, PROG_STATUS); in anfc_status_type_exec()
680 memcpy(subop->instrs[1].ctx.data.buf.in, &tmp, 1); in anfc_status_type_exec()
686 const struct nand_subop *subop) in anfc_reset_type_exec() argument
688 return anfc_misc_zerolen_type_exec(chip, subop, PROG_RST); in anfc_reset_type_exec()
692 const struct nand_subop *subop) in anfc_erase_type_exec() argument
694 return anfc_misc_zerolen_type_exec(chip, subop, PROG_ERASE); in anfc_erase_type_exec()
698 const struct nand_subop *subop) in anfc_wait_type_exec() argument
704 ret = anfc_parse_instructions(chip, subop, &nfc_op); in anfc_wait_type_exec()