Lines Matching refs:lch_queue
1187 * lch_queue DMA will start right after lch_head one is finished.
1191 void omap_dma_link_lch(int lch_head, int lch_queue)
1194 if (lch_head == lch_queue) {
1205 (dma_chan[lch_queue].dev_id == -1)) {
1211 dma_chan[lch_head].next_lch = lch_queue;
1218 void omap_dma_unlink_lch(int lch_head, int lch_queue)
1221 if (lch_head == lch_queue) {
1231 if (dma_chan[lch_head].next_lch != lch_queue ||
1239 (dma_chan[lch_queue].flags & OMAP_DMA_ACTIVE)) {
1253 static void create_dma_lch_chain(int lch_head, int lch_queue)
1259 dma_chan[lch_head].next_linked_ch = lch_queue;
1260 dma_chan[lch_head].prev_linked_ch = lch_queue;
1261 dma_chan[lch_queue].next_linked_ch = lch_head;
1262 dma_chan[lch_queue].prev_linked_ch = lch_head;
1267 dma_chan[lch_queue].next_linked_ch =
1269 dma_chan[lch_queue].prev_linked_ch = lch_head;
1270 dma_chan[lch_head].next_linked_ch = lch_queue;
1271 dma_chan[dma_chan[lch_queue].next_linked_ch].prev_linked_ch =
1272 lch_queue;
1277 l |= lch_queue;
1280 l = dma_read(CLNK_CTRL(lch_queue));
1282 l |= (dma_chan[lch_queue].next_linked_ch);
1283 dma_write(l, CLNK_CTRL(lch_queue));