Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/dec/tulip/
Duli526x.c1304 struct tx_desc *tmp_tx; in uli526x_descriptor_init() local
1329 for (tmp_tx = db->first_tx_desc, i = 0; i < TX_DESC_CNT; i++, tmp_tx++) { in uli526x_descriptor_init()
1330 tmp_tx->tx_buf_ptr = tmp_buf; in uli526x_descriptor_init()
1331 tmp_tx->tdes0 = cpu_to_le32(0); in uli526x_descriptor_init()
1332 tmp_tx->tdes1 = cpu_to_le32(0x81000000); /* IC, chain */ in uli526x_descriptor_init()
1333 tmp_tx->tdes2 = cpu_to_le32(tmp_buf_dma); in uli526x_descriptor_init()
1335 tmp_tx->tdes3 = cpu_to_le32(tmp_tx_dma); in uli526x_descriptor_init()
1336 tmp_tx->next_tx_desc = tmp_tx + 1; in uli526x_descriptor_init()
1340 (--tmp_tx)->tdes3 = cpu_to_le32(db->first_tx_desc_dma); in uli526x_descriptor_init()
1341 tmp_tx->next_tx_desc = db->first_tx_desc; in uli526x_descriptor_init()
Ddmfe.c1376 struct tx_desc *tmp_tx; in dmfe_descriptor_init() local
1404 for (tmp_tx = db->first_tx_desc, i = 0; i < TX_DESC_CNT; i++, tmp_tx++) { in dmfe_descriptor_init()
1405 tmp_tx->tx_buf_ptr = tmp_buf; in dmfe_descriptor_init()
1406 tmp_tx->tdes0 = cpu_to_le32(0); in dmfe_descriptor_init()
1407 tmp_tx->tdes1 = cpu_to_le32(0x81000000); /* IC, chain */ in dmfe_descriptor_init()
1408 tmp_tx->tdes2 = cpu_to_le32(tmp_buf_dma); in dmfe_descriptor_init()
1410 tmp_tx->tdes3 = cpu_to_le32(tmp_tx_dma); in dmfe_descriptor_init()
1411 tmp_tx->next_tx_desc = tmp_tx + 1; in dmfe_descriptor_init()
1415 (--tmp_tx)->tdes3 = cpu_to_le32(db->first_tx_desc_dma); in dmfe_descriptor_init()
1416 tmp_tx->next_tx_desc = db->first_tx_desc; in dmfe_descriptor_init()