Lines Matching refs:chan_rx
82 struct xrx200_chan chan_rx; member
155 napi_enable(&priv->chan_rx.napi); in xrx200_open()
156 ltq_dma_open(&priv->chan_rx.dma); in xrx200_open()
164 xrx200_flush_dma(&priv->chan_rx); in xrx200_open()
165 ltq_dma_enable_irq(&priv->chan_rx.dma); in xrx200_open()
178 napi_disable(&priv->chan_rx.napi); in xrx200_close()
179 ltq_dma_close(&priv->chan_rx.dma); in xrx200_close()
415 struct xrx200_chan *ch_rx = &priv->chan_rx; in xrx200_change_mtu()
486 struct xrx200_chan *ch_rx = &priv->chan_rx; in xrx200_dma_init()
507 "xrx200_net_rx", &priv->chan_rx); in xrx200_dma_init()
535 if (priv->chan_rx.skb[i]) in xrx200_dma_init()
536 skb_free_frag(priv->chan_rx.rx_buff[i]); in xrx200_dma_init()
549 ltq_dma_free(&priv->chan_rx.dma); in xrx200_hw_cleanup()
553 skb_free_frag(priv->chan_rx.rx_buff[i]); in xrx200_hw_cleanup()
585 priv->chan_rx.dma.irq = platform_get_irq_byname(pdev, "rx"); in xrx200_probe()
586 if (priv->chan_rx.dma.irq < 0) in xrx200_probe()
623 netif_napi_add(net_dev, &priv->chan_rx.napi, xrx200_poll_rx); in xrx200_probe()
652 netif_napi_del(&priv->chan_rx.napi); in xrx200_remove()