Lines Matching defs:rxd
126 void mac_drv_rx_complete(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
128 void mac_drv_requeue_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
131 void mac_drv_clear_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
1553 * rxd - A pointer to the first RxD which is used by the receive frame.
1562 void mac_drv_rx_complete(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
1578 skb = rxd->rxd_os.skb;
1580 pr_debug("No skb in rxd\n");
1645 rxd->rxd_os.skb = NULL;
1656 mac_drv_requeue_rxd(smc, rxd, frag_count);
1674 * rxd - A pointer to the first RxD which is used by the receive frame.
1681 void mac_drv_requeue_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
1696 src_rxd = rxd;
1699 rxd = HWM_GET_CURR_RXD(smc);
1704 pr_debug("Requeue with no skb in rxd!\n");
1708 rxd->rxd_os.skb = skb;
1715 rxd->rxd_os.dma_addr = b_addr;
1719 rxd->rxd_os.skb = NULL;
1724 // we use skb from old rxd
1725 rxd->rxd_os.skb = skb;
1729 rxd->rxd_os.dma_addr = b_addr;
1761 volatile struct s_smt_fp_rxd *rxd;
1773 rxd = HWM_GET_CURR_RXD(smc);
1782 rxd->rxd_os.dma_addr = b_addr;
1794 rxd->rxd_os.skb = skb;
1813 * rxd - A pointer to the first RxD which is used by the receive buffer.
1820 void mac_drv_clear_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd,
1833 skb = rxd->rxd_os.skb;
1839 rxd->rxd_os.dma_addr, MaxFrameSize,
1843 rxd->rxd_os.skb = NULL;
1845 rxd = rxd->rxd_next; // Next RXD.