• Home
  • Raw
  • Download

Lines Matching refs:chno

270 	int chno;  in pasemi_mac_setup_csring()  local
280 chno = ring->chan.chno; in pasemi_mac_setup_csring()
289 write_dma_reg(PAS_DMA_TXCHAN_BASEL(chno), in pasemi_mac_setup_csring()
294 write_dma_reg(PAS_DMA_TXCHAN_BASEU(chno), val); in pasemi_mac_setup_csring()
315 write_dma_reg(PAS_DMA_TXCHAN_CFG(chno), cfg); in pasemi_mac_setup_csring()
367 int chno; in pasemi_mac_setup_rx_resources() local
377 chno = ring->chan.chno; in pasemi_mac_setup_rx_resources()
399 write_dma_reg(PAS_DMA_RXCHAN_BASEL(chno), in pasemi_mac_setup_rx_resources()
402 write_dma_reg(PAS_DMA_RXCHAN_BASEU(chno), in pasemi_mac_setup_rx_resources()
411 write_dma_reg(PAS_DMA_RXCHAN_CFG(chno), cfg); in pasemi_mac_setup_rx_resources()
451 int chno; in pasemi_mac_setup_tx_resources() local
461 chno = ring->chan.chno; in pasemi_mac_setup_tx_resources()
476 write_dma_reg(PAS_DMA_TXCHAN_BASEL(chno), in pasemi_mac_setup_tx_resources()
481 write_dma_reg(PAS_DMA_TXCHAN_BASEU(chno), val); in pasemi_mac_setup_tx_resources()
491 write_dma_reg(PAS_DMA_TXCHAN_CFG(chno), cfg); in pasemi_mac_setup_tx_resources()
641 write_iob_reg(PAS_IOB_DMA_RXCH_RESET(mac->rx->chan.chno), reg); in pasemi_mac_restart_rx_intr()
653 write_iob_reg(PAS_IOB_DMA_TXCH_RESET(tx_ring(mac)->chan.chno), reg); in pasemi_mac_restart_tx_intr()
667 ccmdsta = read_dma_reg(PAS_DMA_RXCHAN_CCMDSTA(chan->chno)); in pasemi_mac_rx_error()
685 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()