Lines Matching defs:desc
1464 if (tx_ring->desc && tx_ring->tx_buffer_info) {
1476 if (rx_ring->desc && rx_ring->rx_buffer_info) {
1489 if (tx_ring->desc) {
1490 dma_free_coherent(&pdev->dev, tx_ring->size, tx_ring->desc,
1492 tx_ring->desc = NULL;
1494 if (rx_ring->desc) {
1495 dma_free_coherent(&pdev->dev, rx_ring->size, rx_ring->desc,
1497 rx_ring->desc = NULL;
1529 tx_ring->desc = dma_alloc_coherent(&pdev->dev, tx_ring->size,
1531 if (!(tx_ring->desc)) {
1560 union ixgbe_adv_tx_desc *desc = IXGBE_TX_DESC_ADV(*tx_ring, i);
1575 desc->read.buffer_addr =
1577 desc->read.cmd_type_len = cpu_to_le32(skb->len);
1578 desc->read.cmd_type_len |= cpu_to_le32(IXGBE_TXD_CMD_EOP |
1581 desc->read.olinfo_status = 0;
1583 desc->read.olinfo_status |=
1603 rx_ring->desc = dma_alloc_coherent(&pdev->dev, rx_ring->size,
1605 if (!(rx_ring->desc)) {