Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/memstick/host/
Djmb38x_ms.c61 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()
[all …]
Dtifm_ms.c78 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()
[all …]