shpchp_is_native(9)
π shpchp_is_native(9) β a Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual, this little page is all about shpchp_is_native(9), and honestly it's a short one but it matters. stay with me π«Ά
β¨ NAME β¨
shpchp_is_native β check whether a hotplug port is handled by the OS π
Like, literally: is the OS the one running this port, or not? that's the whole vibe check.
πΈ SYNOPSIS πΈ
bool shpchp_is_native (struct pci_dev *bridge );
that's it. one function, one argument, returns a bool. iconic, no notes π₯
π ARGUMENTS π
bridgeβ the hotplug port you wanna check. yes, just the one. give it astruct pci_dev *and let it cook β¨
π¦ DESCRIPTION π¦
so here's the tea β β this function returns true if the given bridge is handled by the native SHPC hotplug driver.
that's the whole thing. true means native SHPC hotplug driver has it, periodt π
ngl it's giving "tiny function, big responsibility" and we love that for it π
π SEE ALSO π
the kernel file lives at ./drivers/pci/pci-acpi.c β and while you're in the neighborhood, go say hi to the whole friend group ππ«Ά
pciehp_is_native(9)pci_acpi_wake_bus(9)pci_acpi_wake_dev(9)pci_acpi_add_root_pm_notifier(9)pci_acpi_add_pm_notifier(9)pci_dev_acpi_reset(9)pci_acpi_set_companion_lookup_hook(9)pci_acpi_clear_companion_lookup_hook(9)pci_acpi_optimize_delay(9)pci_msi_register_fwnode_provider(9)pci_host_bridge_acpi_msi_domain(9)
bestie reminder: these are the actual related pages, not a vibe-based guess. go read them if you want the full lore π
β and that's the page!! this gem shipped from ./drivers/pci back in October 2026, and it's still serving main character energy in the Kernel API Manual. mwah πππ
π¦ 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