Lines Matching +full:0 +full:xd8
24 #define ISA_DMA_MASK 0
34 { 0x0a, 0x0b, 0x0c, 0x487, 0x087, 0x00, 0x01 },
35 { 0x0a, 0x0b, 0x0c, 0x483, 0x083, 0x02, 0x03 },
36 { 0x0a, 0x0b, 0x0c, 0x481, 0x081, 0x04, 0x05 },
37 { 0x0a, 0x0b, 0x0c, 0x482, 0x082, 0x06, 0x07 },
38 { 0xd4, 0xd6, 0xd8, 0x000, 0x000, 0xc0, 0xc2 },
39 { 0xd4, 0xd6, 0xd8, 0x48b, 0x08b, 0xc4, 0xc6 },
40 { 0xd4, 0xd6, 0xd8, 0x489, 0x089, 0xc8, 0xca },
41 { 0xd4, 0xd6, 0xd8, 0x48a, 0x08a, 0xcc, 0xce }
57 .coherent_dma_mask = ~(dma_addr_t)0,
111 outb(0, isa_dma_port[chan][ISA_DMA_CLRFF]); in isa_enable_dma()
120 dma->invalid = 0; in isa_enable_dma()
139 .start = 0x0000,
140 .end = 0x000f
143 .start = 0x0080,
144 .end = 0x008f
147 .start = 0x00c0,
148 .end = 0x00df
151 .start = 0x0480,
152 .end = 0x048f
158 * ISA DMA always starts at channel 0
165 * channel 0's DMA address registers are writeable. in isa_dma_init()
167 outb(0xff, 0x0d); in isa_dma_init()
168 outb(0xff, 0xda); in isa_dma_init()
174 outb(0x55, 0x00); in isa_dma_init()
175 outb(0xaa, 0x00); in isa_dma_init()
177 if (inb(0) == 0x55 && inb(0) == 0xaa) { in isa_dma_init()
180 for (chan = 0; chan < 8; chan++) { in isa_dma_init()
185 outb(0x40, 0x0b); in isa_dma_init()
186 outb(0x41, 0x0b); in isa_dma_init()
187 outb(0x42, 0x0b); in isa_dma_init()
188 outb(0x43, 0x0b); in isa_dma_init()
190 outb(0xc0, 0xd6); in isa_dma_init()
191 outb(0x41, 0xd6); in isa_dma_init()
192 outb(0x42, 0xd6); in isa_dma_init()
193 outb(0x43, 0xd6); in isa_dma_init()
195 outb(0, 0xd4); in isa_dma_init()
197 outb(0x10, 0x08); in isa_dma_init()
198 outb(0x10, 0xd0); in isa_dma_init()
203 * outb(0x3f, 0x40b); outb(0x3f, 0x4d6); in isa_dma_init()
205 outb(0x30, 0x40b); in isa_dma_init()
206 outb(0x31, 0x40b); in isa_dma_init()
207 outb(0x32, 0x40b); in isa_dma_init()
208 outb(0x33, 0x40b); in isa_dma_init()
209 outb(0x31, 0x4d6); in isa_dma_init()
210 outb(0x32, 0x4d6); in isa_dma_init()
211 outb(0x33, 0x4d6); in isa_dma_init()
213 for (i = 0; i < ARRAY_SIZE(dma_resources); i++) in isa_dma_init()
216 for (chan = 0; chan < 8; chan++) { in isa_dma_init()
228 return 0; in isa_dma_init()