Lines Matching refs:dma_base
71 outb(index, hwif->dma_base + 1);
72 value = inb(hwif->dma_base + 3);
85 outb(index, hwif->dma_base + 1);
86 outb(value, hwif->dma_base + 3);
198 * @dma_base: for the port address
200 static long read_counter(u32 dma_base)
202 u32 pri_dma_base = dma_base, sec_dma_base = dma_base + 0x08;
237 * @dma_base: for the port address
240 static long detect_pll_input_clock(unsigned long dma_base)
247 start_count = read_counter(dma_base);
251 outb(0x01, dma_base + 0x01);
252 scr1 = inb(dma_base + 0x03);
254 outb(scr1 | 0x40, dma_base + 0x03);
259 end_count = read_counter(dma_base);
263 outb(0x01, dma_base + 0x01);
264 scr1 = inb(dma_base + 0x03);
266 outb(scr1 & ~0x40, dma_base + 0x03);
301 unsigned long dma_base = pci_resource_start(dev, 4);
302 unsigned long sec_dma_base = dma_base + 0x08;
307 if (dma_base == 0)
332 pll_input = detect_pll_input_clock(dma_base);