Lines Matching refs:chno
271 int chno; in pasemi_mac_setup_csring() local
281 chno = ring->chan.chno; in pasemi_mac_setup_csring()
290 write_dma_reg(PAS_DMA_TXCHAN_BASEL(chno), in pasemi_mac_setup_csring()
295 write_dma_reg(PAS_DMA_TXCHAN_BASEU(chno), val); in pasemi_mac_setup_csring()
316 write_dma_reg(PAS_DMA_TXCHAN_CFG(chno), cfg); in pasemi_mac_setup_csring()
368 int chno; in pasemi_mac_setup_rx_resources() local
378 chno = ring->chan.chno; in pasemi_mac_setup_rx_resources()
400 write_dma_reg(PAS_DMA_RXCHAN_BASEL(chno), in pasemi_mac_setup_rx_resources()
403 write_dma_reg(PAS_DMA_RXCHAN_BASEU(chno), in pasemi_mac_setup_rx_resources()
412 write_dma_reg(PAS_DMA_RXCHAN_CFG(chno), cfg); in pasemi_mac_setup_rx_resources()
452 int chno; in pasemi_mac_setup_tx_resources() local
462 chno = ring->chan.chno; in pasemi_mac_setup_tx_resources()
477 write_dma_reg(PAS_DMA_TXCHAN_BASEL(chno), in pasemi_mac_setup_tx_resources()
482 write_dma_reg(PAS_DMA_TXCHAN_BASEU(chno), val); in pasemi_mac_setup_tx_resources()
492 write_dma_reg(PAS_DMA_TXCHAN_CFG(chno), cfg); in pasemi_mac_setup_tx_resources()
640 write_iob_reg(PAS_IOB_DMA_RXCH_RESET(mac->rx->chan.chno), reg); in pasemi_mac_restart_rx_intr()
652 write_iob_reg(PAS_IOB_DMA_TXCH_RESET(tx_ring(mac)->chan.chno), reg); in pasemi_mac_restart_tx_intr()
666 ccmdsta = read_dma_reg(PAS_DMA_RXCHAN_CCMDSTA(chan->chno)); in pasemi_mac_rx_error()
684 cmdsta = read_dma_reg(PAS_DMA_TXCHAN_TCMDSTA(chan->chno)); in pasemi_mac_tx_error()
799 write_dma_reg(PAS_DMA_RXCHAN_INCR(mac->rx->chan.chno), count << 1); in pasemi_mac_clean_rx()
928 write_iob_reg(PAS_IOB_DMA_RXCH_RESET(chan->chno), reg); in pasemi_mac_rx_intr()
969 write_iob_reg(PAS_IOB_DMA_TXCH_RESET(chan->chno), reg); in pasemi_mac_tx_intr()
1105 write_iob_reg(PAS_IOB_DMA_RXCH_CFG(mac->rx->chan.chno), in pasemi_mac_open()
1108 write_iob_reg(PAS_IOB_DMA_TXCH_CFG(mac->tx->chan.chno), in pasemi_mac_open()
1112 PAS_MAC_IPC_CHNL_DCHNO(mac->rx->chan.chno) | in pasemi_mac_open()
1113 PAS_MAC_IPC_CHNL_BCH(mac->rx->chan.chno)); in pasemi_mac_open()
1137 write_dma_reg(PAS_DMA_RXCHAN_INCR(rx_ring(mac)->chan.chno), in pasemi_mac_open()
1219 int txch = tx_ring(mac)->chan.chno; in pasemi_mac_pause_txchan()
1241 int rxch = rx_ring(mac)->chan.chno; in pasemi_mac_pause_rxchan()
1283 rxch = rx_ring(mac)->chan.chno; in pasemi_mac_close()
1284 txch = tx_ring(mac)->chan.chno; in pasemi_mac_close()
1411 write_dma_reg(PAS_DMA_TXCHAN_INCR(csring->chan.chno), (cs_size) >> 1); in pasemi_mac_queue_csdesc()
1423 write_dma_reg(PAS_DMA_TXCHAN_INCR(txring->chan.chno), 2); in pasemi_mac_queue_csdesc()
1529 write_dma_reg(PAS_DMA_TXCHAN_INCR(txring->chan.chno), (nfrags+2) >> 1); in pasemi_mac_start_tx()