pacpi_init_one(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

pacpi_init_one β€” register ACPI ATA PCI device with kernel services. Yep, that's the whole flex, bestie. This page comes straight from the Kernel API Manual πŸ¦‹βœ¨


✨ SYNOPSIS ✨

Okay so the signature is literally giving:

int pacpi_init_one (struct pci_dev *pdev , const struct pci_device_id
       *id );

πŸ’… ARGUMENTS πŸ’…

Two args, no cap:

  • pdev β€” PCI device to register 🫢
  • id β€” PCI device ID πŸŽ€

🌸 DESCRIPTION 🌸

Called from kernel PCI layer. That's the vibe πŸ”₯

LOCKING: Inherited from PCI layer (may sleep). So yeah, it may sleep β€” noted, bestie πŸ˜΄πŸ’–

⭐ RETURN ⭐

Zero on success, or -ERRNO value. Slay when it's zero, cry when it's negative 😭


πŸ¦‹ SEE ALSO πŸ¦‹

Go peek at these, iykyk:


okay that's the page, bestie πŸ«ΆπŸ’– β€” it lives at ./drivers/ata, it's stamped October 2026, and the page name is pacpi_init_one(9). Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from