Lines Matching refs:enet_dmac_writel
102 static inline void enet_dmac_writel(struct bcm_enet_priv *priv, in enet_dmac_writel() function
270 enet_dmac_writel(priv, 1, ENETDMAC_BUFALLOC, priv->rx_chan); in bcm_enet_refill_rx()
415 enet_dmac_writel(priv, priv->dma_chan_en_mask, in bcm_enet_receive_queue()
496 enet_dmac_writel(priv, priv->dma_chan_int_mask, in bcm_enet_poll()
498 enet_dmac_writel(priv, priv->dma_chan_int_mask, in bcm_enet_poll()
518 enet_dmac_writel(priv, priv->dma_chan_int_mask, in bcm_enet_poll()
520 enet_dmac_writel(priv, priv->dma_chan_int_mask, in bcm_enet_poll()
564 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->rx_chan); in bcm_enet_isr_dma()
565 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->tx_chan); in bcm_enet_isr_dma()
647 enet_dmac_writel(priv, priv->dma_chan_en_mask, in bcm_enet_start_xmit()
935 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->rx_chan); in bcm_enet_open()
936 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->tx_chan); in bcm_enet_open()
1013 enet_dmac_writel(priv, ENETDMA_BUFALLOC_FORCE_MASK | 0, in bcm_enet_open()
1029 enet_dmac_writel(priv, priv->rx_desc_dma, in bcm_enet_open()
1031 enet_dmac_writel(priv, priv->tx_desc_dma, in bcm_enet_open()
1044 enet_dmac_writel(priv, 0, ENETDMAC_FC, priv->rx_chan); in bcm_enet_open()
1045 enet_dmac_writel(priv, 0, ENETDMAC_FC, priv->tx_chan); in bcm_enet_open()
1053 enet_dmac_writel(priv, priv->dma_maxburst, in bcm_enet_open()
1055 enet_dmac_writel(priv, priv->dma_maxburst, in bcm_enet_open()
1068 enet_dmac_writel(priv, 5, ENETDMAC_FC, priv->rx_chan); in bcm_enet_open()
1069 enet_dmac_writel(priv, priv->rx_ring_size, ENETDMAC_LEN, priv->rx_chan); in bcm_enet_open()
1070 enet_dmac_writel(priv, priv->tx_ring_size, ENETDMAC_LEN, priv->tx_chan); in bcm_enet_open()
1081 enet_dmac_writel(priv, priv->dma_chan_en_mask, in bcm_enet_open()
1089 enet_dmac_writel(priv, priv->dma_chan_int_mask, in bcm_enet_open()
1091 enet_dmac_writel(priv, priv->dma_chan_int_mask, in bcm_enet_open()
1097 enet_dmac_writel(priv, priv->dma_chan_int_mask, in bcm_enet_open()
1099 enet_dmac_writel(priv, priv->dma_chan_int_mask, in bcm_enet_open()
1170 enet_dmac_writel(priv, 0, ENETDMAC_CHANCFG, chan); in bcm_enet_disable_dma()
1202 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->rx_chan); in bcm_enet_stop()
1203 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->tx_chan); in bcm_enet_stop()
2114 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->rx_chan); in bcm_enetsw_open()
2115 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->tx_chan); in bcm_enetsw_open()
2238 enet_dmac_writel(priv, priv->dma_maxburst, in bcm_enetsw_open()
2240 enet_dmac_writel(priv, priv->dma_maxburst, in bcm_enetsw_open()
2254 enet_dmac_writel(priv, ENETDMAC_CHANCFG_EN_MASK, in bcm_enetsw_open()
2258 enet_dmac_writel(priv, ENETDMAC_IR_PKTDONE_MASK, in bcm_enetsw_open()
2260 enet_dmac_writel(priv, ENETDMAC_IR_PKTDONE_MASK, in bcm_enetsw_open()
2266 enet_dmac_writel(priv, ENETDMAC_IR_PKTDONE_MASK, in bcm_enetsw_open()
2268 enet_dmac_writel(priv, ENETDMAC_IR_PKTDONE_MASK, in bcm_enetsw_open()
2356 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->rx_chan); in bcm_enetsw_stop()
2357 enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->tx_chan); in bcm_enetsw_stop()