Home
last modified time | relevance | path

Searched refs:CPDMA_MAX_CHANNELS (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/ti/
Ddavinci_cpdma.c102 struct cpdma_chan *channels[2 * CPDMA_MAX_CHANNELS];
162 #define rx_chan_num(chan) ((chan) + CPDMA_MAX_CHANNELS)
163 #define is_rx_chan(chan) ((chan)->chan_num >= CPDMA_MAX_CHANNELS)
165 #define __chan_linear(chan_num) ((chan_num) & (CPDMA_MAX_CHANNELS - 1))
416 for (i = tx_chan_num(0); i < tx_chan_num(CPDMA_MAX_CHANNELS); i++) { in cpdma_chan_fit_rate()
530 if (WARN_ON(ctlr->num_chan > CPDMA_MAX_CHANNELS)) in cpdma_ctlr_create()
531 ctlr->num_chan = CPDMA_MAX_CHANNELS; in cpdma_ctlr_create()
693 max = rx_chan_num(CPDMA_MAX_CHANNELS); in cpdma_chan_set_descs()
696 max = tx_chan_num(CPDMA_MAX_CHANNELS); in cpdma_chan_set_descs()
Ddavinci_cpdma.h11 #define CPDMA_MAX_CHANNELS BITS_PER_LONG macro