Lines Matching defs:tx_ring
303 struct nx_host_tx_ring *tx_ring = adapter->tx_ring;
344 prq_cds->host_phys_addr = cpu_to_le64(tx_ring->phys_addr);
345 prq_cds->ring_size = cpu_to_le32(tx_ring->num_desc);
358 tx_ring->crb_cmd_producer = netxen_get_ioaddr(adapter,
558 struct nx_host_tx_ring *tx_ring;
564 tx_ring = adapter->tx_ring;
568 hwctx->cmd_ring_addr = cpu_to_le64(tx_ring->phys_addr);
569 hwctx->cmd_ring_size = cpu_to_le32(tx_ring->num_desc);
614 struct nx_host_tx_ring *tx_ring;
621 tx_ring = adapter->tx_ring;
637 tx_ring->hw_consumer =
641 addr = pci_alloc_consistent(pdev, TX_DESC_RINGSIZE(tx_ring),
642 &tx_ring->phys_addr);
651 tx_ring->desc_head = addr;
728 struct nx_host_tx_ring *tx_ring;
761 tx_ring = adapter->tx_ring;
762 if (tx_ring->desc_head != NULL) {
764 TX_DESC_RINGSIZE(tx_ring),
765 tx_ring->desc_head, tx_ring->phys_addr);
766 tx_ring->desc_head = NULL;