• Home
  • Raw
  • Download

Lines Matching refs:tx_ring

310 	struct yellowfin_desc *tx_ring;  member
441 np->tx_ring = ring_space; in yellowfin_init_one()
514 pci_free_consistent(pdev, TX_TOTAL_SIZE, np->tx_ring, np->tx_ring_dma); in yellowfin_init_one()
700 pr_warn(" Tx ring %p: ", yp->tx_ring); in yellowfin_tx_timeout()
704 yp->tx_ring[i].result_status); in yellowfin_tx_timeout()
762 yp->tx_ring[i].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_init_ring()
763 yp->tx_ring[i].branch_addr = cpu_to_le32(yp->tx_ring_dma + in yellowfin_init_ring()
767 yp->tx_ring[--i].dbdma_cmd = cpu_to_le32(CMD_STOP | BRANCH_ALWAYS); in yellowfin_init_ring()
775 yp->tx_ring[j].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_init_ring()
776 yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma + in yellowfin_init_ring()
780 yp->tx_ring[j].dbdma_cmd = in yellowfin_init_ring()
782 yp->tx_ring[j].request_cnt = sizeof(*yp->tx_status); in yellowfin_init_ring()
783 yp->tx_ring[j].addr = cpu_to_le32(yp->tx_status_dma + in yellowfin_init_ring()
787 yp->tx_ring[j].dbdma_cmd = in yellowfin_init_ring()
789 yp->tx_ring[j].request_cnt = 2; in yellowfin_init_ring()
791 yp->tx_ring[j].addr = cpu_to_le32(yp->tx_status_dma + in yellowfin_init_ring()
796 yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma + in yellowfin_init_ring()
800 yp->tx_ring[++j].dbdma_cmd |= cpu_to_le32(BRANCH_ALWAYS | INTR_ALWAYS); in yellowfin_init_ring()
837 yp->tx_ring[entry].addr = cpu_to_le32(pci_map_single(yp->pci_dev, in yellowfin_start_xmit()
839 yp->tx_ring[entry].result_status = 0; in yellowfin_start_xmit()
842 yp->tx_ring[0].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_start_xmit()
843 yp->tx_ring[TX_RING_SIZE-1].dbdma_cmd = in yellowfin_start_xmit()
846 yp->tx_ring[entry+1].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_start_xmit()
847 yp->tx_ring[entry].dbdma_cmd = in yellowfin_start_xmit()
852 yp->tx_ring[entry<<1].request_cnt = len; in yellowfin_start_xmit()
853 yp->tx_ring[entry<<1].addr = cpu_to_le32(pci_map_single(yp->pci_dev, in yellowfin_start_xmit()
861 yp->tx_ring[next_entry<<1].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_start_xmit()
865 yp->tx_ring[entry<<1].dbdma_cmd = in yellowfin_start_xmit()
923 if (yp->tx_ring[entry].result_status == 0) in yellowfin_interrupt()
929 pci_unmap_single(yp->pci_dev, le32_to_cpu(yp->tx_ring[entry].addr), in yellowfin_interrupt()
987 yp->tx_ring[entry<<1].addr, skb->len, in yellowfin_interrupt()
1221 ioread32(ioaddr + TxPtr) == (long)&yp->tx_ring[i] ? '>' : ' ', in yellowfin_close()
1222 i, yp->tx_ring[i].dbdma_cmd, yp->tx_ring[i].addr, in yellowfin_close()
1223 yp->tx_ring[i].branch_addr, yp->tx_ring[i].result_status); in yellowfin_close()
1389 pci_free_consistent(pdev, TX_TOTAL_SIZE, np->tx_ring, np->tx_ring_dma); in yellowfin_remove_one()