Lines Matching defs:slot
97 int slot = PCI_SLOT(dev->devfn);
100 bridge_clr(bc, b_device[slot].reg, BRIDGE_DEV_SWAP_DIR);
123 int slot = PCI_SLOT(devfn);
129 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID];
138 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2];
140 bc->ioc3_sid[slot]);
143 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)];
161 int slot = PCI_SLOT(devfn);
167 bridge_write(bc, b_pci_cfg, (busno << 16) | (slot << 11));
179 bc->ioc3_sid[slot]);
208 int slot = PCI_SLOT(devfn);
214 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID];
223 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2];
227 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)];
247 int slot = PCI_SLOT(devfn);
254 bridge_write(bc, b_pci_cfg, (busno << 16) | (slot << 11));
264 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2];
434 static int bridge_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
451 irq = bc->pci_int[slot][pin];
455 info.pin = bc->int_mapping[slot][pin];
461 bc->pci_int[slot][pin] = irq;
615 int slot;
672 * Until otherwise set up, assume all interrupts are from slot 0
697 for (slot = 0; slot < 8; slot++) {
698 bridge_set(bc, b_device[slot].reg, BRIDGE_DEV_SWAP_DIR);
699 bc->pci_int[slot][0] = -1;
700 bc->pci_int[slot][1] = -1;
702 bc->int_mapping[slot][0] = slot;
703 bc->int_mapping[slot][1] = slot ^ 4;