Home
last modified time | relevance | path

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

/drivers/mmc/host/
Dtifm_sd.c172 unsigned int p_off, p_cnt; in tifm_sd_transfer_data() local
197 p_cnt = PAGE_SIZE - p_off; in tifm_sd_transfer_data()
198 p_cnt = min(p_cnt, cnt); in tifm_sd_transfer_data()
199 p_cnt = min(p_cnt, t_size); in tifm_sd_transfer_data()
202 tifm_sd_read_fifo(host, pg, p_off, p_cnt); in tifm_sd_transfer_data()
204 tifm_sd_write_fifo(host, pg, p_off, p_cnt); in tifm_sd_transfer_data()
206 t_size -= p_cnt; in tifm_sd_transfer_data()
207 host->block_pos += p_cnt; in tifm_sd_transfer_data()
229 unsigned int p_off, p_cnt; in tifm_sd_bounce_block() local
246 p_cnt = PAGE_SIZE - p_off; in tifm_sd_bounce_block()
[all …]
/drivers/memstick/host/
Dtifm_ms.c187 unsigned int t_size, p_cnt; in tifm_ms_transfer_data() local
209 p_cnt = PAGE_SIZE - p_off; in tifm_ms_transfer_data()
210 p_cnt = min(p_cnt, length); in tifm_ms_transfer_data()
216 p_cnt = host->req->data_len - host->block_pos; in tifm_ms_transfer_data()
220 ? tifm_ms_write_data(host, buf, p_cnt) in tifm_ms_transfer_data()
221 : tifm_ms_read_data(host, buf, p_cnt); in tifm_ms_transfer_data()
Djmb38x_ms.c304 unsigned int t_size, p_cnt; in jmb38x_ms_transfer_data() local
324 p_cnt = PAGE_SIZE - p_off; in jmb38x_ms_transfer_data()
325 p_cnt = min(p_cnt, length); in jmb38x_ms_transfer_data()
331 p_cnt = host->req->data_len - host->block_pos; in jmb38x_ms_transfer_data()
336 ? jmb38x_ms_write_data(host, buf, p_cnt) in jmb38x_ms_transfer_data()
337 : jmb38x_ms_write_reg_data(host, buf, p_cnt); in jmb38x_ms_transfer_data()
340 ? jmb38x_ms_read_data(host, buf, p_cnt) in jmb38x_ms_transfer_data()
341 : jmb38x_ms_read_reg_data(host, buf, p_cnt); in jmb38x_ms_transfer_data()
/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c356 (*d->pg_chunk.p_cnt)--; in clear_rx_desc()
357 if (!*d->pg_chunk.p_cnt) in clear_rx_desc()
453 q->pg_chunk.p_cnt = q->pg_chunk.va + (PAGE_SIZE << order) - in alloc_pg_chunk()
462 prefetch(sd->pg_chunk.p_cnt); in alloc_pg_chunk()
473 *sd->pg_chunk.p_cnt = 1; in alloc_pg_chunk()
475 *sd->pg_chunk.p_cnt += 1; in alloc_pg_chunk()
870 prefetch(sd->pg_chunk.p_cnt); in get_packet_pg()
883 (*sd->pg_chunk.p_cnt)--; in get_packet_pg()
884 if (!*sd->pg_chunk.p_cnt && sd->pg_chunk.page != fl->pg_chunk.page) in get_packet_pg()
2086 (*sd->pg_chunk.p_cnt)--; in lro_add_page()
[all …]
Dadapter.h96 unsigned long *p_cnt; member