Lines Matching refs:dma_lch_count
134 static int dma_lch_count;
902 if (unlikely((lch < 0 || lch >= dma_lch_count))) {
1318 || no_of_chans > dma_lch_count))) {
1398 || chain_id >= dma_lch_count))) {
1437 if (unlikely((chain_id < 0 || chain_id >= dma_lch_count))) {
1478 if (unlikely((chain_id < 0 || chain_id >= dma_lch_count))) {
1530 || chain_id >= dma_lch_count))) {
1654 if (unlikely((chain_id < 0 || chain_id >= dma_lch_count))) {
1708 if (unlikely((chain_id < 0 || chain_id >= dma_lch_count))) {
1772 if (unlikely((chain_id < 0 || chain_id >= dma_lch_count))) {
1812 if (unlikely((chain_id < 0 || chain_id >= dma_lch_count))) {
1846 if (unlikely((chain_id < 0 || chain_id >= dma_lch_count))) {
2017 for (i = 0; i < dma_lch_count && val != 0; i++) {
2080 dma_lch_count = OMAP1_LOGICAL_DMA_CH_COUNT;
2083 dma_lch_count = OMAP_DMA4_LOGICAL_DMA_CH_COUNT;
2086 dma_lch_count = OMAP_DMA4_LOGICAL_DMA_CH_COUNT;
2089 dma_lch_count = OMAP_DMA4_LOGICAL_DMA_CH_COUNT;
2099 && (omap_dma_reserve_channels <= dma_lch_count))
2100 dma_lch_count = omap_dma_reserve_channels;
2102 dma_chan = kzalloc(sizeof(struct omap_dma_lch) * dma_lch_count,
2111 dma_lch_count, GFP_KERNEL);
2146 dma_chan_count = dma_lch_count;