pci_dev_acpi_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” if true, return 0 if 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:

not me listing the entire contact list 😭 but fr fr, they're all relevant, go read them too 🧚


lowkey reminder bestie: probe being true means you're not resetting anything, you're just asking "does this device even support _RST?" and getting a 0 if 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