Home
last modified time | relevance | path

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

/drivers/mmc/host/
Dtifm_sd.c170 unsigned int p_off, p_cnt; in tifm_sd_transfer_data() local
195 p_cnt = PAGE_SIZE - p_off; in tifm_sd_transfer_data()
196 p_cnt = min(p_cnt, cnt); in tifm_sd_transfer_data()
197 p_cnt = min(p_cnt, t_size); in tifm_sd_transfer_data()
200 tifm_sd_read_fifo(host, pg, p_off, p_cnt); in tifm_sd_transfer_data()
202 tifm_sd_write_fifo(host, pg, p_off, p_cnt); in tifm_sd_transfer_data()
204 t_size -= p_cnt; in tifm_sd_transfer_data()
205 host->block_pos += p_cnt; in tifm_sd_transfer_data()
227 unsigned int p_off, p_cnt; in tifm_sd_bounce_block() local
244 p_cnt = PAGE_SIZE - p_off; in tifm_sd_bounce_block()
[all …]
/drivers/memstick/host/
Dtifm_ms.c185 unsigned int t_size, p_cnt; in tifm_ms_transfer_data() local
207 p_cnt = PAGE_SIZE - p_off; in tifm_ms_transfer_data()
208 p_cnt = min(p_cnt, length); in tifm_ms_transfer_data()
214 p_cnt = host->req->data_len - host->block_pos; in tifm_ms_transfer_data()
218 ? tifm_ms_write_data(host, buf, p_cnt) in tifm_ms_transfer_data()
219 : 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()
/drivers/block/rnbd/
Drnbd-clt-sysfs.c73 int p_cnt = 0; in rnbd_clt_parse_map_options() local
105 if (p_cnt >= max_path_cnt) { in rnbd_clt_parse_map_options()
119 &opt->paths[p_cnt]); in rnbd_clt_parse_map_options()
126 p_cnt++; in rnbd_clt_parse_map_options()
201 *opt->path_cnt = p_cnt; in rnbd_clt_parse_map_options()
/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()
467 prefetch(sd->pg_chunk.p_cnt); in alloc_pg_chunk()
478 *sd->pg_chunk.p_cnt = 1; in alloc_pg_chunk()
480 *sd->pg_chunk.p_cnt += 1; in alloc_pg_chunk()
875 prefetch(sd->pg_chunk.p_cnt); in get_packet_pg()
888 (*sd->pg_chunk.p_cnt)--; in get_packet_pg()
889 if (!*sd->pg_chunk.p_cnt && sd->pg_chunk.page != fl->pg_chunk.page) in get_packet_pg()
2155 (*sd->pg_chunk.p_cnt)--; in lro_add_page()
[all …]
Dadapter.h95 unsigned long *p_cnt; member