Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras_eeprom.c477 unsigned char *buffs, *buff; in amdgpu_ras_eeprom_process_recods() local
486 buffs = kcalloc(num, EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE, in amdgpu_ras_eeprom_process_recods()
488 if (!buffs) in amdgpu_ras_eeprom_process_recods()
529 buff = &buffs[i * (EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE)]; in amdgpu_ras_eeprom_process_recods()
571 buff = &buffs[i*(EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE)]; in amdgpu_ras_eeprom_process_recods()
597 __update_table_header(control, buffs); in amdgpu_ras_eeprom_process_recods()
622 kfree(buffs); in amdgpu_ras_eeprom_process_recods()
/kernel/linux/linux-5.10/drivers/net/wan/
Dixp4xx_hss.c1113 int i, buffs = RX_DESCS; /* allocated RX buffers */ in hss_hdlc_close() local
1124 buffs--; in hss_hdlc_close()
1126 buffs--; in hss_hdlc_close()
1128 if (buffs) in hss_hdlc_close()
1130 buffs); in hss_hdlc_close()
1132 buffs = TX_DESCS; in hss_hdlc_close()
1134 buffs--; /* cancel TX */ in hss_hdlc_close()
1139 buffs--; in hss_hdlc_close()
1140 if (!buffs) in hss_hdlc_close()
1144 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/xscale/
Dixp4xx_eth.c1272 int buffs = RX_DESCS; /* allocated RX buffers */ in eth_close() local
1281 buffs--; in eth_close()
1293 buffs--; in eth_close()
1294 if (!buffs) in eth_close()
1311 if (buffs) in eth_close()
1313 " left in NPE\n", buffs); in eth_close()
1315 if (!buffs) in eth_close()
1319 buffs = TX_DESCS; in eth_close()
1321 buffs--; /* cancel TX */ in eth_close()
1326 buffs--; in eth_close()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2.h1321 struct mvpp2_txq_pcpu_buf *buffs; member
Dmvpp2_main.c303 txq_pcpu->buffs + txq_pcpu->txq_put_index; in mvpp2_txq_inc_put()
2448 txq_pcpu->buffs + txq_pcpu->txq_get_index; in mvpp2_txq_bufs_free()
2774 txq_pcpu->buffs = kmalloc_array(txq_pcpu->size, in mvpp2_txq_init()
2775 sizeof(*txq_pcpu->buffs), in mvpp2_txq_init()
2777 if (!txq_pcpu->buffs) in mvpp2_txq_init()
2810 kfree(txq_pcpu->buffs); in mvpp2_txq_deinit()
/kernel/linux/linux-5.10/drivers/md/
Draid1.c2578 int buffs; in init_resync() local
2580 buffs = RESYNC_WINDOW / RESYNC_BLOCK_SIZE; in init_resync()
2583 return mempool_init(&conf->r1buf_pool, buffs, r1buf_pool_alloc, in init_resync()
Draid10.c2771 int ret, buffs, i; in init_resync() local
2773 buffs = RESYNC_WINDOW / RESYNC_BLOCK_SIZE; in init_resync()
2779 ret = mempool_init(&conf->r10buf_pool, buffs, in init_resync()