Lines Matching refs:io_pos

61 	unsigned char           io_pos;  member
159 while (host->io_pos && length) { in jmb38x_ms_read_data()
163 host->io_pos--; in jmb38x_ms_read_data()
180 for (host->io_pos = 4; host->io_pos; --host->io_pos) { in jmb38x_ms_read_data()
198 while (host->io_pos > 4 && length) { in jmb38x_ms_read_reg_data()
202 host->io_pos--; in jmb38x_ms_read_reg_data()
208 while (host->io_pos && length) { in jmb38x_ms_read_reg_data()
212 host->io_pos--; in jmb38x_ms_read_reg_data()
224 if (host->io_pos) { in jmb38x_ms_write_data()
225 while (host->io_pos < 4 && length) { in jmb38x_ms_write_data()
226 host->io_word[0] |= buf[off++] << (host->io_pos * 8); in jmb38x_ms_write_data()
227 host->io_pos++; in jmb38x_ms_write_data()
232 if (host->io_pos == 4 in jmb38x_ms_write_data()
235 host->io_pos = 0; in jmb38x_ms_write_data()
237 } else if (host->io_pos) { in jmb38x_ms_write_data()
257 host->io_pos++; in jmb38x_ms_write_data()
261 host->io_pos++; in jmb38x_ms_write_data()
265 host->io_pos++; in jmb38x_ms_write_data()
268 off += host->io_pos; in jmb38x_ms_write_data()
279 while (host->io_pos < 4 && length) { in jmb38x_ms_write_reg_data()
280 host->io_word[0] &= ~(0xff << (host->io_pos * 8)); in jmb38x_ms_write_reg_data()
281 host->io_word[0] |= buf[off++] << (host->io_pos * 8); in jmb38x_ms_write_reg_data()
282 host->io_pos++; in jmb38x_ms_write_reg_data()
289 while (host->io_pos < 8 && length) { in jmb38x_ms_write_reg_data()
290 host->io_word[1] &= ~(0xff << (host->io_pos * 8)); in jmb38x_ms_write_reg_data()
291 host->io_word[1] |= buf[off++] << (host->io_pos * 8); in jmb38x_ms_write_reg_data()
292 host->io_pos++; in jmb38x_ms_write_reg_data()
358 } else if (host->io_pos) { in jmb38x_ms_transfer_data()
383 host->io_pos = 0; in jmb38x_ms_issue_cmd()
564 host->io_pos = 8; in jmb38x_ms_isr()