Searched refs:p_cnt (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/mmc/host/ |
H A D | tifm_sd.c | 171 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/drivers/memstick/host/ |
H A D | tifm_ms.c | 185 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()
|
H A D | jmb38x_ms.c | 303 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/drivers/block/rnbd/ |
H A D | rnbd-clt-sysfs.c | 78 int p_cnt = 0; in rnbd_clt_parse_map_options() local 111 if (p_cnt >= max_path_cnt) { in rnbd_clt_parse_map_options() 125 &opt->paths[p_cnt]); in rnbd_clt_parse_map_options() 132 p_cnt++; in rnbd_clt_parse_map_options() 220 *opt->path_cnt = p_cnt; in rnbd_clt_parse_map_options()
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | sge.c | 353 (*d->pg_chunk.p_cnt)--; in clear_rx_desc() 354 if (!*d->pg_chunk.p_cnt) in clear_rx_desc() 449 q->pg_chunk.p_cnt = q->pg_chunk.va + (PAGE_SIZE << order) - in alloc_pg_chunk() 463 prefetch(sd->pg_chunk.p_cnt); in alloc_pg_chunk() 474 *sd->pg_chunk.p_cnt = 1; in alloc_pg_chunk() 476 *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() 2156 (*sd->pg_chunk.p_cnt)--; in lro_add_page() [all …]
|
H A D | adapter.h | 95 unsigned long *p_cnt; member
|