of_pci_supply_present(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ of_pci_supply_present(9) πŸŽ€

Okay bestie, this is the Kernel API Manual entry for of_pci_supply_present(9), and it is literally here to answer one very specific question: is the power supply for the PCI device present? Iconic behavior, honestly. πŸ’…

✨ NAME ✨

of_pci_supply_present β€” check if the power supply is present for the PCI device. Slay. 🌸

πŸ¦‹ SYNOPSIS πŸ¦‹

bool of_pci_supply_present (struct device_node *np );

πŸ’– ARGUMENTS πŸ’–

  • np β€” Device tree node. That's the whole vibe right there. 🫢

πŸ”₯ DESCRIPTION πŸ”₯

This is the part where we check if the power supply for the PCI device is present in the device tree node or not. It's giving presence check, no cap. πŸ‘‘

🌈 RETURN 🌈

true if at least one power supply exists; false otherwise. So: true when at least one is there, false when it isn't. Periodt. ✨

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/pci/of.c β€” yes, that's the spot. πŸŽ€


Signed from ./drivers/pci β€” October 2026 β€” of_pci_supply_present(9) πŸ’–

πŸ“¦ where this page comes from