Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras_eeprom.c346 unsigned char *buffs; in amdgpu_ras_eeprom_process_recods() local
352 buffs = kcalloc(num, EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE, in amdgpu_ras_eeprom_process_recods()
354 if (!buffs) in amdgpu_ras_eeprom_process_recods()
376 unsigned char *buff = &buffs[i * (EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE)]; in amdgpu_ras_eeprom_process_recods()
418 unsigned char *buff = &buffs[i*(EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE)]; in amdgpu_ras_eeprom_process_recods()
444 __update_table_header(control, buffs); in amdgpu_ras_eeprom_process_recods()
455 kfree(buffs); in amdgpu_ras_eeprom_process_recods()
/drivers/net/wan/
Dixp4xx_hss.c1112 int i, buffs = RX_DESCS; /* allocated RX buffers */ in hss_hdlc_close() local
1123 buffs--; in hss_hdlc_close()
1125 buffs--; in hss_hdlc_close()
1127 if (buffs) in hss_hdlc_close()
1129 buffs); in hss_hdlc_close()
1131 buffs = TX_DESCS; in hss_hdlc_close()
1133 buffs--; /* cancel TX */ in hss_hdlc_close()
1138 buffs--; in hss_hdlc_close()
1139 if (!buffs) in hss_hdlc_close()
1143 if (buffs) in hss_hdlc_close()
[all …]
Dhd64570.c162 u16 buffs = transmit ? card->tx_ring_buffers in sca_init_port() local
165 for (i = 0; i < buffs; i++) { in sca_init_port()
187 sca_outw(desc_offset(port, buffs - 1, transmit), in sca_init_port()
Dhd64572.c136 u16 buffs = transmit ? card->tx_ring_buffers in sca_init_port() local
139 for (i = 0; i < buffs; i++) { in sca_init_port()
/drivers/net/ethernet/xscale/
Dixp4xx_eth.c1286 int buffs = RX_DESCS; /* allocated RX buffers */ in eth_close() local
1295 buffs--; in eth_close()
1307 buffs--; in eth_close()
1308 if (!buffs) in eth_close()
1325 if (buffs) in eth_close()
1327 " left in NPE\n", dev->name, buffs); in eth_close()
1329 if (!buffs) in eth_close()
1333 buffs = TX_DESCS; in eth_close()
1335 buffs--; /* cancel TX */ in eth_close()
1340 buffs--; in eth_close()
[all …]
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c285 txq_pcpu->buffs + txq_pcpu->txq_put_index; in mvpp2_txq_inc_put()
2238 txq_pcpu->buffs + txq_pcpu->txq_get_index; in mvpp2_txq_bufs_free()
2517 txq_pcpu->buffs = kmalloc_array(txq_pcpu->size, in mvpp2_txq_init()
2518 sizeof(*txq_pcpu->buffs), in mvpp2_txq_init()
2520 if (!txq_pcpu->buffs) in mvpp2_txq_init()
2553 kfree(txq_pcpu->buffs); in mvpp2_txq_deinit()
Dmvpp2.h1093 struct mvpp2_txq_pcpu_buf *buffs; member
/drivers/md/
Draid1.c2595 int buffs; in init_resync() local
2597 buffs = RESYNC_WINDOW / RESYNC_BLOCK_SIZE; in init_resync()
2600 return mempool_init(&conf->r1buf_pool, buffs, r1buf_pool_alloc, in init_resync()
Draid10.c2787 int ret, buffs, i; in init_resync() local
2789 buffs = RESYNC_WINDOW / RESYNC_BLOCK_SIZE; in init_resync()
2795 ret = mempool_init(&conf->r10buf_pool, buffs, in init_resync()