Lines Matching defs:cur_lch
965 int next_lch, cur_lch;
973 cur_lch = dma_chan[lch].next_lch;
975 next_lch = dma_chan[cur_lch].next_lch;
978 if (dma_chan_link_map[cur_lch])
981 dma_chan_link_map[cur_lch] = 1;
983 enable_lnk(cur_lch);
984 omap_enable_channel_irq(cur_lch);
986 cur_lch = next_lch;
1054 int next_lch, cur_lch = lch;
1060 if (dma_chan_link_map[cur_lch])
1063 dma_chan_link_map[cur_lch] = 1;
1065 disable_lnk(cur_lch);
1067 next_lch = dma_chan[cur_lch].next_lch;
1068 cur_lch = next_lch;