Lines Matching +full:has +full:- +full:builtin +full:- +full:dma
1 // SPDX-License-Identifier: GPL-2.0
20 #include <asm/dma.h>
34 static unsigned long cached_irq_mask[2] = { -1, -1 };
41 mask = (irq >= 64 ? mask << 16 : mask >> ((irq - 16) & 0x30)); in takara_update_irq_hw()
42 regaddr = 0x510 + (((irq - 16) >> 2) & 0x0c); in takara_update_irq_hw()
49 unsigned int irq = d->irq; in takara_enable_irq()
58 unsigned int irq = d->irq; in takara_disable_irq()
79 * us whether an interrupt has come in on IRQ0 or IRQ1. If in takara_device_interrupt()
111 int irq = (vector - 0x800) >> 4; in takara_srm_device_interrupt()
127 /* Return to non-accelerated mode. */ in takara_init_irq()
137 takara_update_irq_hw(i, -1); in takara_init_irq()
150 * The Takara has PCI devices 1, 2, and 3 configured to slots 20,
154 * doesn't explicitly generate PCI-type interrupts, so we can
165 { -1, -1, -1, -1, -1}, /* slot 9 == nothing */ in takara_map_irq_srm()
166 { -1, -1, -1, -1, -1}, /* slot 10 == nothing */ in takara_map_irq_srm()
167 { -1, -1, -1, -1, -1}, /* slot 11 == nothing */ in takara_map_irq_srm()
173 { -1, -1, -1, -1, -1}, /* slot 16 == nothing */ in takara_map_irq_srm()
183 unsigned int busslot = PCI_SLOT(dev->bus->self->devfn); in takara_map_irq_srm()
184 irq += irq_tab[busslot-min_idsel][0]; in takara_map_irq_srm()
196 { -1, -1, -1, -1, -1}, /* slot 9 == nothing */ in takara_map_irq()
197 { -1, -1, -1, -1, -1}, /* slot 10 == nothing */ in takara_map_irq()
198 { -1, -1, -1, -1, -1}, /* slot 11 == nothing */ in takara_map_irq()
199 { -1, -1, -1, -1, -1}, /* slot 12 == nothing */ in takara_map_irq()
200 { -1, -1, -1, -1, -1}, /* slot 13 == nothing */ in takara_map_irq()
201 { -1, -1, -1, -1, -1}, /* slot 14 == nothing */ in takara_map_irq()
202 { -1, -1, -1, -1, -1}, /* slot 15 == nothing */ in takara_map_irq()
203 { -1, -1, -1, -1, -1}, /* slot 16 == nothing */ in takara_map_irq()
204 { -1, -1, -1, -1, -1}, /* slot 17 == nothing */ in takara_map_irq()
216 int slot = PCI_SLOT(dev->devfn); in takara_swizzle()
221 if (!dev->bus->self) in takara_swizzle()
224 busslot = PCI_SLOT(dev->bus->self->devfn); in takara_swizzle()
225 /* Check for built-in bridges. */ in takara_swizzle()
226 if (dev->bus->number != 0 in takara_swizzle()
228 && ((1<<(36-busslot)) & ctlreg)) { in takara_swizzle()
230 pin += (20 - busslot); in takara_swizzle()
236 /* Must be a card-based bridge. */ in takara_swizzle()
238 "card-bridge behind builtin bridge yet.\n"); in takara_swizzle()
253 if (pc873xx_probe() == -1) { in takara_init_pci()