pci_pcie_type(9)
β¨ pci_pcie_type β¨
okay bestie, so this is a Kernel API Manual page, and the function we're stanning today is pci_pcie_type β it's literally the vibe check for your PCIe hardware π
πΈ NAME πΈ
pci_pcie_type β get the PCIe device/port type
like, it tells you what kind of thing this PCIe thing is. iconic little guy fr fr π
π¦ SYNOPSIS π¦
int pci_pcie_type (const struct pci_dev *dev );
that's the whole signature, no cap β¨
π ARGUMENTS π
devβ the PCI device π«Ά (yes that's it, that's the whole argument, she's lowkey simple and we love that for her)
π SEE ALSO π
okay this is the part where the manpage goes absolutely feral with cross-references, so buckle up bestie, we're listing every single one because I would never do you dirty like that π
Kernel file ./include/linux/pci.h plus:
enum pci_interrupt_pin(9)pci_channel_state_t(9)pci_is_bridge(9)pci_is_vga(9)pci_is_display(9)struct pci_driver(9)PCI_DEVICE(9)PCI_DEVICE_DRIVER_OVERRIDE(9)PCI_DRIVER_OVERRIDE_DEVICE_VFIO(9)PCI_DEVICE_SUB(9)PCI_DEVICE_CLASS(9)PCI_VDEVICE(9)PCI_VDEVICE_SUB(9)PCI_DEVICE_DATA(9)pcie_capability_clear_and_set_word(9)pci_bus_for_each_resource(9)module_pci_driver(9)builtin_pci_driver(9)pci_irq_type(9)pci_irqd_intx_xlate(9)pci_resource_is_io(9)pci_resource_is_mem(9)pci_pcie_cap(9)pci_is_pcie(9)pcie_caps_reg(9)pcie_find_root_port(9)pci_vpd_alloc(9)pci_vpd_find_id_string(9)pci_vpd_find_ro_info_keyword(9)pci_vpd_check_csum(9)pci_ari_enabled(9)pci_is_thunderbolt_attached(9)
pretty sure that's the entire PCI subsystem in one list and honestly? slay ππ₯
heads up bestie: this page is itty bitty β it's literally just the name, the signature, one argument, and a giant pile of SEE ALSO. no DESCRIPTION, no OPTIONS, no exit statuses, nothing. so if you were waiting for the tea, the tea is that the SEE ALSO list is the tea π
and that's the page! little sign-off for you: this one comes from the kernel file path ./include/linux, dated October 2026, and the footer still says pci_pcie_type(9) on both ends because she's consistent like that ππ bye bestie, go read some pci_is_pcie(9) next π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms