Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/mach-pnx4008/
Ddma.c150 #define VALID_CHANNEL(c) (((c) >= 0) && ((c) < MAX_DMA_CHANNELS)) macro
158 if (!name || (ch != -1 && !VALID_CHANNEL(ch))) in pnx4008_request_channel()
940 if (!VALID_CHANNEL(ch) || !dma_channels[ch].name) in pnx4008_config_channel()
964 if (!VALID_CHANNEL(ch) || !dma_channels[ch].name || !config) in pnx4008_channel_get_config()
987 if (!VALID_CHANNEL(ch) || !dma_channels[ch].name) in pnx4008_dma_ch_enable()
1005 if (!VALID_CHANNEL(ch) || !dma_channels[ch].name) in pnx4008_dma_ch_disable()
1023 if (!VALID_CHANNEL(ch) || !dma_channels[ch].name) in pnx4008_dma_ch_enabled()