Home
last modified time | relevance | path

Searched refs:indma (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/arch/cris/lib/
Ddmacopy.c14 static etrax_dma_descr indma, outdma; in dma_memcpy() local
24 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()
/linux-2.4.37.9/arch/mips/au1000/common/
Dusbdev.c99 unsigned int indma, outdma; /* DMA channel numbers for IN, OUT */ member
460 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 …]