Searched refs:indma (Results 1 – 2 of 2) sorted by relevance
14 static etrax_dma_descr indma, outdma; in dma_memcpy() local24 indma.sw_len = outdma.sw_len = pn; in dma_memcpy()25 indma.ctrl = d_eol | d_eop; in dma_memcpy()27 indma.buf = psrc; in dma_memcpy()30 *R_DMA_CH6_FIRST = &indma; in dma_memcpy()
99 unsigned int indma, outdma; /* DMA channel numbers for IN, OUT */ member460 if (get_dma_active_buffer(ep->indma) == 1) { in kickstart_send_packet()461 set_dma_count1(ep->indma, pkt->size); in kickstart_send_packet()462 set_dma_addr1(ep->indma, virt_to_phys(pkt->payload)); in kickstart_send_packet()463 enable_dma_buffer1(ep->indma); // reenable in kickstart_send_packet()465 set_dma_count0(ep->indma, pkt->size); in kickstart_send_packet()466 set_dma_addr0(ep->indma, virt_to_phys(pkt->payload)); in kickstart_send_packet()467 enable_dma_buffer0(ep->indma); // reenable in kickstart_send_packet()469 if (dma_halted(ep->indma)) in kickstart_send_packet()470 start_dma(ep->indma); in kickstart_send_packet()[all …]