Home
last modified time | relevance | path

Searched refs:io_pos (Results 1 – 2 of 2) sorted by relevance

/drivers/memstick/host/
Djmb38x_ms.c62 unsigned char io_pos; member
160 while (host->io_pos && length) { in jmb38x_ms_read_data()
164 host->io_pos--; in jmb38x_ms_read_data()
181 for (host->io_pos = 4; host->io_pos; --host->io_pos) { in jmb38x_ms_read_data()
199 while (host->io_pos > 4 && length) { in jmb38x_ms_read_reg_data()
203 host->io_pos--; in jmb38x_ms_read_reg_data()
209 while (host->io_pos && length) { in jmb38x_ms_read_reg_data()
213 host->io_pos--; in jmb38x_ms_read_reg_data()
225 if (host->io_pos) { in jmb38x_ms_write_data()
226 while (host->io_pos < 4 && length) { in jmb38x_ms_write_data()
[all …]
Dtifm_ms.c81 unsigned char io_pos; member
91 while (host->io_pos && length) { in tifm_ms_read_data()
95 host->io_pos--; in tifm_ms_read_data()
113 for (host->io_pos = 4; host->io_pos; --host->io_pos) { in tifm_ms_read_data()
131 if (host->io_pos) { in tifm_ms_write_data()
132 while (host->io_pos < 4 && length) { in tifm_ms_write_data()
133 host->io_word |= buf[off++] << (host->io_pos * 8); in tifm_ms_write_data()
134 host->io_pos++; in tifm_ms_write_data()
139 if (host->io_pos == 4 in tifm_ms_write_data()
144 host->io_pos = 0; in tifm_ms_write_data()
[all …]