Lines Matching refs:cnum
120 int cnum; in sxgbe_dma_start_tx() local
123 for (cnum = 0; cnum < tchannels; cnum++) { in sxgbe_dma_start_tx()
124 tx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); in sxgbe_dma_start_tx()
127 ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); in sxgbe_dma_start_tx()
151 int cnum; in sxgbe_dma_stop_tx() local
154 for (cnum = 0; cnum < tchannels; cnum++) { in sxgbe_dma_stop_tx()
155 tx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); in sxgbe_dma_stop_tx()
157 writel(tx_ctl_reg, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); in sxgbe_dma_stop_tx()
163 int cnum; in sxgbe_dma_start_rx() local
166 for (cnum = 0; cnum < rchannels; cnum++) { in sxgbe_dma_start_rx()
167 rx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_RXCTL_REG(cnum)); in sxgbe_dma_start_rx()
170 ioaddr + SXGBE_DMA_CHA_RXCTL_REG(cnum)); in sxgbe_dma_start_rx()
176 int cnum; in sxgbe_dma_stop_rx() local
179 for (cnum = 0; cnum < rchannels; cnum++) { in sxgbe_dma_stop_rx()
180 rx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_RXCTL_REG(cnum)); in sxgbe_dma_stop_rx()
182 writel(rx_ctl_reg, ioaddr + SXGBE_DMA_CHA_RXCTL_REG(cnum)); in sxgbe_dma_stop_rx()