Lines Matching defs:slot
244 pr_debug("swizzle for dev %d on bus %d slot %d pin is %d\n",
249 static inline u8 bridge_swizzle(u8 pin, u8 slot)
251 return (((pin-1) + slot) % 4) + 1;
265 /* The slot is the slot of the last bridge. */
273 static int __init map_cayman_irq(struct pci_dev *dev, u8 slot, u8 pin)
285 plugged into a 3.3V slot, and this changes the bus numbering.
296 int slot;
303 slot = path[i].slot = PCI_SLOT(dev->devfn);
304 pin = path[i].pin = bridge_swizzle(pin, slot);
310 slot = PCI_SLOT(dev->devfn);
311 /* This is the slot on bus 0 through which the device is eventually
315 if ((slot < 3) || (i == 0)) {
318 result = IRQ_INTA + bridge_swizzle(pin, slot) - 1;
321 slot = path[i].slot;
323 if (slot > 0) {
329 slot = path[i].slot;
331 /* 'pin' was swizzled earlier wrt slot, don't do it again. */