Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/dec/tulip/
Duli526x.c1308 struct tx_desc *tmp_tx; in uli526x_descriptor_init() local
1333 for (tmp_tx = db->first_tx_desc, i = 0; i < TX_DESC_CNT; i++, tmp_tx++) { in uli526x_descriptor_init()
1334 tmp_tx->tx_buf_ptr = tmp_buf; in uli526x_descriptor_init()
1335 tmp_tx->tdes0 = cpu_to_le32(0); in uli526x_descriptor_init()
1336 tmp_tx->tdes1 = cpu_to_le32(0x81000000); /* IC, chain */ in uli526x_descriptor_init()
1337 tmp_tx->tdes2 = cpu_to_le32(tmp_buf_dma); in uli526x_descriptor_init()
1339 tmp_tx->tdes3 = cpu_to_le32(tmp_tx_dma); in uli526x_descriptor_init()
1340 tmp_tx->next_tx_desc = tmp_tx + 1; in uli526x_descriptor_init()
1344 (--tmp_tx)->tdes3 = cpu_to_le32(db->first_tx_desc_dma); in uli526x_descriptor_init()
1345 tmp_tx->next_tx_desc = db->first_tx_desc; in uli526x_descriptor_init()
Ddmfe.c1370 struct tx_desc *tmp_tx; in dmfe_descriptor_init() local
1398 for (tmp_tx = db->first_tx_desc, i = 0; i < TX_DESC_CNT; i++, tmp_tx++) { in dmfe_descriptor_init()
1399 tmp_tx->tx_buf_ptr = tmp_buf; in dmfe_descriptor_init()
1400 tmp_tx->tdes0 = cpu_to_le32(0); in dmfe_descriptor_init()
1401 tmp_tx->tdes1 = cpu_to_le32(0x81000000); /* IC, chain */ in dmfe_descriptor_init()
1402 tmp_tx->tdes2 = cpu_to_le32(tmp_buf_dma); in dmfe_descriptor_init()
1404 tmp_tx->tdes3 = cpu_to_le32(tmp_tx_dma); in dmfe_descriptor_init()
1405 tmp_tx->next_tx_desc = tmp_tx + 1; in dmfe_descriptor_init()
1409 (--tmp_tx)->tdes3 = cpu_to_le32(db->first_tx_desc_dma); in dmfe_descriptor_init()
1410 tmp_tx->next_tx_desc = db->first_tx_desc; in dmfe_descriptor_init()