Lines Matching refs:rx_ring
309 struct yellowfin_desc *rx_ring; member
447 np->rx_ring = ring_space; in yellowfin_init_one()
512 pci_free_consistent(pdev, RX_TOTAL_SIZE, np->rx_ring, np->rx_ring_dma); in yellowfin_init_one()
696 pr_warn(" Rx ring %p: ", yp->rx_ring); in yellowfin_tx_timeout()
698 pr_cont(" %08x", yp->rx_ring[i].result_status); in yellowfin_tx_timeout()
734 yp->rx_ring[i].dbdma_cmd = in yellowfin_init_ring()
736 yp->rx_ring[i].branch_addr = cpu_to_le32(yp->rx_ring_dma + in yellowfin_init_ring()
746 yp->rx_ring[i].addr = cpu_to_le32(pci_map_single(yp->pci_dev, in yellowfin_init_ring()
754 yp->rx_ring[i-1].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_init_ring()
1044 entry, yp->rx_ring[entry].result_status); in yellowfin_rx()
1046 entry, yp->rx_ring[entry].dbdma_cmd, yp->rx_ring[entry].addr, in yellowfin_rx()
1047 yp->rx_ring[entry].result_status); in yellowfin_rx()
1052 struct yellowfin_desc *desc = &yp->rx_ring[entry]; in yellowfin_rx()
1128 le32_to_cpu(yp->rx_ring[entry].addr), in yellowfin_rx()
1161 yp->rx_ring[entry].addr = cpu_to_le32(pci_map_single(yp->pci_dev, in yellowfin_rx()
1164 yp->rx_ring[entry].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_rx()
1165 yp->rx_ring[entry].result_status = 0; /* Clear complete bit. */ in yellowfin_rx()
1167 yp->rx_ring[entry - 1].dbdma_cmd = in yellowfin_rx()
1170 yp->rx_ring[RX_RING_SIZE - 1].dbdma_cmd = in yellowfin_rx()
1234 ioread32(ioaddr + RxPtr) == (long)&yp->rx_ring[i] ? '>' : ' ', in yellowfin_close()
1235 i, yp->rx_ring[i].dbdma_cmd, yp->rx_ring[i].addr, in yellowfin_close()
1236 yp->rx_ring[i].result_status); in yellowfin_close()
1238 if (get_unaligned((u8*)yp->rx_ring[i].addr) != 0x69) { in yellowfin_close()
1244 get_unaligned(((u16*)yp->rx_ring[i].addr) + j)); in yellowfin_close()
1256 yp->rx_ring[i].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_close()
1257 yp->rx_ring[i].addr = cpu_to_le32(0xBADF00D0); /* An invalid address. */ in yellowfin_close()
1388 pci_free_consistent(pdev, RX_TOTAL_SIZE, np->rx_ring, np->rx_ring_dma); in yellowfin_remove_one()