Lines Matching refs:cur_tx_copy
397 struct fealnx_desc *cur_tx_copy; member
1272 np->cur_tx_copy = &np->tx_ring[0]; in init_ring()
1298 np->cur_tx_copy->skbuff = skb; in start_tx()
1303 np->cur_tx_copy->buffer = dma_map_single(&np->pci_dev->dev, skb->data, in start_tx()
1305 np->cur_tx_copy->control = TXIC | TXLD | TXFD | CRCEnable | PADEnable; in start_tx()
1306 np->cur_tx_copy->control |= (skb->len << PKTSShift); /* pkt size */ in start_tx()
1307 np->cur_tx_copy->control |= (skb->len << TBSShift); /* buffer size */ in start_tx()
1310 np->cur_tx_copy->control |= ETIControl | RetryTxLC; in start_tx()
1311 np->cur_tx_copy->status = TXOWN; in start_tx()
1312 np->cur_tx_copy = np->cur_tx_copy->next_desc_logical; in start_tx()
1319 np->cur_tx_copy->buffer = dma_map_single(&np->pci_dev->dev, in start_tx()
1322 np->cur_tx_copy->control = TXIC | TXFD | CRCEnable | PADEnable; in start_tx()
1323 np->cur_tx_copy->control |= (skb->len << PKTSShift); /* pkt size */ in start_tx()
1324 np->cur_tx_copy->control |= (BPT << TBSShift); /* buffer size */ in start_tx()
1327 next = np->cur_tx_copy->next_desc_logical; in start_tx()
1334 np->cur_tx_copy->control |= ETIControl | RetryTxLC; in start_tx()
1340 np->cur_tx_copy->status = TXOWN; in start_tx()
1342 np->cur_tx_copy = next->next_desc_logical; in start_tx()
1345 np->cur_tx_copy->buffer = dma_map_single(&np->pci_dev->dev, in start_tx()
1348 np->cur_tx_copy->control = TXIC | TXLD | TXFD | CRCEnable | PADEnable; in start_tx()
1349 np->cur_tx_copy->control |= (skb->len << PKTSShift); /* pkt size */ in start_tx()
1350 np->cur_tx_copy->control |= (skb->len << TBSShift); /* buffer size */ in start_tx()
1353 np->cur_tx_copy->control |= ETIControl | RetryTxLC; in start_tx()
1354 np->cur_tx_copy->status = TXOWN; in start_tx()
1355 np->cur_tx_copy = np->cur_tx_copy->next_desc_logical; in start_tx()
1380 np->cur_tx_copy = &np->tx_ring[0]; in reset_tx_descriptors()