pci_set_of_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 0 on success with of_node set β€” iconic β€” or when no device is described in the DT. Either way, success, no cap πŸ’–
  • returns -ENODEV if the device is present, but disabled in the DT. Not the vibe 😭

πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ bye bestie β€” this pci_set_of_node(9) page comes from ./drivers/pci, dated October 2026. 🫢

πŸ“¦ where this page comes from