Lines Matching refs:device
55 * @adev: ACPI device object to create the context for.
76 * @adev: ACPI device object to get the context for.
185 * @adev: ACPI device object corresponding to a PCI device.
220 * acpiphp_add_context - Add ACPIPHP context to an ACPI device object.
236 int device, function;
252 device = (adr >> 16) & 0xffff;
268 * If this is a dock device, its _EJ0 should be executed by the dock
279 if (slot->device == device)
291 slot->device = device;
314 sun, pci_domain_nr(pbus), pbus->number, device);
332 if (pci_bus_read_dev_vendor_id(pbus, PCI_DEVFN(device, function),
441 return pci_scan_slot(slot->bus, PCI_DEVFN(slot->device, 0));
497 if (PCI_SLOT(dev->devfn) == slot->device)
508 if (PCI_SLOT(dev->devfn) != slot->device)
537 dev = pci_get_slot(bus, PCI_DEVFN(slot->device,
560 * enable_slot() enumerates all functions in this device via
566 if (PCI_SLOT(dev->devfn) == slot->device)
581 if (PCI_SLOT(dev->devfn) == slot->device && dev->ignore_hotplug)
615 PCI_DEVFN(slot->device, func->function),
626 * ACPI slot is a device below PCIe upstream port so in
630 PCI_DEVFN(slot->device, 0), &dvid, 0)) {
642 * if the device is valid but does not require a device driver to be
651 * @dev: PCI device to start walking the hierarchy from.
681 /* The device is a bridge. so check the bus below it. */
718 if (PCI_SLOT(dev->devfn) == slot->device)
748 * for this device, remove it */
811 /* device check */
826 /* request device eject */
854 * A "slot" is an object associated with a PCI device number. All functions
855 * (PCI devices) with the same bus and device number belong to the same slot.