cdns3_plat_probe(9)
π cdns3_plat_probe(9) β the kernel API manual, but make it make sense π
okay so bestie, you opened the cdns3_plat_probe page from the Kernel API Manual and honestly? it's a tiny one, but it's iconic. this is the function that does the probe for the cdns3 core device β¨ β think of it as the "hey girl, are you there? you up?" moment for that platform device. no cap.
πΈ NAME πΈ
cdns3_plat_probe β probe for cdns3 core device
like, literally the probe. for the cdns3 core device. that's the whole vibe check π
π¦ SYNOPSIS π¦
int cdns3_plat_probe (struct platform_device *pdev );
it returns an int, bestie. that's the tea β and it takes one (1) argument. one. that's it. she's low maintenance π
π ARGUMENTS π
pdevβ Pointer to cdns3 core platform device π β yes she's astruct platform_device *pointer and yes she is the main character of this parameter list. there is exactly one parameter and she ate π
π DESCRIPTION π
okay so here's the whole entire description and I need you to stay with me because it's short but it's important:
Returns 0 on success otherwise negative errno π«Ά
that's it. that's the description. 0 means slay, we're good, everything worked β¨. anything negative? that's a negative errno, meaning something went sideways β not me finding out it failed π. so like, check your return value, fr fr. no guessing beyond that, because that's genuinely all the page says π
β SEE ALSO β
- Kernel file
./drivers/usb/cdns3/cdns3-plat.cβ the source file, go read her, she's right there π cdns3_plat_remove(9)β the removal counterpart, the breakup era of the same driver π
π§ sign-off, bestie π§
and that's the page! it lives under ./drivers/usb/cdns3, dated October 2026, and this whole vibe was cdns3_plat_probe(9). go forth and probe responsibly, queen πππ₯
π¦ 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