Lines Matching refs:instrs

1013 	struct nand_op_instr instrs[] = {  in nand_sp_exec_read_page_op()  local
1020 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_sp_exec_read_page_op()
1028 instrs[0].ctx.cmd.opcode = NAND_CMD_READOOB; in nand_sp_exec_read_page_op()
1031 instrs[0].ctx.cmd.opcode = NAND_CMD_READ1; in nand_sp_exec_read_page_op()
1042 instrs[1].ctx.addr.naddrs++; in nand_sp_exec_read_page_op()
1055 struct nand_op_instr instrs[] = { in nand_lp_exec_read_page_op() local
1063 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_lp_exec_read_page_op()
1079 instrs[1].ctx.addr.naddrs++; in nand_lp_exec_read_page_op()
1151 struct nand_op_instr instrs[] = { in nand_read_param_page_op() local
1158 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_read_param_page_op()
1207 struct nand_op_instr instrs[] = { in nand_change_read_column_op() local
1214 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_change_read_column_op()
1225 instrs[3].ctx.data.force_8bit = force_8bit; in nand_change_read_column_op()
1283 struct nand_op_instr instrs[] = { in nand_exec_prog_page_op() local
1296 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_exec_prog_page_op()
1309 instrs[2].ctx.addr.naddrs = naddrs; in nand_exec_prog_page_op()
1326 instrs[0].ctx.cmd.opcode = NAND_CMD_READOOB; in nand_exec_prog_page_op()
1329 instrs[0].ctx.cmd.opcode = NAND_CMD_READ1; in nand_exec_prog_page_op()
1335 op.instrs++; in nand_exec_prog_page_op()
1405 struct nand_op_instr instrs[] = { in nand_prog_page_end_op() local
1410 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_prog_page_end_op()
1513 struct nand_op_instr instrs[] = { in nand_change_write_column_op() local
1518 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_change_write_column_op()
1525 instrs[2].ctx.data.force_8bit = force_8bit; in nand_change_write_column_op()
1567 struct nand_op_instr instrs[] = { in nand_readid_op() local
1572 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_readid_op()
1606 struct nand_op_instr instrs[] = { in nand_status_op() local
1611 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_status_op()
1641 struct nand_op_instr instrs[] = { in nand_exit_status_op() local
1644 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_exit_status_op()
1676 struct nand_op_instr instrs[] = { in nand_erase_op() local
1683 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_erase_op()
1686 instrs[1].ctx.addr.naddrs++; in nand_erase_op()
1734 struct nand_op_instr instrs[] = { in nand_set_features_op() local
1741 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_set_features_op()
1781 struct nand_op_instr instrs[] = { in nand_get_features_op() local
1789 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_get_features_op()
1805 struct nand_op_instr instrs[] = { in nand_wait_rdy_op() local
1809 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_wait_rdy_op()
1838 struct nand_op_instr instrs[] = { in nand_reset_op() local
1842 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_reset_op()
1875 struct nand_op_instr instrs[] = { in nand_read_data_op() local
1878 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_read_data_op()
1880 instrs[0].ctx.data.force_8bit = force_8bit; in nand_read_data_op()
1925 struct nand_op_instr instrs[] = { in nand_write_data_op() local
1928 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_write_data_op()
1930 instrs[0].ctx.data.force_8bit = force_8bit; in nand_write_data_op()
1959 const struct nand_op_instr *instrs; member
2036 const struct nand_op_instr *end = ctx->instrs + ctx->ninstrs; in nand_op_parser_match_pat()
2037 const struct nand_op_instr *instr = ctx->subop.instrs; in nand_op_parser_match_pat()
2114 instr = &ctx->instrs[i]; in nand_op_parser_trace()
2116 if (instr == &ctx->subop.instrs[0]) in nand_op_parser_trace()
2121 if (instr == &ctx->subop.instrs[ctx->subop.ninstrs - 1]) in nand_op_parser_trace()
2176 .subop.instrs = op->instrs, in nand_op_parser_exec_op()
2177 .instrs = op->instrs, in nand_op_parser_exec_op()
2182 while (ctx.subop.instrs < op->instrs + op->ninstrs) { in nand_op_parser_exec_op()
2221 ctx.subop.instrs = ctx.subop.instrs + ctx.subop.ninstrs; in nand_op_parser_exec_op()
2223 ctx.subop.instrs -= 1; in nand_op_parser_exec_op()
2268 subop->instrs[instr_idx].type != NAND_OP_ADDR_INSTR)) in nand_subop_get_addr_start_off()
2292 subop->instrs[instr_idx].type != NAND_OP_ADDR_INSTR)) in nand_subop_get_num_addr_cyc()
2301 end_off = subop->instrs[instr_idx].ctx.addr.naddrs; in nand_subop_get_num_addr_cyc()
2322 !nand_instr_is_data(&subop->instrs[instr_idx]))) in nand_subop_get_data_start_off()
2346 !nand_instr_is_data(&subop->instrs[instr_idx]))) in nand_subop_get_data_len()
2355 end_off = subop->instrs[instr_idx].ctx.data.len; in nand_subop_get_data_len()