Lines Matching refs:instr
76 const struct nand_op_instr *instr)
81 switch (instr->type) {
86 writeb(instr->ctx.cmd.opcode, gpiomtd->io);
95 for (i = 0; i < instr->ctx.addr.naddrs; i++)
96 writeb(instr->ctx.addr.addrs[i], gpiomtd->io);
104 !instr->ctx.data.force_8bit)
105 ioread16_rep(gpiomtd->io, instr->ctx.data.buf.in,
106 instr->ctx.data.len / 2);
108 ioread8_rep(gpiomtd->io, instr->ctx.data.buf.in,
109 instr->ctx.data.len);
115 !instr->ctx.data.force_8bit)
116 iowrite16_rep(gpiomtd->io, instr->ctx.data.buf.out,
117 instr->ctx.data.len / 2);
119 iowrite8_rep(gpiomtd->io, instr->ctx.data.buf.out,
120 instr->ctx.data.len);
125 return nand_soft_waitrdy(chip, instr->ctx.waitrdy.timeout_ms);
128 instr->ctx.waitrdy.timeout_ms);