Lines Matching refs:instr
154 const struct nand_op_instr *instr)
160 switch (instr->type) {
162 writeb(instr->ctx.cmd.opcode,
169 for (i = 0; i < instr->ctx.addr.naddrs; i++) {
170 writeb(instr->ctx.addr.addrs[i],
179 !instr->ctx.data.force_8bit)
180 au_read_buf16(this, instr->ctx.data.buf.in,
181 instr->ctx.data.len);
183 au_read_buf(this, instr->ctx.data.buf.in,
184 instr->ctx.data.len);
189 !instr->ctx.data.force_8bit)
190 au_write_buf16(this, instr->ctx.data.buf.out,
191 instr->ctx.data.len);
193 au_write_buf(this, instr->ctx.data.buf.out,
194 instr->ctx.data.len);
198 ret = au1550nd_waitrdy(this, instr->ctx.waitrdy.timeout_ms);
204 if (instr->delay_ns)
205 ndelay(instr->delay_ns);