Lines Matching +full:vm +full:- +full:active +full:- +full:channels
1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
55 #include <vm/vm.h>
56 #include <vm/vm_param.h>
57 #include <vm/pmap.h>
77 /* high byte of address is stored in this port for i-th dma channel */
281 * Program one of DMA channels 0..3. These are in isa_dmastart()
282 * byte mode channels. in isa_dmastart()
307 outb(waport + 1, --nbytes); in isa_dmastart()
314 * Program one of DMA channels 4..7. These are in isa_dmastart()
315 * word mode channels. in isa_dmastart()
334 waport = DMA2_CHN(chan - 4); in isa_dmastart()
341 outb(waport + 2, --nbytes); in isa_dmastart()
382 * (non-contiguous physical pages, outside of bus address space,
392 u_int dma_pgmsk = (chan & 4) ? ~(128*1024-1) : ~(64*1024-1); in isa_dmarangecheck()
427 * - read low1
429 * - read high1
431 * - read low2
433 * - read high2
442 * or -1 if the channel requested is not active.
454 /* channel active? */ in isa_dmastatus_locked()
456 printf("isa_dmastatus: channel %d not active\n", chan); in isa_dmastatus_locked()
457 return(-1); in isa_dmastatus_locked()
464 return -2 ; in isa_dmastatus_locked()
471 waport = DMA2_CHN(chan - 4) + 2; in isa_dmastatus_locked()
494 if (chan >= 4) /* high channels move words */ in isa_dmastatus_locked()
540 return -2 ; in isa_dmastop()