Home
last modified time | relevance | path

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

/drivers/net/wan/
Dixp4xx_hss.c1115 int i, buffs = RX_DESCS; /* allocated RX buffers */ in hss_hdlc_close() local
1126 buffs--; in hss_hdlc_close()
1128 buffs--; in hss_hdlc_close()
1130 if (buffs) in hss_hdlc_close()
1132 buffs); in hss_hdlc_close()
1134 buffs = TX_DESCS; in hss_hdlc_close()
1136 buffs--; /* cancel TX */ in hss_hdlc_close()
1141 buffs--; in hss_hdlc_close()
1142 if (!buffs) in hss_hdlc_close()
1146 if (buffs) in hss_hdlc_close()
[all …]
Dhd64570.c166 u16 buffs = transmit ? card->tx_ring_buffers in sca_init_port() local
169 for (i = 0; i < buffs; i++) { in sca_init_port()
191 sca_outw(desc_offset(port, buffs - 1, transmit), in sca_init_port()
Dhd64572.c140 u16 buffs = transmit ? card->tx_ring_buffers in sca_init_port() local
143 for (i = 0; i < buffs; i++) { in sca_init_port()
/drivers/net/ethernet/xscale/
Dixp4xx_eth.c1291 int buffs = RX_DESCS; /* allocated RX buffers */ in eth_close() local
1300 buffs--; in eth_close()
1312 buffs--; in eth_close()
1313 if (!buffs) in eth_close()
1330 if (buffs) in eth_close()
1332 " left in NPE\n", dev->name, buffs); in eth_close()
1334 if (!buffs) in eth_close()
1338 buffs = TX_DESCS; in eth_close()
1340 buffs--; /* cancel TX */ in eth_close()
1345 buffs--; in eth_close()
[all …]
/drivers/md/
Draid1.c2334 int buffs; in init_resync() local
2336 buffs = RESYNC_WINDOW / RESYNC_BLOCK_SIZE; in init_resync()
2338 conf->r1buf_pool = mempool_create(buffs, r1buf_pool_alloc, r1buf_pool_free, in init_resync()
Draid10.c2840 int buffs; in init_resync() local
2843 buffs = RESYNC_WINDOW / RESYNC_BLOCK_SIZE; in init_resync()
2849 conf->r10buf_pool = mempool_create(buffs, r10buf_pool_alloc, r10buf_pool_free, conf); in init_resync()