Lines Matching refs:instrs
1139 struct nand_op_instr instrs[] = { in nand_sp_exec_read_page_op() local
1146 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_sp_exec_read_page_op()
1154 instrs[0].ctx.cmd.opcode = NAND_CMD_READOOB; in nand_sp_exec_read_page_op()
1157 instrs[0].ctx.cmd.opcode = NAND_CMD_READ1; in nand_sp_exec_read_page_op()
1168 instrs[1].ctx.addr.naddrs++; in nand_sp_exec_read_page_op()
1181 struct nand_op_instr instrs[] = { in nand_lp_exec_read_page_op() local
1189 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_lp_exec_read_page_op()
1205 instrs[1].ctx.addr.naddrs++; in nand_lp_exec_read_page_op()
1277 struct nand_op_instr instrs[] = { in nand_read_param_page_op() local
1285 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_read_param_page_op()
1334 struct nand_op_instr instrs[] = { in nand_change_read_column_op() local
1341 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_change_read_column_op()
1352 instrs[3].ctx.data.force_8bit = force_8bit; in nand_change_read_column_op()
1410 struct nand_op_instr instrs[] = { in nand_exec_prog_page_op() local
1424 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_exec_prog_page_op()
1435 instrs[2].ctx.addr.naddrs = naddrs; in nand_exec_prog_page_op()
1452 instrs[0].ctx.cmd.opcode = NAND_CMD_READOOB; in nand_exec_prog_page_op()
1455 instrs[0].ctx.cmd.opcode = NAND_CMD_READ1; in nand_exec_prog_page_op()
1461 op.instrs++; in nand_exec_prog_page_op()
1523 struct nand_op_instr instrs[] = { in nand_prog_page_end_op() local
1529 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_prog_page_end_op()
1643 struct nand_op_instr instrs[] = { in nand_change_write_column_op() local
1648 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_change_write_column_op()
1655 instrs[2].ctx.data.force_8bit = force_8bit; in nand_change_write_column_op()
1697 struct nand_op_instr instrs[] = { in nand_readid_op() local
1703 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_readid_op()
1712 instrs[2].ctx.data.len *= 2; in nand_readid_op()
1713 instrs[2].ctx.data.buf.in = ddrbuf; in nand_readid_op()
1757 struct nand_op_instr instrs[] = { in nand_status_op() local
1762 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_status_op()
1767 instrs[1].ctx.data.len *= 2; in nand_status_op()
1768 instrs[1].ctx.data.buf.in = ddrstatus; in nand_status_op()
1803 struct nand_op_instr instrs[] = { in nand_exit_status_op() local
1806 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_exit_status_op()
1838 struct nand_op_instr instrs[] = { in nand_erase_op() local
1846 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_erase_op()
1849 instrs[1].ctx.addr.naddrs++; in nand_erase_op()
1897 struct nand_op_instr instrs[] = { in nand_set_features_op() local
1907 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_set_features_op()
1947 struct nand_op_instr instrs[] = { in nand_get_features_op() local
1956 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_get_features_op()
1961 instrs[3].ctx.data.len *= 2; in nand_get_features_op()
1962 instrs[3].ctx.data.buf.in = ddrbuf; in nand_get_features_op()
1985 struct nand_op_instr instrs[] = { in nand_wait_rdy_op() local
1989 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_wait_rdy_op()
2018 struct nand_op_instr instrs[] = { in nand_reset_op() local
2024 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_reset_op()
2059 struct nand_op_instr instrs[] = { in nand_read_data_op() local
2062 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_read_data_op()
2066 instrs[0].ctx.data.force_8bit = force_8bit; in nand_read_data_op()
2080 instrs[0].ctx.data.len *= 2; in nand_read_data_op()
2081 instrs[0].ctx.data.buf.in = ddrbuf; in nand_read_data_op()
2140 struct nand_op_instr instrs[] = { in nand_write_data_op() local
2143 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_write_data_op()
2145 instrs[0].ctx.data.force_8bit = force_8bit; in nand_write_data_op()
2174 const struct nand_op_instr *instrs; member
2251 const struct nand_op_instr *end = ctx->instrs + ctx->ninstrs; in nand_op_parser_match_pat()
2252 const struct nand_op_instr *instr = ctx->subop.instrs; in nand_op_parser_match_pat()
2329 instr = &ctx->instrs[i]; in nand_op_parser_trace()
2331 if (instr == &ctx->subop.instrs[0]) in nand_op_parser_trace()
2336 if (instr == &ctx->subop.instrs[ctx->subop.ninstrs - 1]) in nand_op_parser_trace()
2391 .subop.instrs = op->instrs, in nand_op_parser_exec_op()
2392 .instrs = op->instrs, in nand_op_parser_exec_op()
2397 while (ctx.subop.instrs < op->instrs + op->ninstrs) { in nand_op_parser_exec_op()
2436 ctx.subop.instrs = ctx.subop.instrs + ctx.subop.ninstrs; in nand_op_parser_exec_op()
2438 ctx.subop.instrs -= 1; in nand_op_parser_exec_op()
2483 subop->instrs[instr_idx].type != NAND_OP_ADDR_INSTR)) in nand_subop_get_addr_start_off()
2507 subop->instrs[instr_idx].type != NAND_OP_ADDR_INSTR)) in nand_subop_get_num_addr_cyc()
2516 end_off = subop->instrs[instr_idx].ctx.addr.naddrs; in nand_subop_get_num_addr_cyc()
2537 !nand_instr_is_data(&subop->instrs[instr_idx]))) in nand_subop_get_data_start_off()
2561 !nand_instr_is_data(&subop->instrs[instr_idx]))) in nand_subop_get_data_len()
2570 end_off = subop->instrs[instr_idx].ctx.data.len; in nand_subop_get_data_len()