pci_dev_acpi_reset(9)
β¨ pci_dev_acpi_reset(9) β Kernel API Manual β¨
okay so bestie, welcome to the group chat π this is a page from the Kernel API Manual, and it's about one (1) very specific little function. she's short, she's sweet, she does exactly one thing, and honestly? iconic.
π NAME π
pci_dev_acpi_reset β do a function level reset using _RST method
like. that's it. that's the whole vibe. she performs a function level reset and she does it via the _RST method, no cap π
πΈ SYNOPSIS πΈ
int pci_dev_acpi_reset (struct pci_dev *dev , bool probe );
there she is. returns an int, takes a struct pci_dev * and a bool. periodt β¨
π¦ ARGUMENTS π¦
devβ the device to reset. this is the main character of the whole operation, the one getting the reset treatment πprobeβ iftrue, return0if the device supports_RST. so like, it's a vibe check first, actual reset later π
π SEE ALSO π
kernel file ./drivers/pci/pci-acpi.c β that's where she lives, go say hi π«Ά
and a whole friend group of related functions, all repping the same squad:
pciehp_is_native(9)shpchp_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_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)
not me listing the entire contact list π but fr fr, they're all relevant, go read them too π§
lowkey reminder bestie:probebeingtruemeans you're not resetting anything, you're just asking "does this device even support_RST?" and getting a0if yes. don't get it twisted π
πΈ that's the whole page! source: ./drivers/pci, dated October 2026 β mwah, kisses, go reset some devices responsibly πβ¨π
π¦ 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