Lines Matching refs:chno
176 int chno; in pasemi_dma_alloc_chan() local
190 chno = pasemi_alloc_rx_chan(); in pasemi_dma_alloc_chan()
191 chan->chno = chno; in pasemi_dma_alloc_chan()
193 base_hw_irq + num_txch + chno); in pasemi_dma_alloc_chan()
194 chan->status = &dma_status->rx_sta[chno]; in pasemi_dma_alloc_chan()
197 chno = pasemi_alloc_tx_chan(type); in pasemi_dma_alloc_chan()
198 chan->chno = chno; in pasemi_dma_alloc_chan()
199 chan->irq = irq_create_mapping(NULL, base_hw_irq + chno); in pasemi_dma_alloc_chan()
200 chan->status = &dma_status->tx_sta[chno]; in pasemi_dma_alloc_chan()
223 pasemi_free_rx_chan(chan->chno); in pasemi_dma_free_chan()
226 pasemi_free_tx_chan(chan->chno); in pasemi_dma_free_chan()
285 pasemi_write_dma_reg(PAS_DMA_RXCHAN_CCMDSTA(chan->chno), in pasemi_dma_start_chan()
288 pasemi_write_dma_reg(PAS_DMA_TXCHAN_TCMDSTA(chan->chno), in pasemi_dma_start_chan()
312 reg = PAS_DMA_RXCHAN_CCMDSTA(chan->chno); in pasemi_dma_stop_chan()
323 reg = PAS_DMA_TXCHAN_TCMDSTA(chan->chno); in pasemi_dma_stop_chan()