Lines Matching refs:subop
584 const struct nand_subop *subop, in anfc_parse_instructions() argument
598 for (op_id = 0; op_id < subop->ninstrs; op_id++) { in anfc_parse_instructions()
603 instr = &subop->instrs[op_id]; in anfc_parse_instructions()
616 offset = nand_subop_get_addr_start_off(subop, op_id); in anfc_parse_instructions()
617 naddrs = nand_subop_get_num_addr_cyc(subop, op_id); in anfc_parse_instructions()
633 offset = nand_subop_get_data_start_off(subop, op_id); in anfc_parse_instructions()
636 nfc_op->len = nand_subop_get_data_len(subop, op_id); in anfc_parse_instructions()
712 const struct nand_subop *subop, in anfc_misc_data_type_exec() argument
719 ret = anfc_parse_instructions(chip, subop, &nfc_op); in anfc_misc_data_type_exec()
736 const struct nand_subop *subop) in anfc_param_read_type_exec() argument
738 return anfc_misc_data_type_exec(chip, subop, PROG_RDPARAM); in anfc_param_read_type_exec()
742 const struct nand_subop *subop) in anfc_data_read_type_exec() argument
756 if (subop->instrs[0].ctx.cmd.opcode == NAND_CMD_RNDOUT && in anfc_data_read_type_exec()
757 subop->instrs[2].ctx.cmd.opcode == NAND_CMD_RNDOUTSTART) in anfc_data_read_type_exec()
760 return anfc_misc_data_type_exec(chip, subop, prog_reg); in anfc_data_read_type_exec()
764 const struct nand_subop *subop) in anfc_param_write_type_exec() argument
766 return anfc_misc_data_type_exec(chip, subop, PROG_SET_FEATURE); in anfc_param_write_type_exec()
770 const struct nand_subop *subop) in anfc_data_write_type_exec() argument
772 return anfc_misc_data_type_exec(chip, subop, PROG_PGPROG); in anfc_data_write_type_exec()
776 const struct nand_subop *subop, in anfc_misc_zerolen_type_exec() argument
783 ret = anfc_parse_instructions(chip, subop, &nfc_op); in anfc_misc_zerolen_type_exec()
801 const struct nand_subop *subop) in anfc_status_type_exec() argument
808 if (subop->instrs[0].ctx.cmd.opcode != NAND_CMD_STATUS) in anfc_status_type_exec()
811 ret = anfc_misc_zerolen_type_exec(chip, subop, PROG_STATUS); in anfc_status_type_exec()
816 memcpy(subop->instrs[1].ctx.data.buf.in, &tmp, 1); in anfc_status_type_exec()
822 const struct nand_subop *subop) in anfc_reset_type_exec() argument
824 return anfc_misc_zerolen_type_exec(chip, subop, PROG_RST); in anfc_reset_type_exec()
828 const struct nand_subop *subop) in anfc_erase_type_exec() argument
830 return anfc_misc_zerolen_type_exec(chip, subop, PROG_ERASE); in anfc_erase_type_exec()
834 const struct nand_subop *subop) in anfc_wait_type_exec() argument
840 ret = anfc_parse_instructions(chip, subop, &nfc_op); in anfc_wait_type_exec()