ufshcd_pci_probe(9)
π NAME π
ufshcd_pci_probe β bestie, this is the probe routine of the driver β¨
(also hi, welcome to the ufshcd_pci_probe(9) page from the Kernel API Manual β you're in the right place π«Ά)
πΈ SYNOPSIS πΈ
int ufshcd_pci_probe (struct pci_dev *pdev , const struct pci_device_id
*id );
okay so it's literally just that one function, no cap π
π¦ ARGUMENTS π¦
pdevβ the pointer to the PCI device handle π like, this is the device we're talking about, she's the main character hereidβ the PCI device id β the little name tag that says which device this is
π RETURN π
0on success π slay, we did it- non-zero value on failure π not slay, something went wrong
fr fr, check it β if you get a non-zero back, that's the failure vibe check failing π
π SEE ALSO π
- the Kernel file
./drivers/ufs/host/ufshcd-pci.cπ (go read the source, iykyk) ufshcd_pci_remove(9)π the one that undoes all of this, the breakup arc
and that's the whole page, bestie π this lil gem lives in ./drivers/ufs/host, dated October 2026, so mark your calendar β mwah, bye π§β¨
π¦ 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