drivers/pci/hotplug/pciehp_pci.c

Source file repositories/reference/linux-study-clean/drivers/pci/hotplug/pciehp_pci.c

File Facts

System
Linux kernel
Corpus path
drivers/pci/hotplug/pciehp_pci.c
Extension
.c
Size
3906 bytes
Lines
142
Domain
Representative Device Path
Bucket
PCIe NVMe Storage Path
Inferred role
Representative Device Path: implementation source
Status
source implementation candidate

Why This File Exists

Part of the selected hardware vertical slice: PCI discovery, driver binding, NVMe queues, block requests, DMA, interrupts, and completion.

Dependency Surface

Detected Declarations

Annotated Snippet

if (presence) {
			pci_read_config_word(dev, PCI_COMMAND, &command);
			command &= ~(PCI_COMMAND_MASTER | PCI_COMMAND_SERR);
			command |= PCI_COMMAND_INTX_DISABLE;
			pci_write_config_word(dev, PCI_COMMAND, command);
		}
		pci_dev_put(dev);
	}

	pci_unlock_rescan_remove();
}

Annotation

Implementation Notes