Lines Matching refs:instrs
1139 struct nand_op_instr instrs[] = {
1146 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
1154 instrs[0].ctx.cmd.opcode = NAND_CMD_READOOB;
1157 instrs[0].ctx.cmd.opcode = NAND_CMD_READ1;
1168 instrs[1].ctx.addr.naddrs++;
1181 struct nand_op_instr instrs[] = {
1189 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
1205 instrs[1].ctx.addr.naddrs++;
1380 struct nand_op_instr instrs[] = {
1388 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
1437 struct nand_op_instr instrs[] = {
1444 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
1455 instrs[3].ctx.data.force_8bit = force_8bit;
1513 struct nand_op_instr instrs[] = {
1527 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
1538 instrs[2].ctx.addr.naddrs = naddrs;
1555 instrs[0].ctx.cmd.opcode = NAND_CMD_READOOB;
1558 instrs[0].ctx.cmd.opcode = NAND_CMD_READ1;
1564 op.instrs++;
1626 struct nand_op_instr instrs[] = {
1632 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
1746 struct nand_op_instr instrs[] = {
1751 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
1758 instrs[2].ctx.data.force_8bit = force_8bit;
1800 struct nand_op_instr instrs[] = {
1806 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
1815 instrs[2].ctx.data.len *= 2;
1816 instrs[2].ctx.data.buf.in = ddrbuf;
1860 struct nand_op_instr instrs[] = {
1865 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
1870 instrs[1].ctx.data.len *= 2;
1871 instrs[1].ctx.data.buf.in = ddrstatus;
1906 struct nand_op_instr instrs[] = {
1909 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
1942 struct nand_op_instr instrs[] = {
1950 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
1953 instrs[1].ctx.addr.naddrs++;
2001 struct nand_op_instr instrs[] = {
2011 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
2051 struct nand_op_instr instrs[] = {
2060 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
2065 instrs[3].ctx.data.len *= 2;
2066 instrs[3].ctx.data.buf.in = ddrbuf;
2089 struct nand_op_instr instrs[] = {
2093 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
2122 struct nand_op_instr instrs[] = {
2128 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
2163 struct nand_op_instr instrs[] = {
2166 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
2170 instrs[0].ctx.data.force_8bit = force_8bit;
2184 instrs[0].ctx.data.len *= 2;
2185 instrs[0].ctx.data.buf.in = ddrbuf;
2244 struct nand_op_instr instrs[] = {
2247 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
2249 instrs[0].ctx.data.force_8bit = force_8bit;
2270 * @instrs: array of all the instructions that must be addressed
2271 * @ninstrs: length of the @instrs array
2278 const struct nand_op_instr *instrs;
2355 const struct nand_op_instr *end = ctx->instrs + ctx->ninstrs;
2356 const struct nand_op_instr *instr = ctx->subop.instrs;
2433 instr = &ctx->instrs[i];
2435 if (instr == &ctx->subop.instrs[0])
2440 if (instr == &ctx->subop.instrs[ctx->subop.ninstrs - 1])
2495 .subop.instrs = op->instrs,
2496 .instrs = op->instrs,
2501 while (ctx.subop.instrs < op->instrs + op->ninstrs) {
2540 ctx.subop.instrs = ctx.subop.instrs + ctx.subop.ninstrs;
2542 ctx.subop.instrs -= 1;
2587 subop->instrs[instr_idx].type != NAND_OP_ADDR_INSTR))
2611 subop->instrs[instr_idx].type != NAND_OP_ADDR_INSTR))
2620 end_off = subop->instrs[instr_idx].ctx.addr.naddrs;
2641 !nand_instr_is_data(&subop->instrs[instr_idx])))
2665 !nand_instr_is_data(&subop->instrs[instr_idx])))
2674 end_off = subop->instrs[instr_idx].ctx.data.len;