Lines Matching refs:io_pos
78 unsigned char io_pos; member
88 while (host->io_pos && length) { in tifm_ms_read_data()
92 host->io_pos--; in tifm_ms_read_data()
110 for (host->io_pos = 4; host->io_pos; --host->io_pos) { in tifm_ms_read_data()
128 if (host->io_pos) { in tifm_ms_write_data()
129 while (host->io_pos < 4 && length) { in tifm_ms_write_data()
130 host->io_word |= buf[off++] << (host->io_pos * 8); in tifm_ms_write_data()
131 host->io_pos++; in tifm_ms_write_data()
136 if (host->io_pos == 4 in tifm_ms_write_data()
141 host->io_pos = 0; in tifm_ms_write_data()
143 } else if (host->io_pos) { in tifm_ms_write_data()
164 host->io_pos++; in tifm_ms_write_data()
168 host->io_pos++; in tifm_ms_write_data()
172 host->io_pos++; in tifm_ms_write_data()
175 off += host->io_pos; in tifm_ms_write_data()
235 if (host->io_pos) { in tifm_ms_transfer_data()
259 host->io_pos = 0; in tifm_ms_issue_cmd()