Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/memstick/host/
Djmb38x_ms.c65 unsigned char io_pos; member
163 while (host->io_pos && length) { in jmb38x_ms_read_data()
167 host->io_pos--; in jmb38x_ms_read_data()
184 for (host->io_pos = 4; host->io_pos; --host->io_pos) { in jmb38x_ms_read_data()
202 while (host->io_pos > 4 && length) { in jmb38x_ms_read_reg_data()
206 host->io_pos--; in jmb38x_ms_read_reg_data()
212 while (host->io_pos && length) { in jmb38x_ms_read_reg_data()
216 host->io_pos--; in jmb38x_ms_read_reg_data()
228 if (host->io_pos) { in jmb38x_ms_write_data()
229 while (host->io_pos < 4 && length) { in jmb38x_ms_write_data()
[all …]
Dtifm_ms.c82 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()
[all …]