Lines Matching defs:tx_ring
429 struct nx_host_tx_ring *tx_ring = adapter->tx_ring;
469 prq_cds->host_phys_addr = cpu_to_le64(tx_ring->phys_addr);
470 prq_cds->ring_size = cpu_to_le32(tx_ring->num_desc);
482 tx_ring->crb_cmd_producer = netxen_get_ioaddr(adapter,
686 struct nx_host_tx_ring *tx_ring;
692 tx_ring = adapter->tx_ring;
696 hwctx->cmd_ring_addr = cpu_to_le64(tx_ring->phys_addr);
697 hwctx->cmd_ring_size = cpu_to_le32(tx_ring->num_desc);
742 struct nx_host_tx_ring *tx_ring;
749 tx_ring = adapter->tx_ring;
764 tx_ring->hw_consumer =
768 addr = dma_alloc_coherent(&pdev->dev, TX_DESC_RINGSIZE(tx_ring),
769 &tx_ring->phys_addr, GFP_KERNEL);
778 tx_ring->desc_head = addr;
855 struct nx_host_tx_ring *tx_ring;
886 tx_ring = adapter->tx_ring;
887 if (tx_ring->desc_head != NULL) {
889 TX_DESC_RINGSIZE(tx_ring),
890 tx_ring->desc_head, tx_ring->phys_addr);
891 tx_ring->desc_head = NULL;