Lines Matching +full:time +full:- +full:slot
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * arch/arm/mach-ixp4xx/gtwx5715-pci.c
15 #include <asm/mach-types.h>
23 #define INTA 10 /* slot 1 has INTA and INTB crossed */
27 * Slot 0 isn't actually populated with a card connector but
29 * slot populated or someone with good soldering skills has
30 * some free time.
40 static int __init gtwx5715_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in gtwx5715_map_irq() argument
42 int rc = -1; in gtwx5715_map_irq()
44 if ((slot == SLOT0_DEVID && pin == 1) || in gtwx5715_map_irq()
45 (slot == SLOT1_DEVID && pin == 2)) in gtwx5715_map_irq()
47 else if ((slot == SLOT0_DEVID && pin == 2) || in gtwx5715_map_irq()
48 (slot == SLOT1_DEVID && pin == 1)) in gtwx5715_map_irq()
51 printk(KERN_INFO "%s: Mapped slot %d pin %d to IRQ %d\n", in gtwx5715_map_irq()
52 __func__, slot, pin, rc); in gtwx5715_map_irq()