Lines Matching defs:slot
98 int slot = PCI_SLOT(dev->devfn);
101 bridge_clr(bc, b_device[slot].reg, BRIDGE_DEV_SWAP_DIR);
124 int slot = PCI_SLOT(devfn);
130 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID];
139 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2];
141 bc->ioc3_sid[slot]);
144 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)];
162 int slot = PCI_SLOT(devfn);
168 bridge_write(bc, b_pci_cfg, (busno << 16) | (slot << 11));
180 bc->ioc3_sid[slot]);
209 int slot = PCI_SLOT(devfn);
215 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID];
224 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2];
228 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)];
248 int slot = PCI_SLOT(devfn);
255 bridge_write(bc, b_pci_cfg, (busno << 16) | (slot << 11));
265 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2];
435 static int bridge_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
452 irq = bc->pci_int[slot][pin];
456 info.pin = bc->int_mapping[slot][pin];
462 bc->pci_int[slot][pin] = irq;
616 int slot;
673 * Until otherwise set up, assume all interrupts are from slot 0
698 for (slot = 0; slot < 8; slot++) {
699 bridge_set(bc, b_device[slot].reg, BRIDGE_DEV_SWAP_DIR);
700 bc->pci_int[slot][0] = -1;
701 bc->pci_int[slot][1] = -1;
703 bc->int_mapping[slot][0] = slot;
704 bc->int_mapping[slot][1] = slot ^ 4;