get_dvsec_vendor0(9)
okay bestie, welcome to get_dvsec_vendor0(9) β the manual page where we go find a related PCI device, function 0 edition. letβs get into it π
β¨
πΈ NAME πΈ
get_dvsec_vendor0 β find a related PCI device (function 0) π
β¨ SYNOPSIS β¨
int get_dvsec_vendor0 (struct pci_dev *dev , struct pci_dev **dev0 , int
*out_pos );
π¦ ARGUMENTS π¦
devβ the PCI device to match πdev0β the PCI device (function 0) that gets found πout_posβ the position of the PCI device (function 0) π
π DESCRIPTION π
okay so the whole vibe is the return value: it returns 0 on success, and negative on failure. thatβs literally it, no cap ππ
β οΈ NOTE β οΈ
if itβs successful, the reference ofdev0is increased. so after using it, the callers must callpci_dev_putto give up the reference. donβt leave that reference hanging, bestie π«Άπ₯
π SEE ALSO π
- Kernel file
./drivers/misc/ocxl/config.c get_function_0(9)read_template_version(9)read_afu_lpc_memory_info(9)
byeee π this oneβs from the source/version ./drivers/misc/ocxl, dated October 2026, and yes β get_dvsec_vendor0(9) said what it said. periodt πβ¨
π¦ 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