Lines Matching refs:io_pos
82 unsigned char io_pos; member
92 while (host->io_pos && length) { in tifm_ms_read_data()
96 host->io_pos--; in tifm_ms_read_data()
114 for (host->io_pos = 4; host->io_pos; --host->io_pos) { in tifm_ms_read_data()
132 if (host->io_pos) { in tifm_ms_write_data()
133 while (host->io_pos < 4 && length) { in tifm_ms_write_data()
134 host->io_word |= buf[off++] << (host->io_pos * 8); in tifm_ms_write_data()
135 host->io_pos++; in tifm_ms_write_data()
140 if (host->io_pos == 4 in tifm_ms_write_data()
145 host->io_pos = 0; in tifm_ms_write_data()
147 } else if (host->io_pos) { in tifm_ms_write_data()
168 host->io_pos++; in tifm_ms_write_data()
171 host->io_pos++; in tifm_ms_write_data()
174 host->io_pos++; in tifm_ms_write_data()
177 off += host->io_pos; in tifm_ms_write_data()
237 if (host->io_pos) { in tifm_ms_transfer_data()
262 host->io_pos = 0; in tifm_ms_issue_cmd()