Searched refs:buffs (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ras_eeprom.c | 477 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/ |
D | ixp4xx_hss.c | 1113 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 …]
|
D | hd64570.c | 162 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()
|
D | hd64572.c | 136 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/ |
D | ixp4xx_eth.c | 1272 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/ |
D | mvpp2.h | 1321 struct mvpp2_txq_pcpu_buf *buffs; member
|
D | mvpp2_main.c | 303 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/ |
D | raid1.c | 2578 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()
|
D | raid10.c | 2771 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()
|