Home
last modified time | relevance | path

Searched refs:tmp_tx (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/dec/tulip/
Duli526x.c1300 struct tx_desc *tmp_tx; in uli526x_descriptor_init() local
1325 for (tmp_tx = db->first_tx_desc, i = 0; i < TX_DESC_CNT; i++, tmp_tx++) { in uli526x_descriptor_init()
1326 tmp_tx->tx_buf_ptr = tmp_buf; in uli526x_descriptor_init()
1327 tmp_tx->tdes0 = cpu_to_le32(0); in uli526x_descriptor_init()
1328 tmp_tx->tdes1 = cpu_to_le32(0x81000000); /* IC, chain */ in uli526x_descriptor_init()
1329 tmp_tx->tdes2 = cpu_to_le32(tmp_buf_dma); in uli526x_descriptor_init()
1331 tmp_tx->tdes3 = cpu_to_le32(tmp_tx_dma); in uli526x_descriptor_init()
1332 tmp_tx->next_tx_desc = tmp_tx + 1; in uli526x_descriptor_init()
1336 (--tmp_tx)->tdes3 = cpu_to_le32(db->first_tx_desc_dma); in uli526x_descriptor_init()
1337 tmp_tx->next_tx_desc = db->first_tx_desc; in uli526x_descriptor_init()
Ddmfe.c1362 struct tx_desc *tmp_tx; in dmfe_descriptor_init() local
1390 for (tmp_tx = db->first_tx_desc, i = 0; i < TX_DESC_CNT; i++, tmp_tx++) { in dmfe_descriptor_init()
1391 tmp_tx->tx_buf_ptr = tmp_buf; in dmfe_descriptor_init()
1392 tmp_tx->tdes0 = cpu_to_le32(0); in dmfe_descriptor_init()
1393 tmp_tx->tdes1 = cpu_to_le32(0x81000000); /* IC, chain */ in dmfe_descriptor_init()
1394 tmp_tx->tdes2 = cpu_to_le32(tmp_buf_dma); in dmfe_descriptor_init()
1396 tmp_tx->tdes3 = cpu_to_le32(tmp_tx_dma); in dmfe_descriptor_init()
1397 tmp_tx->next_tx_desc = tmp_tx + 1; in dmfe_descriptor_init()
1401 (--tmp_tx)->tdes3 = cpu_to_le32(db->first_tx_desc_dma); in dmfe_descriptor_init()
1402 tmp_tx->next_tx_desc = db->first_tx_desc; in dmfe_descriptor_init()