Lines Matching full:slot
73 int err = 0, slot, func = PCI_FUNC(dev->devfn);
103 for (slot = 0; slot < PCI_SLOT_MAX; slot++) {
104 if (list_empty(&vpci_dev->dev_list[slot]))
107 t = list_entry(list_first(&vpci_dev->dev_list[slot]),
113 dev_info(&dev->dev, "vpci: assign to virtual slot %d func %d\n",
114 slot, func);
116 &vpci_dev->dev_list[slot]);
122 /* Assign to a new slot on the virtual PCI bus */
123 for (slot = 0; slot < PCI_SLOT_MAX; slot++) {
124 if (list_empty(&vpci_dev->dev_list[slot])) {
125 dev_info(&dev->dev, "vpci: assign to virtual slot %d\n",
126 slot);
128 &vpci_dev->dev_list[slot]);
142 err = publish_cb(pdev, 0, 0, PCI_DEVFN(slot, func), devid);
153 int slot;
159 for (slot = 0; slot < PCI_SLOT_MAX; slot++) {
162 list_for_each_entry(e, &vpci_dev->dev_list[slot], list) {
186 int slot;
195 for (slot = 0; slot < PCI_SLOT_MAX; slot++)
196 INIT_LIST_HEAD(&vpci_dev->dev_list[slot]);
212 int slot;
215 for (slot = 0; slot < PCI_SLOT_MAX; slot++) {
217 list_for_each_entry_safe(e, tmp, &vpci_dev->dev_list[slot],
239 int found = 0, slot;
242 for (slot = 0; slot < PCI_SLOT_MAX; slot++) {
244 &vpci_dev->dev_list[slot],
250 *devfn = PCI_DEVFN(slot,