Lines Matching defs:txrx
286 int txrx, int maxdescr);
556 * SBDMA_INITCTX(d,s,chan,txrx,maxdescr)
566 * txrx - Identifies DMA_TX or DMA_RX for channel direction
574 int txrx, int maxdescr)
586 d->sbdma_txdir = txrx;
616 s->sbm_base + R_MAC_DMA_REGISTER(txrx,chan,R_MAC_DMA_CONFIG0);
618 s->sbm_base + R_MAC_DMA_REGISTER(txrx,chan,R_MAC_DMA_CONFIG1);
620 s->sbm_base + R_MAC_DMA_REGISTER(txrx,chan,R_MAC_DMA_DSCR_BASE);
622 s->sbm_base + R_MAC_DMA_REGISTER(txrx,chan,R_MAC_DMA_DSCR_CNT);
624 s->sbm_base + R_MAC_DMA_REGISTER(txrx,chan,R_MAC_DMA_CUR_DSCRADDR);
629 s->sbm_base + R_MAC_DMA_REGISTER(txrx,chan,R_MAC_DMA_OODPKTLOST_RX);
665 int_pktcnt = (txrx == DMA_TX) ? int_pktcnt_tx : int_pktcnt_rx;
672 int_timeout = (txrx == DMA_TX) ? int_timeout_tx : int_timeout_rx;