Lines Matching refs:txrx
270 int txrx, int maxdescr);
540 * SBDMA_INITCTX(d,s,chan,txrx,maxdescr)
550 * txrx - Identifies DMA_TX or DMA_RX for channel direction
558 int txrx, int maxdescr)
570 d->sbdma_txdir = txrx;
604 s->sbm_base + R_MAC_DMA_REGISTER(txrx,chan,R_MAC_DMA_CONFIG0);
606 s->sbm_base + R_MAC_DMA_REGISTER(txrx,chan,R_MAC_DMA_CONFIG1);
608 s->sbm_base + R_MAC_DMA_REGISTER(txrx,chan,R_MAC_DMA_DSCR_BASE);
610 s->sbm_base + R_MAC_DMA_REGISTER(txrx,chan,R_MAC_DMA_DSCR_CNT);
612 s->sbm_base + R_MAC_DMA_REGISTER(txrx,chan,R_MAC_DMA_CUR_DSCRADDR);
617 s->sbm_base + R_MAC_DMA_REGISTER(txrx,chan,R_MAC_DMA_OODPKTLOST_RX);
653 int_pktcnt = (txrx == DMA_TX) ? int_pktcnt_tx : int_pktcnt_rx;
660 int_timeout = (txrx == DMA_TX) ? int_timeout_tx : int_timeout_rx;