Home
last modified time | relevance | path

Searched refs:p_cnt (Results 1 – 3 of 3) sorted by relevance

/drivers/mmc/host/
Dtifm_sd.c171 unsigned int p_off, p_cnt; in tifm_sd_transfer_data() local
196 p_cnt = PAGE_SIZE - p_off; in tifm_sd_transfer_data()
197 p_cnt = min(p_cnt, cnt); in tifm_sd_transfer_data()
198 p_cnt = min(p_cnt, t_size); in tifm_sd_transfer_data()
201 tifm_sd_read_fifo(host, pg, p_off, p_cnt); in tifm_sd_transfer_data()
203 tifm_sd_write_fifo(host, pg, p_off, p_cnt); in tifm_sd_transfer_data()
205 t_size -= p_cnt; in tifm_sd_transfer_data()
206 host->block_pos += p_cnt; in tifm_sd_transfer_data()
228 unsigned int p_off, p_cnt; in tifm_sd_bounce_block() local
245 p_cnt = PAGE_SIZE - p_off; in tifm_sd_bounce_block()
[all …]
/drivers/memstick/host/
Dtifm_ms.c186 unsigned int t_size, p_cnt; in tifm_ms_transfer_data() local
208 p_cnt = PAGE_SIZE - p_off; in tifm_ms_transfer_data()
209 p_cnt = min(p_cnt, length); in tifm_ms_transfer_data()
215 p_cnt = host->req->data_len - host->block_pos; in tifm_ms_transfer_data()
219 ? tifm_ms_write_data(host, buf, p_cnt) in tifm_ms_transfer_data()
220 : tifm_ms_read_data(host, buf, p_cnt); in tifm_ms_transfer_data()
Djmb38x_ms.c302 unsigned int t_size, p_cnt; in jmb38x_ms_transfer_data() local
322 p_cnt = PAGE_SIZE - p_off; in jmb38x_ms_transfer_data()
323 p_cnt = min(p_cnt, length); in jmb38x_ms_transfer_data()
329 p_cnt = host->req->data_len - host->block_pos; in jmb38x_ms_transfer_data()
334 ? jmb38x_ms_write_data(host, buf, p_cnt) in jmb38x_ms_transfer_data()
335 : jmb38x_ms_write_reg_data(host, buf, p_cnt); in jmb38x_ms_transfer_data()
338 ? jmb38x_ms_read_data(host, buf, p_cnt) in jmb38x_ms_transfer_data()
339 : jmb38x_ms_read_reg_data(host, buf, p_cnt); in jmb38x_ms_transfer_data()