Lines Matching defs:rxd
123 void mac_drv_rx_complete(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
125 void mac_drv_requeue_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
128 void mac_drv_clear_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
1546 * rxd - A pointer to the first RxD which is used by the receive frame.
1555 void mac_drv_rx_complete(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
1571 skb = rxd->rxd_os.skb;
1573 pr_debug("No skb in rxd\n");
1638 rxd->rxd_os.skb = NULL;
1649 mac_drv_requeue_rxd(smc, rxd, frag_count);
1667 * rxd - A pointer to the first RxD which is used by the receive frame.
1674 void mac_drv_requeue_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
1689 src_rxd = rxd;
1692 rxd = HWM_GET_CURR_RXD(smc);
1697 pr_debug("Requeue with no skb in rxd!\n");
1701 rxd->rxd_os.skb = skb;
1709 rxd->rxd_os.dma_addr = b_addr;
1713 rxd->rxd_os.skb = NULL;
1718 // we use skb from old rxd
1719 rxd->rxd_os.skb = skb;
1725 rxd->rxd_os.dma_addr = b_addr;
1757 volatile struct s_smt_fp_rxd *rxd;
1769 rxd = HWM_GET_CURR_RXD(smc);
1780 rxd->rxd_os.dma_addr = b_addr;
1792 rxd->rxd_os.skb = skb;
1811 * rxd - A pointer to the first RxD which is used by the receive buffer.
1818 void mac_drv_clear_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
1831 skb = rxd->rxd_os.skb;
1836 pci_unmap_single(&bp->pdev, rxd->rxd_os.dma_addr,
1840 rxd->rxd_os.skb = NULL;
1842 rxd = rxd->rxd_next; // Next RXD.