Lines Matching defs:instr
153 const struct nand_op_instr *instr)
159 switch (instr->type) {
161 writeb(instr->ctx.cmd.opcode,
168 for (i = 0; i < instr->ctx.addr.naddrs; i++) {
169 writeb(instr->ctx.addr.addrs[i],
178 !instr->ctx.data.force_8bit)
179 au_read_buf16(this, instr->ctx.data.buf.in,
180 instr->ctx.data.len);
182 au_read_buf(this, instr->ctx.data.buf.in,
183 instr->ctx.data.len);
188 !instr->ctx.data.force_8bit)
189 au_write_buf16(this, instr->ctx.data.buf.out,
190 instr->ctx.data.len);
192 au_write_buf(this, instr->ctx.data.buf.out,
193 instr->ctx.data.len);
197 ret = au1550nd_waitrdy(this, instr->ctx.waitrdy.timeout_ms);
203 if (instr->delay_ns)
204 ndelay(instr->delay_ns);