of_pci_supply_present(9)
π 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. π
pci_set_of_node(9)of_pci_get_devfn(9)of_pci_parse_bus_range(9)of_get_pci_domain_nr(9)of_pci_preserve_config(9)of_pci_check_probe_only(9)devm_of_pci_get_host_bridge_resources(9)of_irq_parse_pci(9)of_irq_parse_and_map_pci(9)of_pci_get_max_link_speed(9)of_pci_get_slot_power_limit(9)of_pci_get_equalization_presets(9)
Signed from ./drivers/pci β October 2026 β of_pci_supply_present(9) π
π¦ 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