Searched refs:VALID_CHANNEL (Results 1 – 1 of 1) sorted by relevance
149 #define VALID_CHANNEL(c) (((c) >= 0) && ((c) < MAX_DMA_CHANNELS)) macro157 if (!name || (ch != -1 && !VALID_CHANNEL(ch))) in pnx4008_request_channel()939 if (!VALID_CHANNEL(ch) || !dma_channels[ch].name) in pnx4008_config_channel()963 if (!VALID_CHANNEL(ch) || !dma_channels[ch].name || !config) in pnx4008_channel_get_config()986 if (!VALID_CHANNEL(ch) || !dma_channels[ch].name) in pnx4008_dma_ch_enable()1004 if (!VALID_CHANNEL(ch) || !dma_channels[ch].name) in pnx4008_dma_ch_disable()1022 if (!VALID_CHANNEL(ch) || !dma_channels[ch].name) in pnx4008_dma_ch_enabled()