pci_id_from_device(9)
β¨ NAME β¨
okay so bestie, welcome to pci_id_from_device(9) from the Kernel API Manual π
this one is short and iconic: pci_id_from_device β obtain a pci_device_id from a PCI device. periodt.
π» SYNOPSIS π»
here's the signature, character for character, no edits, no cap:
struct pci_device_id pci_id_from_device (const struct pci_dev *dev );
π ARGUMENTS π
devβ the PCI device. that's the one and only argument, bestie π«Ά
π¦ RETURN π¦
a pci_device_id filled. that's the return vibe, literally πΈ
π₯ SEE ALSO π₯
bestie, the Kernel file to peek at is ./drivers/pci/pci.h, and these are the cross-reference icons for your reading list π:
PCI_FIND_NEXT_CAP(9)PCI_FIND_NEXT_EXT_CAP(9)pci_bar_index_is_valid(9)pci_match_one_id(9)pci_resource_num(9)pci_dev_set_io_state(9)struct aer_err_info(9)
byeee bestie π this one's from ./drivers/pci, dated October 2026, and it's literally pci_id_from_device(9) β slay, go read the source ππ«Ά
π¦ 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