pci_set_of_node(9)
πΈ NAME πΈ
okay so welcome to the pci_set_of_node(9) page in the Kernel API Manual, bestie π
pci_set_of_node β find and set the device's DT device_node. Periodt. β¨
π¦ SYNOPSIS π¦
int pci_set_of_node (struct pci_dev *dev );
π ARGUMENTS π
devβ the PCI device structure to fill π«Ά
π DESCRIPTION π
okay so here's the return-value vibe check:
- returns
0on success withof_nodeset β iconic β or when no device is described in the DT. Either way, success, no cap π - returns
-ENODEVif the device is present, but disabled in the DT. Not the vibe π
π₯ SEE ALSO π₯
- Kernel file:
./drivers/pci/of.c 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_supply_present(9)of_pci_get_max_link_speed(9)of_pci_get_slot_power_limit(9)of_pci_get_equalization_presets(9)
mwah π bye bestie β this pci_set_of_node(9) page comes from ./drivers/pci, dated October 2026. π«Ά
π¦ 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