fixed_bar_cap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is fixed_bar_cap(9) from the Kernel API Manual, and it’s lowkey a tiny little lookup icon. πŸ’…βœ¨

🌸 NAME 🌸

fixed_bar_cap β€” return the offset of the fixed BAR cap if found.

✨ SYNOPSIS ✨

int fixed_bar_cap (struct pci_bus *bus , unsigned int devfn );

πŸŽ€ ARGUMENTS πŸŽ€

  • bus β€” the PCI bus. 🚌
  • devfn β€” the device in question. πŸ‘€

πŸ¦‹ DESCRIPTION πŸ¦‹

So like, look for the fixed BAR cap on bus and devfn, bestie. If it’s found, you get its offset back; if not, you get 0. That’s it β€” no cap means just 0, periodt. πŸ’–

πŸ”₯ SEE ALSO πŸ”₯


xoxo, your kernel bestie 🫢 β€” this page’s source/version is ./arch/x86/pci, dated October 2026. πŸ’œ

πŸ“¦ where this page comes from