chan 103 bsp/drv/dev/dma/i8237.c int chan; /* dma channel */ chan 150 bsp/drv/dev/dma/i8237.c dma_attach(int chan) chan 155 bsp/drv/dev/dma/i8237.c ASSERT(chan >= 0 && chan < NR_DMAS); chan 156 bsp/drv/dev/dma/i8237.c ASSERT(chan != 4); chan 157 bsp/drv/dev/dma/i8237.c DPRINTF(("DMA%d attached\n", chan)); chan 160 bsp/drv/dev/dma/i8237.c dma = &dma_table[chan]; chan 164 bsp/drv/dev/dma/i8237.c dma->chan = chan; chan 182 bsp/drv/dev/dma/i8237.c DPRINTF(("DMA%d detached\n", dma->chan)); chan 194 bsp/drv/dev/dma/i8237.c u_int chan, bits, mode; chan 206 bsp/drv/dev/dma/i8237.c chan = (u_int)dma->chan; chan 207 bsp/drv/dev/dma/i8237.c regs = &dma_regs[chan]; chan 208 bsp/drv/dev/dma/i8237.c bits = (chan < 4) ? chan : chan >> 2; chan 230 bsp/drv/dev/dma/i8237.c u_int chan; chan 236 bsp/drv/dev/dma/i8237.c chan = (u_int)dma->chan; chan 238 bsp/drv/dev/dma/i8237.c bits = (chan < 4) ? chan : chan >> 2; chan 239 bsp/drv/dev/dma/i8237.c bus_write_8(dma_regs[chan].mask, bits | 0x04); /* Disable channel */ chan 83 bsp/drv/include/ddi.h dma_t dma_attach(int chan);