Home
last modified time | relevance | path

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

/linux-2.6.39/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 …]
/linux-2.6.39/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.c303 unsigned int t_size, p_cnt; in jmb38x_ms_transfer_data() local
323 p_cnt = PAGE_SIZE - p_off; in jmb38x_ms_transfer_data()
324 p_cnt = min(p_cnt, length); in jmb38x_ms_transfer_data()
330 p_cnt = host->req->data_len - host->block_pos; in jmb38x_ms_transfer_data()
335 ? jmb38x_ms_write_data(host, buf, p_cnt) in jmb38x_ms_transfer_data()
336 : jmb38x_ms_write_reg_data(host, buf, p_cnt); in jmb38x_ms_transfer_data()
339 ? jmb38x_ms_read_data(host, buf, p_cnt) in jmb38x_ms_transfer_data()
340 : jmb38x_ms_read_reg_data(host, buf, p_cnt); in jmb38x_ms_transfer_data()
/linux-2.6.39/drivers/net/cxgb3/
Dsge.c355 (*d->pg_chunk.p_cnt)--; in clear_rx_desc()
356 if (!*d->pg_chunk.p_cnt) in clear_rx_desc()
452 q->pg_chunk.p_cnt = q->pg_chunk.va + (PAGE_SIZE << order) - in alloc_pg_chunk()
461 prefetch(sd->pg_chunk.p_cnt); in alloc_pg_chunk()
472 *sd->pg_chunk.p_cnt = 1; in alloc_pg_chunk()
474 *sd->pg_chunk.p_cnt += 1; in alloc_pg_chunk()
869 prefetch(sd->pg_chunk.p_cnt); in get_packet_pg()
882 (*sd->pg_chunk.p_cnt)--; in get_packet_pg()
883 if (!*sd->pg_chunk.p_cnt && sd->pg_chunk.page != fl->pg_chunk.page) in get_packet_pg()
2102 (*sd->pg_chunk.p_cnt)--; in lro_add_page()
[all …]
Dadapter.h104 unsigned long *p_cnt; member