Searched refs:CPDMA_MAX_CHANNELS (Results 1 – 2 of 2) sorted by relevance
18 #define CPDMA_MAX_CHANNELS BITS_PER_LONG macro21 #define rx_chan_num(chan) ((chan) + CPDMA_MAX_CHANNELS)22 #define is_rx_chan(chan) ((chan)->chan_num >= CPDMA_MAX_CHANNELS)24 #define __chan_linear(chan_num) ((chan_num) & (CPDMA_MAX_CHANNELS - 1))
103 struct cpdma_chan *channels[2 * CPDMA_MAX_CHANNELS];275 if (WARN_ON(ctlr->num_chan > CPDMA_MAX_CHANNELS)) in cpdma_ctlr_create()276 ctlr->num_chan = CPDMA_MAX_CHANNELS; in cpdma_ctlr_create()480 int ret, offset = (chan_num % CPDMA_MAX_CHANNELS) * 4; in cpdma_chan_create()