ufshcd_pci_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 here
  • id β€” the PCI device id ⭐ the little name tag that says which device this is

πŸ‘‘ RETURN πŸ‘‘

  • 0 on 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