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;
251 device = (adr >> 16) & 0xffff;
267 * If this is a dock device, its _EJ0 should be executed by the dock
278 if (slot->device == device)
290 slot->device = device;
313 sun, pci_domain_nr(pbus), pbus->number, device);
331 if (pci_bus_read_dev_vendor_id(pbus, PCI_DEVFN(device, function),
432 return pci_scan_slot(slot->bus, PCI_DEVFN(slot->device, 0));
488 if (PCI_SLOT(dev->devfn) == slot->device)
499 if (PCI_SLOT(dev->devfn) != slot->device)
528 dev = pci_get_slot(bus, PCI_DEVFN(slot->device,
551 * enable_slot() enumerates all functions in this device via
557 if (PCI_SLOT(dev->devfn) == slot->device)
572 if (PCI_SLOT(dev->devfn) == slot->device && dev->ignore_hotplug)
606 PCI_DEVFN(slot->device, func->function),
617 * ACPI slot is a device below PCIe upstream port so in
621 PCI_DEVFN(slot->device, 0), &dvid, 0)) {
633 * if the device is valid but does not require a device driver to be
642 * @dev: PCI device to start walking the hierarchy from.
672 /* The device is a bridge. so check the bus below it. */
709 if (PCI_SLOT(dev->devfn) == slot->device)
739 * for this device, remove it */
802 /* device check */
817 /* request device eject */
845 * A "slot" is an object associated with a PCI device number. All functions
846 * (PCI devices) with the same bus and device number belong to the same slot.